From: Maria T. <Ti...@gh...> - 2011-11-09 10:35:15
|
Thank you for the quick reply and advice. I edited the block of code and it was still not supressing all the error codes (regardless of the constant used). In the end I edited php.ini, turning display errors to off, and all the problems I was experiencing seem to have disappeared. I have vufind installed locally so this temporary solution is fine for the moment. Thank you once again! Maria Von: Demian Katz [mailto:dem...@vi...] Gesendet: Dienstag, 8. November 2011 18:37 An: Maria Tito; vuf...@li... Betreff: RE: Problem during installing of VUFind Some of the libraries used by VuFind are a bit old and cause strict and deprecation warnings in PHP 5.3+. As far as I know, none of these problems should be fatal. To suppress the warnings, you can edit this block of code in index.php: if ($configArray['System']['debug']) { ini_set('display_errors', true); error_reporting(E_ALL); } (changing the E_ALL to something more restrictive) and/or you can change the default error display settings in php.ini to exclude strict and deprecation warnings. Please let me know if you need more detailed help, and I apologize for the inconvenience of this. We're currently working on VuFind 2.0 (due for a first release candidate next summer) which will be a bit more modern and should eliminate all of these problems! - Demian From: Maria Tito [mailto:Ti...@gh...]<mailto:[mailto:Ti...@gh...]> Sent: Tuesday, November 08, 2011 11:34 AM To: vuf...@li...<mailto:vuf...@li...> Subject: [VuFind-General] Problem during installing of VUFind Dear all, Apologies if this has been covered elsewhere, but I was wondering if anyone could assist with the following. I am running XAMPP 1.7.7 (Apache 2.2.21;MySQL 5.5.16;PHP 5.3.8;phpMyAdmin 3.4.5) on Windows 7 64bit. I have followed all the installation instructions on the VUFind website but I am encountering the following error. When I attempt to open VUFind (http://localhost/vufind), I encounter the following errors with debug set to true (with the usual vufind start-up screen below, including search bar etc.): Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\PEAR\XML\Unserializer.php on line 801 Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\PEAR\XML\Unserializer.php on line 804 Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\PEAR\XML\Unserializer.php on line 974 Strict Standards: Redefining already defined constructor for class XML_Parser in C:\xampp\php\PEAR\XML\Parser.php on line 227 Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\PEAR\XML\Parser.php on line 616 Strict Standards: Declaration of XML_Parser::raiseError() should be compatible with that of PEAR::raiseError() in C:\xampp\php\PEAR\XML\Parser.php on line 703 Strict Standards: Declaration of User_resource::staticGet() should be compatible with that of DB_DataObject::staticGet() in C:\vufind\web\services\MyResearch\lib\User_resource.php on line 58 Strict Standards: Declaration of User_list::staticGet() should be compatible with that of DB_DataObject::staticGet() in C:\vufind\web\services\MyResearch\lib\User_list.php on line 293 Strict Standards: Declaration of Resource_tags::staticGet() should be compatible with that of DB_DataObject::staticGet() in C:\vufind\web\services\MyResearch\lib\Resource_tags.php on line 58 Strict Standards: Declaration of Tags::staticGet() should be compatible with that of DB_DataObject::staticGet() in C:\vufind\web\services\MyResearch\lib\Tags.php on line 80 Strict Standards: Declaration of User::staticGet() should be compatible with that of DB_DataObject::staticGet() in C:\vufind\web\services\MyResearch\lib\User.php on line 46 Strict Standards: Non-static method PEAR::setErrorHandling() should not be called statically in C:\vufind\web\index.php on line 61 Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\PEAR\HTTP\Request.php on line 412 Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\PEAR\HTTP\Request.php on line 736 Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\PEAR\HTTP\Request.php on line 749 Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\PEAR\HTTP\Request.php on line 794 Oddly, I seem to get a much longer list of errors with debug set to false. If anyone can offer any advice, it would be greatly appreciated. Many Thanks, Maria |