MyBB Community Forums

Full Version: Login issues
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So i've been googling and looking over this whole forum for a fix on how to fix my login issue.

Login issue description:
Basically when you login and put your info correctly it'll prompt you to that "success page redirecting..", but when it redirects it's as if you didn't log in at all. you have to re-login.
I've tried to edit the inc>settings.php folder like the one tutorial i found said and im triyng to keep it the same as the original settings.php.


I really need some help here Im super lost.
Also i'm a noob that is still learning  Angel
Hi there. For me to have a better understanding of the issue can you please provide the URL to your forum and a test account (username and password) in a reply below?
Ahh yes, the classic "Login successful - Please wait while we redirect you" *Redirects to forum but still not logged in*


This is a simple Cookie setting issue!

3 Steps:

1: In your FTP head to ROOT/Inc/settings.php edit your Cookie & URL settings:
(I suggest using Notepad++ to edit your files)

LINE 83:
(Your URL will be different depending where your forum is located! if it is "www.URL.com/forum/" it would be http://www.URL.com/forum)
$settings['bburl'] = "http://testsite.aeythex.com";

FOR INFORMATION ABOUT HOW TO SET YOUR DOMAIN SETTINGS, VIEW THIS: https://docs.mybb.com/1.6/Cookie-Settings/

LINE 108 - 110
(Same as above: this depends on where your forum is located. If it is in a sub directory, it would be .URL.com/Directory)
$settings['cookiedomain'] = ".testsite.aeythex.com";
$settings['cookiepath'] = "/";
$settings['cookieprefix'] = "";

Save, reupload the saved file back to ROOT/inc/ and replace the current file with the new one.

2: Go to your ACP -> Configuration -> Settings -> General Configuration and set the same settings as you did in the settings.php file.

3: Clear/Delete all of your browser cookies. Close and reopen your browser and try logging in.