From: Harris, G. <gar...@se...> - 2011-10-11 17:57:00
|
Ok, I installed the HTTP Request library and we seemed to have moved to a new area of errors. Instead of a blank page, I now get this: An error has occurred DB Error: extension not found [DB Error: extension not found] Please contact the Library Reference Department for assistance su...@my... Debug Information Code: -25 Backtrace: [966] D:\php\PEAR\DB.php [564] D:\php\PEAR\PEAR.php [1908] D:\php\PEAR\DB\common.php [199] D:\php\PEAR\DB\mysql.php [556] D:\php\PEAR\DB.php [2432] D:\php\PEAR\DB\DataObject.php [4137] D:\php\PEAR\DB\DataObject.php [106] D:\vufind\web\sys\ConnectionManager.php [136] D:\vufind\web\index.php Thanks, Gary -----Original Message----- From: Demian Katz [mailto:dem...@vi...] Sent: Tuesday, October 11, 2011 1:44 PM To: Harris, Gary; vuf...@li... Subject: RE: [VuFind-General] FW: Blank White Page I suspect you're going to find that the problem has to do with including the PEAR HTTP/Request library, since that line has an error suppression operator (@) in front of it, which would explain why you haven't been seeing any error messages. (The reason for the error suppression is that the library uses some deprecated features and throws PHP notices whenever you include it -- future version of VuFind are going to move to a different library). If you remove that @, do you now see an error message? If so, I'd guess that some of the PEAR libraries haven't installed correctly after all. - Demian > -----Original Message----- > From: Harris, Gary [mailto:gar...@se...] > Sent: Tuesday, October 11, 2011 1:40 PM > To: Demian Katz; vuf...@li... > Subject: RE: [VuFind-General] FW: Blank White Page > > The following line is failing in SearchObject/Solr.php: > > require_once 'sys/Proxy_Request.php'; > > I'll keep tracing through Proxy_Request.php. > > I think we are using the latest version of VuFind (1.2 maybe?). We just > downloaded it last week. > We are not using XAMPP. We are using separately installed components on > a Windows Server 2008 > VM environment. > > Thanks, > > Gary > > -----Original Message----- > From: Demian Katz [mailto:dem...@vi...] > Sent: Tuesday, October 11, 2011 1:29 PM > To: Harris, Gary; vuf...@li... > Subject: RE: [VuFind-General] FW: Blank White Page > > Hmm... I guess it's time to add some echo statements to the Solr > SearchObject. Sorry that this is proving to be such an ordeal! > Hopefully the problem will turn out to be something simple once we > pinpoint it. > > What versions of VuFind and Windows are involved here? Are you using a > platform like XAMPP or separately-installed PHP/Apache/MySQL > components? I don't think my advice will change based on platform, but > once we figure out what's going wrong, it may be useful to know the > platform details for future reference. > > thanks, > Demian > > > -----Original Message----- > > From: Harris, Gary [mailto:gar...@se...] > > Sent: Tuesday, October 11, 2011 1:25 PM > > To: Demian Katz; vuf...@li... > > Subject: RE: [VuFind-General] FW: Blank White Page > > > > Changed localhost to 127.0.0.1. Still no change. > > > > Gary > > > > -----Original Message----- > > From: Demian Katz [mailto:dem...@vi...] > > Sent: Tuesday, October 11, 2011 1:18 PM > > To: Harris, Gary; vuf...@li... > > Subject: RE: [VuFind-General] FW: Blank White Page > > > > Definitely sounds like Solr is properly up and running. > > > > Hmm... based on where things failed, the next place to start > debugging > > with echo statements would be the constructor of > > web/sys/SearchObject/Solr.php. > > > > Another thought: some versions of Windows have trouble referencing > > localhost properly. Does it help if you change your configuration > > files to use 127.0.0.1 instead? > > > > Regarding the mailing list, I recommend using "reply all" when > > responding -- that way your response gets shared with the whole list, > > and the original sender also gets a direct copy (which isn't strictly > > necessary, but may help grab their attention more than sending to the > > list alone). > > > > - Demian > > > > > -----Original Message----- > > > From: Harris, Gary [mailto:gar...@se...] > > > Sent: Tuesday, October 11, 2011 1:09 PM > > > To: Demian Katz; vuf...@li... > > > Subject: RE: [VuFind-General] FW: Blank White Page > > > > > > Solr must be running. When I go to the URL that you sent, I get a > > > "Welcome to Solr!" page. > > > > > > I commented out the block of code in Solr.php, but the results are > > the > > > same. > > > > > > Thanks, > > > > > > Gary > > > > > > P.S. When I reply to messages for this mailing list, do I just > reply > > to > > > the sender, vuf...@li..., or both? > > > > > > -----Original Message----- > > > From: Demian Katz [mailto:dem...@vi...] > > > Sent: Tuesday, October 11, 2011 1:03 PM > > > To: Harris, Gary; vuf...@li... > > > Subject: RE: [VuFind-General] FW: Blank White Page > > > > > > If you're using the default settings, you should be able to check > if > > > Solr is running by going to http://localhost:8080/solr . > > > > > > I suspect that your failure has to do with a bit of code that > checks > > to > > > see if Solr is working correctly. I've heard at least one previous > > > report of this test causing errors. Try commenting out this block > of > > > code: > > > > > > // Test to see solr is online > > > $test_url = $this->host . "/admin/ping"; > > > $test_client = new Proxy_Request(); > > > $test_client->setMethod(HTTP_REQUEST_METHOD_GET); > > > $test_client->setURL($test_url); > > > $result = $test_client->sendRequest(); > > > if (!PEAR::isError($result)) { > > > // Even if we get a response, make sure it's a 'good' > > one. > > > if ($test_client->getResponseCode() != 200) { > > > PEAR::raiseError('Solr index is offline.'); > > > } > > > } else { > > > PEAR::raiseError($result); > > > } > > > > > > (You'll find it in web/sys/Solr.php). > > > > > > Does that help? If things work without that extra check, you can > > > safely leave it commented out -- it's not strictly necessary. > > > > > > - Demian > > > > > > > -----Original Message----- > > > > From: Harris, Gary [mailto:gar...@se...] > > > > Sent: Tuesday, October 11, 2011 12:59 PM > > > > To: Demian Katz; vuf...@li... > > > > Subject: RE: [VuFind-General] FW: Blank White Page > > > > > > > > Thanks for the clues Demian! > > > > > > > > I have looked in the Apache log many, many times, but nothing of > > note > > > > shows there. > > > > > > > > On your advice, I put "Made it here" statements in Interface.php, > > and > > > > it appears to be > > > > Failing on this line of code: > > > > > > > > $searchObject = SearchObjectFactory::initSearchObject(); > > > > > > > > I'm not sure if the Solr index is running. I did do a "vufind > > start" > > > > from the vufind > > > > home directory and the server appears to be running normally. I > > > didn't > > > > see any errors > > > > or anything. > > > > > > > > Gary > > > > > > > > > > > > -----Original Message----- > > > > From: Demian Katz [mailto:dem...@vi...] > > > > Sent: Tuesday, October 11, 2011 12:48 PM > > > > To: Harris, Gary; vuf...@li... > > > > Subject: RE: [VuFind-General] FW: Blank White Page > > > > > > > > No, it is normal to keep VuFind outside of the htdocs directory. > > The > > > > fact that you were able to see the output of your echo statements > > in > > > > index.php suggests that this part is set up correctly. > > > > > > > > Have you tried looking in your Apache error log? Sometimes clues > > > show > > > > up there. > > > > > > > > Have you tried putting echo statements in web/sys/Interface.php? > > > This > > > > contains the UInterface class that seems to be causing your > > problems. > > > > > > > > Is your Solr index running when you test? (That is, did you run > > > > "vufind.bat start" in the VuFind home directory?) > > > > > > > > - Demian > > > > > > > > > -----Original Message----- > > > > > From: Harris, Gary [mailto:gar...@se...] > > > > > Sent: Tuesday, October 11, 2011 12:35 PM > > > > > To: vuf...@li... > > > > > Subject: [VuFind-General] FW: Blank White Page > > > > > > > > > > My VuFind directory is not under the Apache htdocs directory. I > > > have > > > > an > > > > > Apache alias that forwards /vufind to C:/vufind/web. Could this > > be > > > > the > > > > > problem with my getting a blank page? > > > > > > > > > > Gary > > > > > > > > > > -----Original Message----- > > > > > From: Osullivan L. [mailto:L.O...@sw...] > > > > > Sent: Monday, October 10, 2011 5:03 PM > > > > > To: Harris, Gary; vuf...@li... > > > > > Subject: Re: [VuFind-General] Blank White Page > > > > > > > > > > Hi Gary, > > > > > > > > > > Have you checked your permissions for interface/cache and > > > > > interface/compile - they need to be writable by the apache > user. > > > > > > > > > > Cheers, > > > > > > > > > > Luke > > > > > > > > > > Sent from my Sony Ericsson Xperia arc > > > > > > > > > > "Harris, Gary" <gar...@se...> wrote: > > > > > > > > > > I have followed (and triple checked) the VuFind installation > > > > > instructions for Windows. Whenever I go to > > http://myaddress/vufind > > > I > > > > > get a blank white page. I opened the index.php file in the > "web" > > > > > directory and placed an "echo 'Made it here'" statement in > > various > > > > > places. The code seems to stop on the following line in the > > > > > web/index.php file: > > > > > > > > > > $interface = new UInterface(); > > > > > > > > > > If I put the echo before this line, I see the echo statement. > If > > I > > > > put > > > > > it after, I do not see the echo statement. I have debug turned > > on, > > > > but > > > > > I see no error messages, just a blank white page. As a note, we > > > have > > > > > not yet imported any records into the VuFind database, nor have > > we > > > > done > > > > > anything other than followed the base installation > instructions. > > I > > > > > thought that we would see an interface or message of some sort > > once > > > > the > > > > > product was installed, but that may not be the case. It could > be > > > that > > > > > we have to import data before we see anything. We're just not > > sure > > > > > where to go from here. > > > > > > > > > > Any assistance that anyone could provide would be awesome. > > > > > > > > > > Thanks in advance, > > > > > > > > > > Gary > > > > > --------------------------------------------------------------- > -- > > -- > > > -- > > > > -- > > > > > ------- > > > > > All the data continuously generated in your IT infrastructure > > > > contains > > > > > a > > > > > definitive record of customers, application performance, > security > > > > > threats, fraudulent activity and more. Splunk takes this data > and > > > > makes > > > > > sense of it. Business sense. IT sense. Common sense. > > > > > http://p.sf.net/sfu/splunk-d2d-oct > > > > > _______________________________________________ > > > > > VuFind-General mailing list > > > > > VuF...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/vufind-general |