MyBB Community Forums

Full Version: I killed the cookies
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I got a secondary domain for my site and because both the domain and the host's sub domain work for accessing the site I though I should make the cookie URL blank. I think I didn't erase the . at the beginning and now I can't do anything because it keeps asking me to log in then doesn't remember that I logged in. Is there a MySQL query I can run to fix this?
Thank you.
I'm using MyBB 1.4.1
Change it in inc/settings.php
$settings['cookiedomain'] = '';
$settings['cookiepath'] = '/';


After you're able to login, you must change the settings again in the ACP settings, or else they will be overwritten.
Thank you!
That worked
Glad it's working!