View Full Version : Fatal Error:
cmrobinson
05-28-2008, 04:08 AM
I get this error message when I attempt to view the forum that I maintain:
Warning: require_once(./../global.php) [function.require-once]: failed to open stream: No such file or directory in [path]/global.php(591) : eval()'d code on line 2
Fatal error: require_once() [function.require]: Failed opening required './../global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tyranus/public_html/forum/global.php(591) : eval()'d code on line 2
I'm not sure exactly what is going on here and was wondering if someone could help me.
SEOvB
05-28-2008, 04:13 AM
your missing global.php it seems or its not in the correct spot/where the script is looking for it.
cmrobinson
05-28-2008, 04:16 AM
Well, this is a clean install of vBulletin, so where is "global.php" supposed to be when starting from scratch. It's currently in "/home/tyranus/public_html/forum" which is where I have the forum installed.
SEOvB
05-28-2008, 05:10 AM
its supposed to be in the forum root which it sounds like you've installed it in.
line 591 is a hook location, do you have any plugins installed even though you say its a clean install?
cmrobinson
05-28-2008, 05:15 AM
Not atm. I had an install on there that got corrupted when I tried to remove something that i screwed up the install (I was just going to try again) then I got this error. So as a response, I just deleted all of the files on the server (after backing them up) and put a new install in. The only thing I did not purge was the db. I just downloaded the newest version and went with it. I attempted to "install" but since I already had in install according to the script, I just ran an update. Could the problem be in the db?
SEOvB
05-28-2008, 05:18 AM
At the top of your /includes/config.php file after
<?php
Add this line
define('DISABLE_HOOKS', true);
Then attempt to access the site again.
Paul M
05-28-2008, 06:59 AM
Its tripping up on the parse_templates hook, which really does suggest you have a plugin installed.
cmrobinson
05-28-2008, 10:51 AM
Interesting, that worked FRDS, so apparently I do ... The odd thing is that none of the files are still there, so why does this stuff still work (i.e. the extra styles and such)? Also, how can I re-enable hooks and have it work normally (or will this fix the problem)?
Jase2
05-28-2008, 10:55 AM
Uninstall the problematic hack. If you can view your forums by doing what FRDS said, then it means an hack is causing the problem, since it will now be running the default vBulletin code.
cmrobinson
05-28-2008, 10:55 AM
Nevermind, I managed to get rid of the offending plugin.
--------------- Added 1211975782 at 1211975782 ---------------
Lol, thanks Jase2, I was just being a bit dense, it is a bit early where I am :D
--------------- Added 1211977430 at 1211977430 ---------------
Thanks very much for the help, now to clean up the rest of the mess I made when screwing around with all of this :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.