MyBB Community Forums

Full Version: User Login Not Working - Redirected Back to Homepage/Portal
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Everyone,

Tested this both with Firefox & Chrome (Regular & Private Broswing/Incognito Mode)

I had everything working fine on http, user registration, login, posting etc. I moved over to https, installed my ssl cert & bundle & now I am unable to login as a testuser. I enter the username/password & click login & nothing happens, just back to the homepage everytime. This occurs when I click Login at the top or when I click Portal in the top right & attempt to login there as well. I have no mods installed, default theme etc.

Registration is currently working & when clicking the activation email the user will be redirected & logged in but upon signing out the Login issue rears it's ugly head.

I get no warnings/errors in /var/log/apache2/error.log

Apache2 Path:  /var/www/html/darkertrade/forum/

Board Settings > Site Details

Cookie Domain: .darkertrade.com
Cookie Path:  /                           
Cookie Prefix is empty

Same Site Cookie Flag: Yes (Turned off, no avail)
Secure Cookie Flag: No  (Tried turning it on, restarting apache & clearing cache & incognito/private mode to no avail)

https://darkertrade.com

User: tuser
Pass: testing123
Your Board URL is https://www.darkertrade.com and needs to be https://darkertrade.com (lose the www.)

You have a redirect set up for www. to non-www. but as the Board URL has www. in it, the requests get redirected and lose the post data. Removing www. from the Board URL should fix it.
(2023-02-26, 06:04 PM)Matt Wrote: [ -> ]Your Board URL is https://www.darkertrade.com and needs to be https://darkertrade.com (lose the www.)

You have a redirect set up for www. to non-www. but as the Board URL has www. in it, the requests get redirected and lose the post data. Removing www. from the Board URL should fix it.

I am beside myself that I overlooked this. Thank you! Fixed