MyBB Community Forums

Full Version: i cannot login into my sites AdminCP/Forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Site: TalentedGaming

Problem:
I can not sign into my forum , what happens is i sign in and it says it signed me in but than doesn't do it, and in my admincp it signs me in but if i click on something than it logs me out.

Attempted Solutions: i researched some, cleared my browsers cookies and cache and also tampered with the settings.php and fixed all cookies path and such, but with that i had no luck.

Thanks to anyone who can help me with this. and this was also all after a transfer to new host than i came back.
Thanks for the organized description.

As for the cause of this problem, it's most likely due to the wrong cookie path or cookie domain.

Take a look at the link below, if you have tried the solution and to avail then let us know by posting on this of yours.

Look: http://community.mybb.com/thread-126359.html
The first, you have to edit settings.php which is located in: your_site/inc/settings.php, like that:

$settings['cookiedomain'] = ".your_site.com";
$settings['cookiepath'] = "/";
$settings['cookieprefix'] = "";


Then, you MUST go to 'ACP > Configuration > General Configuration' and make the change here too. This is because although editing the file will make you able to log in, the settings aren't updated in the database, and when you next save any settings in the ACP, the old settings will come back.
If your URL is http://www.your_site.com, your settings should be:
Cookie Domain: .your_site.com.com
Cookie Path: /
If your URL is http://www.your_site.com.com/your_forum/, your settings should be:
Cookie Domain: .your_site.com.com
Cookie Path: /your_forum/
If your URL is http://subdomain.your_site.com.com, your settings should be:
Cookie Domain: subdomain.your_site.com.com OR .your_site.com.com
Cookie Path: /
If your URL is http://subdomain.your_site.com.com/your_forum/, your settings should be:
Cookie Domain: subdomain.your_site.com.com OR .your_site.com.com
Cookie Path: /your_forum/

Thanks Matt. for your guide.
I think i got it, thank you so much guys.