From: Demian K. <dem...@vi...> - 2012-07-17 19:56:13
|
Ahh, yes, not having the Oracle client installed will definitely cause problems... though that should blow up 1.x as well as 2.0. - Demian From: Mosior, Benjamin [mailto:BEM...@sh...] Sent: Tuesday, July 17, 2012 2:40 PM To: Demian Katz Cc: vuf...@li... Subject: RE: Troubleshooting ILS (Voyager) Connectivity VF2a The full error (only encountered when navigating to vufind.host/vufind): Exception: Message: could not find driver Backtrace: #0 /usr/local/vufind/library/VF/Connection/Manager.php(52): VF_ILS_Connection->__construct() #1 /usr/local/vufind/application/themes/blueprint/templates/search/home.phtml(19): VF_Connection_Manager::connectToCatalog() #2 /usr/local/vufind/library/Zend/View.php(108): include('/usr/local/vufi...') #3 /usr/local/vufind/library/Zend/View/Abstract.php(880): Zend_View->_run('/usr/local/vufi...') #4 /usr/local/vufind/library/Zend/Controller/Action/Helper/ViewRenderer.php(897): Zend_View_Abstract->render('search/home.pht...') #5 /usr/local/vufind/library/Zend/Controller/Action/Helper/ViewRenderer.php(918): Zend_Controller_Action_Helper_ViewRenderer->renderScript('search/home.pht...', NULL) #6 /usr/local/vufind/library/Zend/Controller/Action/Helper/ViewRenderer.php(957): Zend_Controller_Action_Helper_ViewRenderer->render() #7 /usr/local/vufind/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch() #8 /usr/local/vufind/library/Zend/Controller/Action.php(523): Zend_Controller_Action_HelperBroker->notifyPostDispatch() #9 /usr/local/vufind/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('homeAction') #10 /usr/local/vufind/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #11 /usr/local/vufind/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #12 /usr/local/vufind/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #13 /usr/local/vufind/public/index.php(42): Zend_Application->run() #14 {main} The above exception fleshes out to be "exception 'PDOException' with message 'could not find driver'", which I unfortunately think means I didn't set up the Oracle Instant Client on the VuFind server (oops). At least now we know what that looks like. Thanks for the troubleshooting assistance. Benjamin Mosior From: Demian Katz [mailto:dem...@vi...] Sent: Tuesday, July 17, 2012 2:13 PM To: Mosior, Benjamin Cc: vuf...@li... Subject: RE: Troubleshooting ILS (Voyager) Connectivity VF2a What is the exact error message you are seeing? It should include the class name that is failing to load. It sounds like your configuration is correct. Take a look at the code in library/VF/ILS/Connection.php - this is where the driver gets loaded. Essentially, it should just prepend "VF_ILS_Driver_" to the driver setting in config.ini and try to load a class of that name. Given that the rest of VuFind is functioning, your autoloader seems to be working, and I can't think of a reason why the Voyager driver would fail to load when everything else works... but maybe putting some debug statements in there will narrow down the issue. - Demian From: Mosior, Benjamin [mailto:BEM...@sh...]<mailto:[mailto:BEM...@sh...]> Sent: Tuesday, July 17, 2012 2:10 PM To: Demian Katz Cc: vuf...@li...<mailto:vuf...@li...> Subject: RE: Troubleshooting ILS (Voyager) Connectivity VF2a Thanks for the pointer. It looks like we're getting a "could not find driver" error, which makes a lot of sense given the symptoms. Is there an extra step I'm missing to point the instance at the Voyager driver? In my $VUFIND_HOME/institution_name/application/configs/config.ini, I have "driver = Voyager" and a Voyager.ini in the same directory. Setting the driver to Demo or Sample works as expected. I'm a bit stumped. Benjamin Mosior From: Demian Katz [mailto:dem...@vi...]<mailto:[mailto:dem...@vi...]> Sent: Tuesday, July 17, 2012 12:23 PM To: Mosior, Benjamin Cc: vuf...@li...<mailto:vuf...@li...> Subject: RE: Troubleshooting ILS (Voyager) Connectivity VF2a Try editing httpd-vufind.conf and setting the VUFIND_ENV variable to "development" (you'll need to restart Apache for this to take effect). That should give you a full backtrace on the "error has occurred" page, and that might offer a clue about exactly what is failing. - Demian From: Mosior, Benjamin [mailto:BEM...@sh...]<mailto:[mailto:BEM...@sh...]> Sent: Tuesday, July 17, 2012 12:10 PM To: Demian Katz Cc: vuf...@li...<mailto:vuf...@li...> Subject: RE: Troubleshooting ILS (Voyager) Connectivity VF2a Record and search pages display "An error has occurred." With Debug turned on, I only see information about the records retrieved in the Solr index and the search options. There doesn't appear to be anything debug-wise about the ILS connection. I did a tcpdump on the Oracle server and found that no connection is being extablished except for when I telnet to the port as a test from the vufind server. Wouldn't there be an error message somewhere if the connection just failed outright? I'm not sure where to look next outside of debugging the Voyager driver itself. My configs line up pretty much with what I have in the working v1 installation. This is our multi-institutional development environment, so the configuration files are located in $VUFIND_HOME/institution_name/application/configs/[config.ini / Voyager.ini]. Benjamin Mosior From: Demian Katz [mailto:dem...@vi...]<mailto:[mailto:dem...@vi...]> Sent: Tuesday, July 17, 2012 11:11 AM To: Mosior, Benjamin; vuf...@li...<mailto:vuf...@li...> Subject: RE: Troubleshooting ILS (Voyager) Connectivity VF2a Are you seeing problems on record pages as well, or only in the AJAX responses? Does turning debug on in config.ini provide any additional information? - Demian From: Mosior, Benjamin [mailto:BEM...@sh...]<mailto:[mailto:BEM...@sh...]> Sent: Tuesday, July 17, 2012 10:11 AM To: vuf...@li...<mailto:vuf...@li...> Subject: [VuFind-Tech] Troubleshooting ILS (Voyager) Connectivity VF2a Hello all, I'm working with the latest VuFind 2.0a code, and I am encountering difficulty with setting up connectivity to Voyager. Troubleshooting via the Firebug method (http://vufind.org/wiki/ils_driver_troubleshooting) only reveals the following: Data: "An error has occurred" Status: "ERROR" Do you know of a better method to troubleshoot these connectivity issues? I'm using the same Voyager.ini settings as with our 1.1 installation, which works fine. Thanks, Benjamin Mosior |