MyBB Community Forums

Full Version: Cookie Problems! Login/Logout etc.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys, I have a problem. My site randomly started having these problems where when I logout, it doesn't log me out until I hard refresh.

My forum URL is: http://backspacez.us
Test forum account:
User: Testuser
Pass: password

I have tried:
Re-uploading settings.php, member.php, index.php.
Checking my cookie settings
Clearing my browser's cache and cookies.
Deleting unused plugins and themes
Regenerating settings.php

Nothing.

Can anyone give me some help please? Thank you.


EDIT: The site completely screwed up, I lost my password, I can't even login. I made a new forum.

http://backspacez.org

Guess what? Same problem. I don't know if it's the server or what.
Your cookie settings are correct. There's something else going on here.

Go to ACP >> Tools & Maintenance >> File Verification >> Yes

Do any files show up in red?

To rule out plugins as a cause of this issue, please try the following:

If you are using MyBB v1.6.4 and newer:
Go to AdminCP >> Configuration >> General configuration >> Disable all plugins >> YES

For all other versions older than MyBB v1.6.4:
In ./inc/init.php, find the code:
define("TIME_NOW", time());

After this code, add this:
define("NO_PLUGINS", 1);

Then save and/or reupload this edited version of the file so the forum will run the new code.

This will stop plugins being run when a page on the forum is loaded; it will not edit, delete or reset any content the plugin has added or changed, it will just temporarily stop the plugins being loaded, so some features on your forum may be temporarily missing or broken whilst this code is in place. When you remove this code, plugins will work again exactly as they were before. This change helps us to see if a plugin is the cause of a problem, without you having to manually deactivate every single plugin, which would mean you may lose data from them.

If your issue is fixed when this code is added, then the cause of your issue is a plugin; please post a list of your plugins and we will try and help you find which one it may be. If the problem still happens with this code added, then it is unlikely a plugin is the cause, in which case we will investigate the issue further.
(2012-01-10, 01:45 AM)Alan Shepperson Wrote: [ -> ]Your cookie settings are correct. There's something else going on here.

Go to ACP >> Tools & Maintenance >> File Verification >> Yes

Do any files show up in red?

To rule out plugins as a cause of this issue, please try the following:

If you are using MyBB v1.6.4 and newer:
Go to AdminCP >> Configuration >> General configuration >> Disable all plugins >> YES

For all other versions older than MyBB v1.6.4:
In ./inc/init.php, find the code:
define("TIME_NOW", time());

After this code, add this:
define("NO_PLUGINS", 1);

Then save and/or reupload this edited version of the file so the forum will run the new code.

This will stop plugins being run when a page on the forum is loaded; it will not edit, delete or reset any content the plugin has added or changed, it will just temporarily stop the plugins being loaded, so some features on your forum may be temporarily missing or broken whilst this code is in place. When you remove this code, plugins will work again exactly as they were before. This change helps us to see if a plugin is the cause of a problem, without you having to manually deactivate every single plugin, which would mean you may lose data from them.

If your issue is fixed when this code is added, then the cause of your issue is a plugin; please post a list of your plugins and we will try and help you find which one it may be. If the problem still happens with this code added, then it is unlikely a plugin is the cause, in which case we will investigate the issue further.

Okay, so I ran the file verification. Index.html in plugins and images were corrupt. Replaced them with a fresh version.

Then, I disabled all plugins, nothing.

Now, when I go into the ACP, I get this message:
Fatal error: Call to a member function run_hooks() on a non-object in /home/backspac/public_html/inc/functions.php on line 238

I opened up functions.php in Notepad++ and here's line 238:
$plugins->run_hooks("send_mail_queue_start");

I don't know php but, it looks plugin related.
Can you post Admin and FTP login details in the Private Inquiries forum so a staff member can take a look?
(2012-01-10, 11:58 AM)Alan Shepperson Wrote: [ -> ]Can you post Admin and FTP login details in the Private Inquiries forum so a staff member can take a look?

Hmm, I'm not so comfortable with that. Not that I don't trust the staff of MyBB.com but, you never know who is able to get access to that.
Only staff and the thread creator are able to view threads in the Private Inquiries forum.
There's no help that you can give me without me giving ACP details?
(2012-01-10, 10:57 PM)Warrior01 Wrote: [ -> ]There's no help that you can give me without me giving ACP details?

It makes it a LOT easier for them.
If you prefer you can PM the details to a staff member but then you'll have to wait until that person has time to look into it.
(2012-01-11, 12:44 AM)Alan Shepperson Wrote: [ -> ]If you prefer you can PM the details to a staff member but then you'll have to wait until that person has time to look into it.

Okay, I'll be posting in Private Inquiries.

I had to make a new site, everything is completely screwed up. I don't want to delete the forum on Backspacez.us yet so, that's why I setup Backspacez.org.

I have the same problem on my new site.