• Ask, answer, and discuss all things having to do with the product brands that you own, use, and love. Please feel free to look around, and browse about the forum!

  • Tips and Tricks Forum is the best source of computer and technology troubleshooting advice from a community of experts.


 
Thread Rating:
  • 0 Vote(s) - 0 Average
How to fix "Invalid administration session" - mybb
How to fix "Invalid administration session" - mybb
10-02-2013 - 06:01 PM
 fjam
Moderator

*****




  • Posts: 83
  • Joined: Jan 2013
  • Reputation: 1
If you have the problem login and/or logout of your forum, this is due to incorrect cookie settings. This is easy to fix, and here's how.

   

To fix this problem:

Step 1. Go to your web's root and find a way to open and edit ./inc/settings.php via FTP or any file manager

Step 2. Find the follow codes:

PHP Code:
$settings['cookiedomain'] = ".example.com";
$settings['cookiepath'] = "/";
$settings['cookieprefix'] = ""

Step 3. You have to change exactly as follows:
- If your URL's forum is: http://www.YOURDOMAIN.com/, your settings should be:

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

- If your URL's forum is: http://www.YOURDOMAIN.com/MYBB, your settings should be:

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

- If your URL's forum is: http://MYBB.YOURDOMAIN.com/, your settings should be:

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

- If your URL's forum is: http://SUBDOMAIN.YOURDOMAIN.com/MYBB, your settings should be:

$settings['cookiedomain'] = "SUBDOMAIN.YOURDOMAIN.com";
$settings['cookiepath'] = "/MYBB/";
$settings['cookieprefix'] = "";

Also make sure ./inc/settings.php is CHMOD to 666.

If you have this problem again, check the file: settings.php and do it again from Step 1
Quote
RE: How to fix "Invalid administration session" - mybb
10-02-2013 - 06:52 PM
 kickasskid
TNTFer

****




  • Posts: 17
  • Joined: Oct 2013
  • Reputation: 1
Thank for your post
Quote


Forum Jump:


User(s) browsing this thread: 1 Guest(s)