PDA

View Full Version : PHP include errors



kontrabass
Wed 31st Jan '01, 12:25pm
I've been running VBulletin succesfully for months, but this morning I did a reformat on my webserver. I replaced all the vbulletin files from the backup I made, imported the database from the backup dump, and made the necessary changes to config.php to reflect new mysql user and pass settings.

However, when I try to access my board (index.php), I got :

Fatal error: Failed opening required 'global.php' (include_path='/usr/share/php') in /home/talkbass/web/forum/index.php on line 12

Ok, so next tried a clean install of Vbulletin 1.1.5, ran the install script, and got a similar error:

Warning: Failed opening 'config.php' for inclusion (include_path='/usr/share/php') in /home/talkbass/web/forum/admin/install.php on line 52



I noticed in php.ini there is a line:
include_path = /usr/share/php

It would seem like that would be the problem - the error looks like it's looking for global.php in /usr/share/php. But I checked my old php.ini from my backup, and it's got the same config...

Any ideas?

Thanks!

Mike Sullivan
Wed 31st Jan '01, 12:44pm
Change this to:

include_path = .:/usr/share/php