MyBB Community Forums

Full Version: Login/Logout problems? PLEASE READ
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
If you edit settings.php you have to change the settings in the ACP after, so it updates the database, which is why we say to change the settings in the ACP before you move the files. Edit settings.php again, then make the change again in the ACP, and you'll be fine.
how could i miss that. Thanks so much.
I'm having the problem with the logging in and logging out. I've tried everything in your thread as best as I can. Admittedly a newby to this.
I'm running on a localhost using apache.
My url is http://shotwatchers.com/mybb/forums . I know in unix running a 777 chmod just gives all permissions. However, I'm on XP so I'm just going to file and changing the properties so that "read only" isn't checked. Is there more I can do with permissions on XP?
Sorry to say you've set this up completely wrong. You've set your URLs up to be http://localhost/mybb/Forums/, it doesn't work like that; nobody else can view it properly, and the URL you use to visit it, http://shotwatchers.com/mybb/forums/, is nothing like what the settings are setup for. Don't run your forums off your local computer, even the creators of packages like WAMP and XAMPP say not to do that. Find a host and map the domain to it properly. With the electricity you'd need to keep your computer running 24/7/365, a host would be far cheaper and you don't have to worry about your computer being hacked.
thank you so much! I'm using a subdomain, and my settings were virtually correct, but I used the main domain in settings for the cookies and it saved.

This thread is awesome, but it needs to be set as a link in all the support member's signatures because there are a lot of login threads and almost none of them have been posted a link to this thread.
Unfortunately people wouldn't always see it if the thread title was in red flashing text. There's a lot of very common issue that come up, people rarely look for previous threads on them at all, even if they are at the top of the forum, and a sig link would only be seen if they view one of our posts.
Hello, my name, I am not a French speaking English very well, but I just talk to you because I have a problem with cookies (probably) so I no longer have access to the ACP without having to be directed at the login page with error message "Your IP address is not valid for this session. ...

Website: http://app-world.fr/forum

$Settings['cookiedomain'] = ".World.fr-app";
$Settings['cookiePath'] = "/forum/"

CHMOD settings.php => 666

I emptied my cache and my cookies
I tried everything, and unless you, I think it remains only Dr. House ... lol

Sorry for my English, I'm French ...

Thank you in advance,

Alexislucky
Your cookie domain isn't set to .World.fr-app, it's set to .app-world.fr, which is correct. You have a cookie prefix though and probably don't need that.

However, the invalid IP message isn't to do with cookies... in ./admin/index.php, find:

define("ADMIN_IP_SEGMENTS", 3);

change to:

define("ADMIN_IP_SEGMENTS", 0);
(2010-05-04, 07:15 PM)MattRogowski Wrote: [ -> ]Your cookie domain isn't set to .World.fr-app, it's set to .app-world.fr, which is correct. You have a cookie prefix though an probably don't need that.

The invalid IP message isn't to do with cookies anyway... in ./admin/index.php, find:

define("ADMIN_IP_SEGMENTS", 3);

change to:

define("ADMIN_IP_SEGMENTS", 0);
Thank you for responding, but it was a typo ^ ^ If I change what you said, I will not be disconnected?
No, the problem is that you have a dynamic IP, and because it's changing it says it's invalid against what's been stored. Making this change means it won't check the IP.