![]() |
I am still locked out of the admincp, and our forums are down. I re-uploaded init.php and the global.php as suggested, same error occurred, then I restored everything from my backup that was done a few days ago, same error occurred, I have then uploaded all the original files again, and get the same error still:
Warning: Unknown(./../global.php): failed to open stream: No such file or directory in /global.php(349) : eval()'d code on line 1 Fatal error: (null)(): Failed opening required './../global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/csea/public_html/forums/global.php(349) : eval()'d code on line 1 ======== Could it be in the below code somehow? I keep wondering also with all the portal uninstall I did, and then trying to fix vBulletin, that my license information got overwritten, so need to know how to re-enter it without doing a full 'installation' again. Or, could the error be caused by the below in my global.php file? I don't know what this eval()'d code refers to. ($hook = vBulletinHook::fetch_hook('cache_templates')) ? eval($hook) : false; // now get all the templates we have specified cache_templates($globaltemplates, $style['templatelist']); unset($globaltemplates, $actiontemplates, $_get_edit_templates, $_templatedo); // ################################################## ########################### // get style variables $stylevar = fetch_stylevars($style, $vbulletin->userinfo); // ################################################## ########################### // parse PHP include if (!is_demo_mode()) { @ob_start(); ($hook = vBulletinHook::fetch_hook('global_start')) ? eval($hook) : false; $phpinclude_output = @ob_get_contents(); @ob_end_clean(); I just downloaded a php editor and found that it is this line (349) - I don't know what the eval business is about, as I've stated. This is not an eval/demo version, but fully purchased. The portal software is all I can think that messed with it, or my having to overwrite with original vb files again. Please clue me into what to do. The same error occurs if trying to get to admincp or the forums. if (!is_demo_mode()) { @ob_start(); ($hook = vBulletinHook::fetch_hook('global_start')) ? eval($hook) : false; $phpinclude_output = @ob_get_contents(); @ob_end_clean(); I took GaryP's advice from above, but added define('DISABLE_HOOKS', true); to the global.php file this time instead of the config. I'm IN!!!!! 4 days downtime, won't mess with the Portal crap again probably. BUT, how did that 'hook' get in there to begin with, any ideas??? |
I had some HUGE problems with my forums last week due to a hack. Can you get your hosting to upload a backup file for you? I know it sets you back, but it's better than being locked out :) Just my suggestion, other than that I'm just giving you moral support :)
|
Well, I've been doing backups, but the restores weren't working. And then the hack got into my code after the backups...Good lesson learned I guess. I'm fixed for now, ain't touching the darn thing again until I'm 'recovered'!
:) |
All times are GMT. The time now is 12:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|