MyBB Community Forums

Full Version: Error while logging in
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi I'm having trouble logging into my forum. I exactly know my password, and it shows the message that I was logged in successfully, but the next page, I'm automatically logged out. 

I've just moved my forum from my WAMP server to http://freedomwarriors.byethost7.com/ Edited the config file from /mybb/ folder, few errors here and there while the forums is trying to access the database. 

It was successfully fixed but the login is broken. Even the ACP. I can login correctly and the home page of the ACP works but when I click on any tabs / links, it gives me an error "Invalid administration session. " and it logs me right out.

Please help me trying to fix my broken login system.

EDIT: I fixed it. It was a cookie problem.

All I did was go to /inc/settings.php and find "cookie"

Heres what I edited. Could work for you
$settings['cookiedomain'] = "freedomwarriors.byethost7.com";
$settings['cookiepath'] = "/";
$settings['cookieprefix'] = "";
Refreshed the website and login works. Big Grin