From: C.J. O'H. <cj...@ma...> - 2010-02-04 23:02:21
|
When I did a var_dump I got no results array(0) {} I believe was the output. I did a print_r to verify and received Array ( ) which seemed to reinforce the idea that I wasn't getting anything out of the getStatus array. So I went into the Innovative Driver and added a dump of the getStatus function $id = ".b12186442"; $catalog = new Innovative(); $ret = $catalog->getStatus($id); var_dump($ret); and it returned the following. array(1) { [0]=> array(9) { [""]=> string(0) "" ["id"]=> NULL ["location"]=> string(18) "MSC Main 2nd Floor" ["reserve"]=> string(2) "No" ["LOCATION"]=> string(94) "MSC Main 2nd Floor <http://www.mesastate.edu/msclibrary/documents/FloorPlans2.pdf>" ["callnumber"]=> string(10) "HV1598.H36" ["CALL #"]=> string(78) "HV1598.H36 </search%7ES93?/cHV1598.H36/chv+1598+h36/-3,-1,,E/browse>" ["availability"]=> int(0) ["STATUS"]=> string(8) "ON SHELF" } } So I am unsure what is going on. I know I'm overlooking something I hope you guys see what's I've overlooked and give me some information. C.J. On 2/4/2010 13:01, Demian Katz wrote: > > The most likely cause of the notice you're seeing is an empty result > coming back from the getStatus() method of the Innovative driver. I > would recommend looking at that code more closely -- I think that's > your most likely point of failure. You might start by dumping out the > return value from that function by adding a "var_dump($result)" around > line 51 of web/services/Record/Holdings.php. If that doesn't tell you > much, dig into getStatus itself and see if you can figure out what's > going on. If you come up with more clues but no conclusion, feel free > to share them here. > > - Demian > > *From:* C.J. O'Hara [mailto:cj...@ma...] > *Sent:* Thursday, February 04, 2010 2:56 PM > *To:* vuf...@li... > *Subject:* [VuFind-Tech] Blank Holdings > > Hello all, > > I have recently installed a test instance of vufind. I have never > had a piece of open source software just WORK so easily. The problem > that I am getting is that I am not seeing any information in holdings. > I self verified the driver (Innovative) and it appears to be working > as expected. However the Holdings display is empty and I am receiving > the following error with debug mode turned on > > *"Notice*: Undefined variable: holdings in > */usr/local/vufind/web/services/Record/Holdings.php* on line *61'* > > any help that you could give me on this would be very much appreciated. > > C.J. O'Hara > > Web Developer > > Marmot Library Network. > |