torontomulibrary / rula-finder

Find your books... Fast!
http://apps.library.ryerson.ca/bookfinder/
GNU Affero General Public License v3.0
17 stars 2 forks source link

HTTP_REQUEST not found #3

Open sephyrix opened 10 years ago

sephyrix commented 10 years ago

We're encountering these error messages, please help.

PHP Fatal error: Class 'HTTP_Request' not found in C:\wamp\www\rula-finder-master\application\helpers\summon.class_helper.php on line 85, referer: http://localhost/rula-finder-master/search/ [Fri Mar 07 14:24:01.014644 2014] [:error] [pid 6272:tid 1512] [client ::1:53652] PHP Stack trace:, referer: http://localhost/rula-finder-master/search/ [Fri Mar 07 14:24:01.014644 2014] [:error] [pid 6272:tid 1512] [client ::1:53652] PHP 1. {main}() C:\wamp\www\rula-finder-master\index.php:0, referer: http://localhost/rula-finder-master/search/ [Fri Mar 07 14:24:01.014644 2014] [:error] [pid 6272:tid 1512] [client ::1:53652] PHP 2. require_once() C:\wamp\www\rula-finder-master\index.php:201, referer: http://localhost/rula-finder-master/search/ [Fri Mar 07 14:24:01.014644 2014] [:error] [pid 6272:tid 1512] [client ::1:53652] PHP 3. call_user_func_array() C:\wamp\www\rula-finder-master\system\core\CodeIgniter.php:339, referer: http://localhost/rula-finder-master/search/ [Fri Mar 07 14:24:01.015644 2014] [:error] [pid 6272:tid 1512] [client ::1:53652] PHP 4. Search->proxy() C:\wamp\www\rula-finder-master\system\core\CodeIgniter.php:339, referer: http://localhost/rula-finder-master/search/ [Fri Mar 07 14:24:01.015644 2014] [:error] [pid 6272:tid 1512] [client ::1:53652] PHP 5. Summon->__construct() C:\wamp\www\rula-finder-master\application\controllers\search.php:83, referer: http://localhost/rula-finder-master/search/

steven1350 commented 10 years ago

I suspect there is a PHP library which is not installed.

Some quick googling of the error message suggests that you need the PEAR package "http_request" to be installed (this also requires you to have PHP PEAR installed). Currently, we have version 1.4.4 installed, so I would recommend trying that version to ensure compatibility.

Also, there error is generated from the code which powers the search functionality (which was built to use Serial Solutions Summon service). If you do not use Summon, you can build this feature out.