Page 1 of 1

PHP Pear Error

Posted: Wed Feb 21, 2007 9:34 pm
by duplay
Anyone know anything about the following error when visiting my page:

PHP Warning: include_once(PEAR.php) [function.include-once]: failed to open stream: No such file or directory in C:\Inetpub\wwwroot\scesc\lib\adodb_lite\adodb-errorpear.inc.php on line 13 PHP Warning: include_once() [function.include]: Failed opening 'PEAR.php' for inclusion (include_path='.;C:\php5\pear') in C:\Inetpub\wwwroot\scesc\lib\adodb_lite\adodb-errorpear.inc.php on line 13

I cant login to admin either.

Re: PHP Pear Error

Posted: Thu Feb 22, 2007 1:43 am
by skypanther
PEAR is often provided by the hosting environment. It appears that it's not in yours or your php.ini is telling PHP to look in the wrong spot. You can get PEAR from http://pear.php.net. Download the main PEAR package. Extract it and upload it to your server. You should be able to put it into either the scesc folder or into C:\php5\pear folder.

Tim