Failed opening 'D.B.php'

Yann Debonne cyrus at debonne.net
Wed Dec 25 20:16:33 EST 2002


RH-7.3
php-v4.2.2
cyrus-v2.1.9
web-cyradm-v0.5.1

Hi,

Upon logging into web-cyradm I get the following error:

----------------------

Warning: Failed opening 'DB.php' for inclusion 
(include_path='.:/usr/local/lib/php/PEAR') in 
/home/www/web-cyradm/auth.inc.php on line 12

Fatal error: Undefined class name 'db' in /home/www/web-cyradm/auth.inc.php 
on line 16

----------------------

Currently in my /etc/php.ini:

include_path = ".:/usr/local/lib/php/PEAR"

I've tried all these options individually:

include_path = ".:/usr/local/lib/php" (using this option, web-cyradm can't 
find PEAR in it's sub-directory)
include_path = ".:/usr/local/lib/php/PEAR:/usr/local/lib/php"
include_path = ".:/usr/local/lib/php:/usr/local/lib/php/PEAR"

I even tried a symbolic link:

ln -s /usr/local/lib/php/DB.php /usr/local/lib/php/PEAR/DB.php

and while this rids the error message, all I get is a blank white page upon 
login.  And I do have register_globals set to on.

Any ideas?

Thanks,

Yann

P.S.  Merry Christmas




More information about the Info-cyrus mailing list