MyBB Community Forums

Full Version: Users cannot log in and i cannot log in to ACP.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm having a problem logging into the ACP and users are having a problem logging into their accounts.
(If i try logging into the ACP i'll continue into the home page but if i click anything like configurations it'll make me login again and just loop.)

I've looked through the DB files using FileZilla and I didn't have to change cookie settings.

I've tried removing settings and letting it regenerate but it didn't work.


Forum: www.eternalforums.net
Have the same thing couple of days ago.
First i hope you have a complete backup.
If you have 1.8.9 and did everthing form here: https://community.mybb.com/thread-206896.html
Then use the inc/settings.php from the backup.
Not sure why, but this solves the problem ( or it solves it for me and i didnt do anything with or on the settings file ).
(2017-01-05, 12:17 AM)johnnyvang Wrote: [ -> ]Have the same thing couple of days ago.
First i hope you have a complete backup.
If you have 1.8.9 and did everthing form here: https://community.mybb.com/thread-206896.html
Then use the inc/settings.php from the backup.
Not sure why, but this solves the problem ( or it solves it for me and i didnt do anything with or on the settings file ).

Thanks! I'll try to do the code replacements from the link you sent.

I tried the code replacements but nothing happened, I found a folder with default settings of every file and replaced my settings with the one that was in that folder and ACP worked but users can still not log into their accounts.
You've changed the setting in the ACP to enable secure cookies, but you're accessing the site over http:// so the cookies aren't allowed to be read. I can see that your site does actually load over https://, so first of all you need to change your Board URL to include https:// instead of http://, but you also need to redirect all traffic to https:// and not allow anybody to visit over http://
(2017-01-05, 01:16 PM)Matt Wrote: [ -> ]You've changed the setting in the ACP to enable secure cookies, but you're accessing the site over http:// so the cookies aren't allowed to be read. I can see that your site does actually load over https://, so first of all you need to change your Board URL to include https:// instead of http://, but you also need to redirect all traffic to https:// and not allow anybody to visit over http://

I instead did a fresh install of MyBB and did the changes, people can log in and i can access the ACP but there's a new problem, nobody can log out!

EDIT; apparantly only admins are having this problem.