Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: kushty - huhtikuu 24, 2020, 05:34:20 AP

Otsikko: Session verification failed.
Kirjoitti: kushty - huhtikuu 24, 2020, 05:34:20 AP
Hi,

I am getting this message when trying to access admin or logout of the board.

Session verification failed. Please try logging out and back in again, and then try again.

I have read previous posts and deleted cookies, cleared cache etc but no good. I am using Ver 2.0.15 on a clients website. PHP version is 5.5. I have exported the error log as pdf and attached it here. I can't see any reference to the Session Verification though. Any ideas?

Thanks
Otsikko: Re: Session verification failed.
Kirjoitti: Doug Heffernan - huhtikuu 24, 2020, 06:14:17 AP
Did you install any mods before this happening?

Another thing, the cookie name, does it match that of $cookiename var in your Settings.php file?
Otsikko: Re: Session verification failed.
Kirjoitti: kushty - huhtikuu 24, 2020, 10:05:48 AP
Lainaus käyttäjältä: doug_ips - huhtikuu 24, 2020, 06:14:17 AP
Did you install any mods before this happening?

Another thing, the cookie name, does it match that of $cookiename var in your Settings.php file?

No, No mods added at all and yes the cookie name is just the same. Thanks for your help.
Otsikko: Re: Session verification failed.
Kirjoitti: kushty - huhtikuu 25, 2020, 07:47:36 AP
Anyone got any ideas to resolve the situation?
Otsikko: Re: Session verification failed.
Kirjoitti: Bobby - huhtikuu 25, 2020, 09:30:08 AP
The issue maybe related to certain anti-spam mod, i see many records were banned by your server. Try to:
1. Log into another admin account via other phone/computer to disable the mod + empty the file cache, ect...
2. If it doesn't work, go to phpmyadmin —> Backup your database first —> Empty (do not Drop or Delete) the "smf_sessions" table
Check if it works or not!
Otsikko: Re: Session verification failed.
Kirjoitti: kushty - huhtikuu 25, 2020, 10:26:00 AP
Lainaus käyttäjältä: Bobby - huhtikuu 25, 2020, 09:30:08 AP
The issue maybe related to certain anti-spam mod, i see many records were banned by your server. Try to:
1. Log into another admin account via other phone/computer to disable the mod + empty the file cache, ect...
2. If it doesn't work, go to phpmyadmin —> Backup your database first —> Empty (do not Drop or Delete) the "smf_sessions" table
Check if it works or not!

Thanks Bobby,

The last emptying the sessions table did the job. Thanks for your help matey!
Otsikko: Re: Session verification failed.
Kirjoitti: Bobby - huhtikuu 25, 2020, 10:41:12 AP
Great, now try to log in and log out your account to see if it works or not!
Otsikko: Re: Session verification failed.
Kirjoitti: kushty - huhtikuu 25, 2020, 10:52:21 AP
Yep works fine now! Thanks! I also updated it to ver. 2.0.17 and everything is just fine.
Otsikko: Re: Session verification failed.
Kirjoitti: Bobby - huhtikuu 25, 2020, 10:57:34 AP
Congratulations!