MyBB Community Forums

Full Version: Can't login
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I just found out how to fix a problem with my themes etc that weren't loading, I had to get rid of the "mybb" folder on the server and now the themes are working etc but I can't login.

I try to login and it says, "you have been logged in, redirecting..." then it's back to the index and it hasn't logged me in.

Something to do with cookies I presume as the "cookie path" setting is set to the "/mybb/" folder that I deleted. I try to change it but everytime I access a new page on the admin CP it asks me to login again Huh

Here's a link to the page http://failthing.info/
You'll need to temporarily edit the cookie path in inc/settings.php. Find the line similar to:
$settings['cookiepath'] = "/mybb/";
and change it to:
$settings['cookiepath'] = "/";
Save and reupload back to your server.

Please note after you have done this you must login to your Admin CP and change the cookie path in the Configuration Settings so that the database knows about the setting change.
That fixed it Big Grin

Thanks man.