MyBB Community Forums

Full Version: mistake when setting up
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
ok when i was installing my forums i didn't set the cookie path right.and now it want let me login at all. i cant access the control panel because it wont do anything how can i change the cookie path.

My forum
Download of your ftp and Open inc/Settings.php

Find
$settings['cookiedomain'] = "";
$settings['cookiepath'] = "/";

And there you should be able to change the cookie path then save it and re-upload it
You should be able to login to your Admin CP regardless of what cookie settings you have.

Your Admin CP: <snip>
okay thanks guys. but now in the admin cp about every two page loads it says the IP doesnt match the sessin(or someting like that.) how can i fix that.
In admin/global.php, find:
define("ADMIN_IP_SEGMENTS", 3);
Change that to:
define("ADMIN_IP_SEGMENTS", 2);
See if that fixes your problem.
it still does it, and sometimes the banner and navagation will display the login screen.
Try changing it to:
define("ADMIN_IP_SEGMENTS", 1); 

Also can you post the exact error message when you get back to the login banner.
here is a screenshot of what i get

here
I don't see a screenshot...
Tikitiki Wrote:I don't see a screenshot...

Anti-hotlinking Sad You have to go here first, then click on the image.


magic sims Wrote:here is a screenshot of what i get

here

Did you try changing the constant to 1?
Pages: 1 2