From: Jeffrey B. <jef...@ya...> - 2008-02-07 21:48:43
|
48 try { 49 $catalog = new CatalogConnection($configArray['Catalog']['dr iver']); 50 } catch (PDOException $e) { 51 // What should we do with this error? 52 if ($configArray['System']['debug']) { 53 echo '<pre>'; 54 echo 'DEBUG: ' . $e->getMessage(); 55 echo '</pre>'; 56 } 57 } 58 59 // Get the Holdings Data 60 $result = $catalog->getHolding($this->id); 61 if (PEAR::isError($result)) { 62 PEAR::raiseError($result); 63 } I'm guessing that the problem starts at line 48 and $catalog->getHolding is null. James Farrugia wrote: > What's line 60 (and surrounding context) in Holdings.php? > >>>> On 2/7/2008 at 3:52 PM, Jeffrey Barnett <jef...@ya...> wrote: >> Andrew nailed this one. (I guess it is obvious how little prior >> experience I have with PHP ;") ). Now things find, browse, and display >> just great! (did I mention the new loader is working well too :-) ). >> >> As we enter the home stretch the next puzzle is this: When I click on >> an item to display holdings, I get another blank page and the following >> Apache error_log entry: >> >> [Thu Feb 07 15:32:19 2008] [error] [client 130.132.80.102] PHP Fatal >> error: Call to a member function getHolding() on a non-object in >> /usr/local/vufind/web/services/Record/Holdings.php on line 60, referer: >> http://degama.library.yale.edu/yufind/Search/Home?lookfor=&type=all&submit=Fin >> d&search=new&filter[]=topicStr:%22World%20War,%201939-1945%22 >> >> The url is http://degama.library.yale.edu/yufind/Record/4920837 >> >> I suspect a problem with the with the Voyager driver. I modified >> conf/Voyager.ini, but made no other environmental changes regarding >> Voyager. What are the underlying driver dependencies that may be missing? >> >> Andrew Nagy wrote: >>> Jeffrey - VuFind uses the PHP Include Path that is defined in your php.ini >> file to locate the pear packages. Please check to make sure that the include >> path is set correctly within your php.ini. This path should have all of your >> PEAR packages plus the Smarty library that gets installed from the install >> script. >>> Andrew >>> >>>> -----Original Message----- >>>> From: vuf...@li... [mailto:vufind- >>>> gen...@li...] On Behalf Of Jeffrey Barnett >>>> Sent: Wednesday, February 06, 2008 5:28 PM >>>> To: vuf...@li... >>>> Subject: [VuFind-General] [Fwd: Fatal Error: Class 'Pager' not found.] >>>> >>>> I'm reopening this thread in vufind-general because it deals at a >>>> different level of detail than intended for vufind-tech. Since the >>>> original post I have also found that this referes to the Pear Pager >>>> class, and that the package *is* installed, so the new question >>>> becomes: >>>> Why can't Home.php find it? >>>> >>>> -------- Original Message -------- >>>> Subject: Fatal Error: Class 'Pager' not found. >>>> Date: Wed, 06 Feb 2008 15:54:05 -0500 >>>> From: Jeffrey Barnett <jef...@ya...> >>>> Organization: Yale University Library >>>> To: vuf...@li... >>>> >>>> [Wed Feb 06 15:47:56 2008] [error] [client 130.132.80.102] PHP Fatal >>>> error: Class 'Pager' not found in >>>> /usr/local/vufind/web/services/Search/Home.php on line 274, referer: >>>> http://degama.library.yale.edu/yufind/Browse/LCC >>>> >>>> >>>> This occurs (in /usr/local/Apache2/error_log) when I attempt to display >>>> one of my newly findable records. The result in the browser is a blank >>>> page for url >>>> >>>> http://degama./yufind/Search/Home?lookfor=&type=all&submit=Find&search= >>>> new >>>> >>>> |