PDA

View Full Version : failed to open stream: no such file or directory


emeyer
Wed 19th Mar '08, 12:40pm
We have a win2k3 server runing vbulletin 3.6.8 on IIS. We have been getting error messages like the ones below when we go to the page URL. One is a long while, if you refresh many times the board comes up, but most times the message below is all you see. Any ideas (support has been less then helpful - they say its a server side issue)?




Warning: require_once(./global.php) [function.require-once (http://rox.dartmouth.edu/vbulletin/function.require-once)]: failed to open stream: No such file or directory in \index.php on line 55

Fatal error: require_once() [function.require (http://rox.dartmouth.edu/vbulletin/function.require)]: Failed opening required './global.php' (include_path='.;C:\php5\pear') in \index.php on line 55

just FYI
PHP version is5.2.5
Mysql ver. is 5.0.51a-community-nt

and the vb_test.php runs fine.

thanks,
Ed

Steve Machol
Wed 19th Mar '08, 1:24pm
Try setting the forumpath line in config.php to the correct location for your vB:

$config['Misc']['forumpath'] = '';

emeyer
Wed 19th Mar '08, 10:38pm
Hi, I have set the path, but it did not solve the issue. Any other suggestions? I am not sure its related, but the issue seemed to start after I changed the default vbulletin graphic to our own jpeg logo...

Steve Machol
Wed 19th Mar '08, 11:38pm
What path did you set?

Also enable phpinfo in the Admin CP, then provide the URL to your forums. This may help us troubleshoot this problem.

Admin CP -> vBulletin Options -> Server Settings and Optimization Options -> Public phpinfo() Display Enabled

emeyer
Wed 19th Mar '08, 11:48pm
Hi, Here is the path I set:$config['Misc']['forumpath'] = 'D:\files\www\vbulliten';in the file \vbulliten\includes\config.phpand Public phpfinfo() is now onthanks, Ed

Steve Machol
Wed 19th Mar '08, 11:50pm
And the URL to your forums?

emeyer
Wed 19th Mar '08, 11:52pm
http://rox.dartmouth.edu/vbulletin

Steve Machol
Wed 19th Mar '08, 11:54pm
You have the wrong path. Try this for the path:

D:\files\www\vbulletin

emeyer
Thu 20th Mar '08, 12:25am
nope, the path is D:\files\www\vbulliten - I spelled the directory wrong when I set it up...I could change the directory name, but I am not sure what the would accomplish...

Steve Machol
Thu 20th Mar '08, 12:42am
Then the link to your forums in post #7 cannot be right. Either your path is wrong, or that link is wrong.

emeyer
Thu 20th Mar '08, 10:17am
Both links are correct - one is a virtual directory(web address) and one is a physical directory (path - spelled wrong). Does vbulletin not support virtual directories?

thanks,
Ed

Steve Machol
Thu 20th Mar '08, 1:13pm
Why not use the same path and directory name? I see no reason for a virtual anything here.

emeyer
Sun 23rd Mar '08, 2:43pm
We use virtual dirs because the vbulletin folder sits outside of the actual webroot (web server hosts multiple domain names). just moved it into the real webroot...will see what happens.