![]() |
Locked out of admincp
I have been working on the vPortal install since Friday, with no support responses to assist in fixing or uninstalling from them. So, I have done the un-install per their threads, AND requested of 3 mods/developers there via PM to assist, with no response, but am completely locked out of my admincp for vBulletin at this point. I probably need to completely re-install the vb, but hoping you guys can help out so I don't. It seems it's turned into a vb issue now because of the portal stuff.
When I try to login, I get the following: Warning: main(DIR/includes/functions_login.php): failed to open stream: No such file or directory in /home/csea/public_html/forums/login.php on line 38 Fatal error: main(): Failed opening required 'DIR/includes/functions_login.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/csea/public_html/forums/login.php on line 38 The portal install isn't supposed to mess with the vb files, from what I understood, but it looks like I have to edit something in the bulletin files now. My path to the forums is public_html/forums - now I have always 'assumed' the public_html was my 'root', even though it's imbedded in the directory csea\public_html. So double checking with you guys. Please, anyone who can help, I so appreciate it. We've been down for almost 3 days now, and I give up on the portal forums for any help. If you respond, please be very very specific in the steps I need to take. thx.. |
Try blocking plugins via your config file and see if that helps, then you can login and delete all the plugins for the hack
|
Wow, fast!! How do I block them? Comment them out?
|
theres a line that you have to add to your config file right at the top just below the <?php
I think it is Code:
define('DISABLE_HOOKS', true); |
Well, this is what I have now:
Code:
<?php |
I don't know then. Sorry.
|
I think it is somewhere here in my login.php file, could you look over these 2 lines, I think this 'might' be where it is off:
Code:
// ######################### REQUIRE BACK-END ############################ thx! |
You have lost your definition of the constant 'DIR'.
This is defined in init.php, which is called by global.php - try uploading your original init.php and global.php files. |
Sorry, I typed all this, forgot the error has now changed when I try to get to the forums: it is now:
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 Now read the below because it is this new message my comments refer to. I first tried doing a full restore from the backup I made a few days ago, same error. Now I've tried taking the original 2 files again you mentioned, and uploading those, same error. I'm wondering 2 things; could my license number have been corrupted or taken out during all I've done, and if so, how do I input it again? Secondly, should I change anything in this line of the config.php file? // ******** FULL PATH TO FORUMS DIRECTORY ****** // On a few systems it may be necessary to input the full path to your forums directory // for vBulletin to function normally. You can ignore this setting unless vBulletin // tells you to fill this in. Do not include a trailing slash! // Example Unix: // $config['Misc']['forumpath'] = '/home/users/public_html/forums'; Thanks for anything at all you can think of. Doing the full restore I 'thought' should've finally resolved all this. Can someone figure out this issue?? I really am starting to think I need to plug the license number back in somewhere, without having to do a re-install. I just don't know what file it would go in, and if I'd enter it in plain text or not.Perhaps it is not a license issue, but, I'll take ANY and ALL suggestions to get our site back up. thx!!! |
Maybe try to upload all files to your server again.
|
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 03:28 AM. |
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:
|