MyBB Community Forums

Full Version: my forum keeps loging me out
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

i just migrated my forum to a new hosting provider looks ok but every time i try to log-in as user it logs me out and when i log-in as admin to admin panel it is try to navigate in admin panel or try to change any thing it logs me out.

please help.

regards,
The answer is in a thread at the top of the forum.

http://community.mybb.com/thread-42123.html
thank you for your reply.
but the problem is that every time i try to change any thing in the admin panel it logs me out.
so i can not change the cookie setting.

what do you think i should do?
Sleepy If you actually read the thread, you'll see it says this:

Quote:If your cookie settings are wrong, you probably won't be able to change them in the ACP as you may not be able to stay logged in. If this is the case, in order to change them, find a way to open and edit ./inc/settings.php and edit the new values into the file. Then, you MUST go to 'ACP > Configuration > General Configuration' and make the change here too.
Thank you for your support,

my forum url is like this :
forum.mydomain.com

so what should the cookie setting look like?
Cookie domain should be forum.mydomain.com or .mydomain.com
Cookie path should be /
thank you
it is fixed now
the problem was only the cookie path.
somehow it just got changed

regards,