From: Tim F. <T.F...@bb...> - 2014-12-19 15:49:50
|
In that case this probably has the vital clues: Zend\Http\Client\Adapter\Exception\InitializationException cURL extension has to be loaded to use this Zend\Http\Client adapter #0 /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/EDS/Zend 2.php(117): Zend\Http\Client\Adapter\Curl->__construct() #1 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Factory/EdsBackendFac tory.php(143): VuFindSearch\Backend\EDS\Zend2->__construct('EDS', 'EDS', Array, Object(Zend\Http\Client)) #2 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Factory/EdsBackendFac tory.php(104): VuFind\Search\Factory\EdsBackendFactory->createConnector() #3 [internal function]: VuFind\Search\Factory\EdsBackendFactory->createService(Object(Zend\Servi ceManager\ServiceManager), 'eds', 'EDS') #4 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(905): call_user_func(Array, Object(Zend\ServiceManager\ServiceManager), 'eds', 'EDS') #5 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(1035): Zend\ServiceManager\ServiceManager->createServiceViaCallback(Array, 'eds', 'EDS') #6 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(609): Zend\ServiceManager\ServiceManager->createFromFactory('eds', 'EDS') #7 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(569): Zend\ServiceManager\ServiceManager->doCreate('EDS', 'eds') #8 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(503): Zend\ServiceManager\ServiceManager->create(Array) #9 /usr/local/vufind2/module/VuFind/src/VuFind/Search/BackendManager.php(10 4): Zend\ServiceManager\ServiceManager->get('EDS', false) #10 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Options/Factory.php(5 6): VuFind\Search\BackendManager->get('EDS') #11 [internal function]: VuFind\Search\Options\Factory::getEDS(Object(VuFind\Search\Options\Plugi nManager), 'eds', 'EDS') #12 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(905): call_user_func('VuFind\Search\O...', Object(VuFind\Search\Options\PluginManager), 'eds', 'EDS') #13 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/AbstractPluginManager.php(245): Zend\ServiceManager\ServiceManager->createServiceViaCallback('VuFind\Sea rch\O...', 'eds', 'EDS') #14 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/AbstractPluginManager.php(207): Zend\ServiceManager\AbstractPluginManager->createServiceViaCallback('VuF ind\Search\O...', 'eds', 'EDS') #15 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(609): Zend\ServiceManager\AbstractPluginManager->createFromFactory('eds', 'EDS') #16 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(569): Zend\ServiceManager\ServiceManager->doCreate('EDS', 'eds') #17 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(503): Zend\ServiceManager\ServiceManager->create(Array) #18 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/AbstractPluginManager.php(103): Zend\ServiceManager\ServiceManager->get('EDS', true) #19 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Params/PluginFactory. php(64): Zend\ServiceManager\AbstractPluginManager->get('EDS') #20 [internal function]: VuFind\Search\Params\PluginFactory->createServiceWithName(Object(VuFind\ Search\Params\PluginManager), 'eds', 'EDS') #21 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(905): call_user_func(Array, Object(VuFind\Search\Params\PluginManager), 'eds', 'EDS') #22 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/AbstractPluginManager.php(245): Zend\ServiceManager\ServiceManager->createServiceViaCallback(Array, 'eds', 'EDS') #23 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(1076): Zend\ServiceManager\AbstractPluginManager->createServiceViaCallback(Arra y, 'eds', 'EDS') #24 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(617): Zend\ServiceManager\ServiceManager->createFromAbstractFactory('eds', 'EDS') #25 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(569): Zend\ServiceManager\ServiceManager->doCreate('EDS', 'eds') #26 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(503): Zend\ServiceManager\ServiceManager->create(Array) #27 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/AbstractPluginManager.php(103): Zend\ServiceManager\ServiceManager->get('EDS', true) #28 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Results/PluginFactory .php(64): Zend\ServiceManager\AbstractPluginManager->get('EDS') #29 [internal function]: VuFind\Search\Results\PluginFactory->createServiceWithName(Object(VuFind \Search\Results\PluginManager), 'eds', 'EDS') #30 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(905): call_user_func(Array, Object(VuFind\Search\Results\PluginManager), 'eds', 'EDS') #31 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/AbstractPluginManager.php(245): Zend\ServiceManager\ServiceManager->createServiceViaCallback(Array, 'eds', 'EDS') #32 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(1076): Zend\ServiceManager\AbstractPluginManager->createServiceViaCallback(Arra y, 'eds', 'EDS') #33 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(617): Zend\ServiceManager\ServiceManager->createFromAbstractFactory('eds', 'EDS') #34 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(569): Zend\ServiceManager\ServiceManager->doCreate('EDS', 'eds') #35 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(503): Zend\ServiceManager\ServiceManager->create(Array) #36 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/AbstractPluginManager.php(103): Zend\ServiceManager\ServiceManager->get('EDS', true) #37 /usr/local/vufind2/module/VuFind/src/VuFind/Controller/EdsController.php (294): Zend\ServiceManager\AbstractPluginManager->get('EDS') #38 /usr/local/vufind2/module/VuFind/src/VuFind/Controller/EdsController.php (91): VuFind\Controller\EdsController->setUp() #39 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/C ontroller/AbstractActionController.php(83): VuFind\Controller\EdsController->homeAction() #40 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc \MvcEvent)) #41 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Event Manager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #42 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Event Manager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #43 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/C ontroller/AbstractController.php(117): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #44 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/D ispatchListener.php(114): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnv ironment\Request), Object(Zend\Http\PhpEnvironment\Response)) #45 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent)) #46 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Event Manager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #47 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Event Manager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #48 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/A pplication.php(309): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #49 /usr/local/vufind2/public/index.php(59): Zend\Mvc\Application->run() #50 {main} Tim -----Original Message----- From: Demian Katz [mailto:dem...@vi...] Sent: 19 December 2014 15:39 To: Tim Fletcher; vuf...@li... Subject: RE: Enabling EDS in VuFind When you see multiple exception messages like this, the most useful information is actually usually in the bottom section (that's the first error that set off a chain reaction of other problems). Chances are it's something relatively simple like a problem with cache write permissions. - Demian ________________________________________ From: Tim Fletcher [T.F...@bb...] Sent: Friday, December 19, 2014 10:37 AM To: Demian Katz; vuf...@li... Subject: RE: Enabling EDS in VuFind Hi Demian, Thanks - quite a lot of information now appears. This is just the first section: Exception: Message: An abstract factory could not create an instance of eds(alias: EDS). Backtrace: #0 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(617): Zend\ServiceManager\ServiceManager->createFromAbstractFactory('eds', 'EDS') #1 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(569): Zend\ServiceManager\ServiceManager->doCreate('EDS', 'eds') #2 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/ServiceManager.php(503): Zend\ServiceManager\ServiceManager->create(Array) #3 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Servi ceManager/AbstractPluginManager.php(103): Zend\ServiceManager\ServiceManager->get('EDS', true) #4 /usr/local/vufind2/module/VuFind/src/VuFind/Controller/EdsController.php (294): Zend\ServiceManager\AbstractPluginManager->get('EDS') #5 /usr/local/vufind2/module/VuFind/src/VuFind/Controller/EdsController.php (91): VuFind\Controller\EdsController->setUp() #6 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/C ontroller/AbstractActionController.php(83): VuFind\Controller\EdsController->homeAction() #7 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc \MvcEvent)) #8 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Event Manager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #9 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Event Manager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #10 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/C ontroller/AbstractController.php(117): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #11 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/D ispatchListener.php(114): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnv ironment\Request), Object(Zend\Http\PhpEnvironment\Response)) #12 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent)) #13 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Event Manager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #14 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Event Manager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #15 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/A pplication.php(309): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #16 /usr/local/vufind2/public/index.php(59): Zend\Mvc\Application->run() #17 {main} Thanks, Tim -----Original Message----- From: Demian Katz [mailto:dem...@vi...] Sent: 19 December 2014 12:38 To: Tim Fletcher; vuf...@li... Subject: RE: Enabling EDS in VuFind Exactly what error are you seeing? Have you tried activating development mode by uncommenting the relevant line in httpd-vufind.conf and restarting Apache? That might give you some more details. If you can share the full backtrace here, we can help you interpret it if it's not obvious. - Demian ________________________________________ From: Tim Fletcher [T.F...@bb...] Sent: Friday, December 19, 2014 6:48 AM To: vuf...@li... Subject: [VuFind-General] Enabling EDS in VuFind Hi, As part of our configuration and testing of VuFind 2.3 I have been asked to look at setting up a test of EBSCO's EDS. I have entered our details as provided by EBSCO into EDS.ini but can't see how I can actually activate it. If I try to go to ../vufind/EDS Home I get a standard error message and no debug information. Doing the same with Summon (which is unconfigured) gives me some relevant debug info correctly hinting that I need an API key. Am I missing something on the VuFind end of things or could it be that the API details are incorrect? Any hints or advice from anyone who has got VuFind and EDS to play together would be appreciated. Thanks, Tim --------------- Tim Fletcher Library Technology Innovation Manager Birkbeck, University of London Malet Street London WC1E 7HX t.f...@bb... Tel: 020 7380 3269 Fax: 020 7631 6066 http://www.bbk.ac.uk/lib/ ------------------------------------------------------------------------ ------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.cl ktrk _______________________________________________ VuFind-General mailing list VuF...@li... https://lists.sourceforge.net/lists/listinfo/vufind-general |