Results 1 to 2 of 2

Thread: PHP include errors

  1. #1
    Senior Member kontrabass is on a distinguished road
    Join Date
    Jul 2000
    Location
    Austin, TX
    Posts
    285
    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!
     

  2. #2
    Former vBulletin Developer Mike Sullivan will become famous soon enough Mike Sullivan's Avatar
    Join Date
    Apr 2000
    Location
    Regexia
    Age
    25
    Posts
    13,374
    Blog Entries
    7
    Change this to:

    include_path = .:/usr/share/php
    --Mike "Ed" Sullivan
    Former vBulletin Developer

    Twitter | Regexia (personal)
     

Similar Threads

  1. php include()?
    By polira in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 7
    Last Post: Thu 14th Oct '04, 12:38pm
  2. Error log is filling up: include errors...
    By stryka in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 1
    Last Post: Thu 24th Jul '03, 3:09am
  3. .php Include et.al.
    By alexwriting in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 6
    Last Post: Sun 3rd Mar '02, 11:23am
  4. php include
    By Lionel in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 0
    Last Post: Wed 20th Feb '02, 12:30am
  5. PHP Include
    By nB.MuRDeR in forum PHP & HTML Questions
    Replies: 2
    Last Post: Wed 10th Oct '01, 11:10am

Bookmarks

Posting Permissions

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts