MyBB Community Forums

Full Version: Fix Login error/Redirect button to proper URL
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, for some reason my login button is now directing me to the wrong page. The myBB host is under http://hatemyex.net/www/forums (no www needed preceding the URL or even in the subdirectory), but when I click on login it redirects to http://hatemyex.net/public_html/forums. (Says error on line 23) I have a Virtual Dedicated Server running CentOS Linux. What happened? I need to know how to change the login path back to correct http address. Where would I edit this button? (It probably means I have to change my register path too.) Haven't tried it yet. I edited my header yesterday to add a new button to a new link, no problem. I was fine all day until I shut off my laptop last night. Now I can't login, I am the admin and system (server) admin. Help greatly appreciated Smile I know it's something simple, I just need to know what file to edit the login http://redirect in.
Thanks
What plugins have you got installed? Also have you modified or overwritten the member.php file?

I get:
Fatal error: require_once() [function.require]: Failed opening required '/home/hatemyex/public_html/forums/inc/functions_albums.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hatemyex/public_html/forums/member.php on line 23
[quote='StevenF50' pid='832151' dateline='1331410347']
What plugins have you got installed? Also have you modified or overwritten the member.php file?


I have a few plugins. Just facebook, images (avatars), and albums (photos), installed. Thanks for your response.
Yes
Fatal error: require_once() [function.require]: Failed opening required '/home/hatemyex/public_html/forums/inc/functions_albums.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hatemyex/public_html/forums/member.php on line 23
This is the redirect I get, but my forums are in /home/hatemyex/www/forums
No I have not edited the member.php file
Have you tried looking for missing files or damaged files in your ACP?
How can I get to my ACP if I can't login?
I'm pretty sure that if you go straight to the acp and log in there it should log you in, not sure, just though I remembered doing that once.
No idea how to get there without login. This is so frustrating. I know it's just a simple line of code somewhere I need to edit to redirect the URL to proper page.
(2012-03-10, 09:44 PM)reaper75 Wrote: [ -> ]No idea how to get there without login. This is so frustrating. I know it's just a simple line of code somewhere I need to edit to redirect the URL to proper page.

Apparently, a lot of people are reading this post, so it must be of some significance. Is there anyone out there who can tell me why I am getting this "Fatal error: require_once() [function.require]: Failed opening required '/home/hatemyex/public_html/forums/inc/functions_albums.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hatemyex/public_html/forums/member.php on line 23," when I try to login? I need the login pointing to /home/hatemyex/www/forums where MyBB is located for the login. It was working fine yesterday. Since I shut off my laptop yesterday, now I can't login and the login clearly points to the wrong directory set. Anyone? Anyone? Please help. Huh
Someone surely has an answer to this problem. Please Please help. I just need to know what file to edit with the proper URL. Whatever file has the login link in it. I'll know what it looks like when I see it. Does anyone know what file has this <li/login "link here"/li> file in it, so I can direct it back to proper URL? I have no idea why it decided point to the other directory (which is currently unused).
I got it fixed! It had copied over to my public_html. Was located in "forums" generally (function_album.php) had to cut and paste it into home/hatemyex/inc/function_album.php. All good now. Big Grin