Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: cralor on December 31, 2011, 10:04:59 PM

Title: Session verification failed - when logging out
Post by: cralor on December 31, 2011, 10:04:59 PM
Hello.

I just started up a brand-new SMF forum install and added the 2.0.2 patch as a package mod install.

Whenever I try to logout, I receive this error.

Apart from other threads I have read regarding this issue, I receive ZERO issues when logging in or entering the Admin section. I login perfectly on my first attempt.

I've tried re-naming my cookie in the Server Settings, as well as deleting my own cookies from my browser.

Any help is greatly appreciated.
Title: Re: Session verification failed - when logging out
Post by: Sir Osis of Liver on December 31, 2011, 10:14:07 PM

Link to your forum?

Title: Re: Session verification failed - when logging out
Post by: cralor on December 31, 2011, 10:22:29 PM
forums.cgullo.com

Go ahead and register and I will activate you.
Title: Re: Session verification failed - when logging out
Post by: Sir Osis of Liver on December 31, 2011, 10:27:36 PM

Registered.

Title: Re: Session verification failed - when logging out
Post by: cralor on December 31, 2011, 10:33:14 PM
You should have now received an email indicating that I activated you.

Quote from: Krash. on December 31, 2011, 10:27:36 PM

Registered.


Title: Re: Session verification failed - when logging out
Post by: Sir Osis of Liver on December 31, 2011, 10:44:06 PM

Your site is dropping two cookies, one from your domain, and one from the forum subdomain.  That seems to be causing the problem.  Try this -

Admin -> Server Settings -> Cookies and Sessions -> Use subdomain independent cookies.  Check that, and see what happens.

Title: Re: Session verification failed - when logging out
Post by: cralor on December 31, 2011, 10:46:47 PM
No luck still. Hmm..

Quote from: Krash. on December 31, 2011, 10:44:06 PM

Your site is dropping two cookies, one from your domain, and one from the forum subdomain.  That seems to be causing the problem.  Try this -

Admin -> Server Settings -> Cookies and Sessions -> Use subdomain independent cookies.  Check that, and see what happens.


Title: Re: Session verification failed - when logging out
Post by: Sir Osis of Liver on December 31, 2011, 10:55:37 PM

Can you make me admin?

Title: Re: Session verification failed - when logging out
Post by: cralor on December 31, 2011, 10:57:05 PM
Done.

Quote from: Krash. on December 31, 2011, 10:55:37 PM

Can you make me admin?


Title: Re: Session verification failed - when logging out
Post by: Sir Osis of Liver on December 31, 2011, 10:59:28 PM

Have you modded anything other than the menu?

Title: Re: Session verification failed - when logging out
Post by: cralor on December 31, 2011, 11:00:38 PM
I have not.

Quote from: Krash. on December 31, 2011, 10:59:28 PM

Have you modded anything other than the menu?


Title: Re: Session verification failed - when logging out
Post by: Sir Osis of Liver on December 31, 2011, 11:26:25 PM

Ok, I've unchecked subdomain independent cookies - that makes it worse.  I can logout by deleting the two cookies, but not with that option enabled.  Uninstalled 2.0.2 patch, same problem in 2.0.1.  Reinstalled 2.0.2.  If I block cookies in FF, I can login but can't logout.  Don't know why the forum drops the second cookie, but believe that's the problem. Also getting the session verification error after a successful login if I previously logged out by deleting cookies.

Chased this problem on another forum this past week, and was able to fix it, but yours is a clean install, and it's behaving differently here.  I'll post a bug report and see if anyone else can pick up on this.

Title: Re: Session verification failed - when logging out
Post by: cralor on December 31, 2011, 11:28:37 PM
Thanks for your help!
Title: Re: Session verification failed - when logging out
Post by: Sir Osis of Liver on January 03, 2012, 02:17:48 PM
If you're still having the problem, try this:

http://www.simplemachines.org/community/index.php?topic=447598.0

Don't fool with your php.ini settings.  Backup your /Sources/Load.php and do the SMF Code Fix - make sure you get all of them.  Let us know the result.

Title: Re: Session verification failed - when logging out
Post by: cralor on January 03, 2012, 02:22:02 PM
Just finished doing this as stated.

No change in issue.

Quote from: Krash. on January 03, 2012, 02:17:48 PM
If you're still having the problem, try this:

http://www.simplemachines.org/community/index.php?topic=447598.0

Don't fool with your php.ini settings.  Backup your /Sources/Load.php and do the SMF Code Fix - make sure you get all of them.  Let us know the result.


Title: Re: Session verification failed - when logging out
Post by: Sir Osis of Liver on January 03, 2012, 02:24:34 PM

Did you delete cookies and clear cache?

Title: Re: Session verification failed - when logging out
Post by: cralor on January 03, 2012, 02:28:10 PM
Yes.
Title: Re: Session verification failed - when logging out
Post by: Sir Osis of Liver on January 03, 2012, 02:31:04 PM

Same as before - can't logout without deleting cookies.  Attach your Load.php.

Title: Re: Session verification failed - when logging out
Post by: cralor on January 03, 2012, 02:35:36 PM
Here ya go.
Title: Re: Session verification failed - when logging out
Post by: Sir Osis of Liver on January 03, 2012, 02:51:07 PM

It's correct - didn't work.  Which version of php is your server running?

Title: Re: Session verification failed - when logging out
Post by: cralor on January 03, 2012, 02:56:02 PM
5.3.8
Title: Re: Session verification failed - when logging out
Post by: Sir Osis of Liver on January 03, 2012, 03:01:28 PM

Ok.  I'm pushing the bug report, will let you know.

Title: Re: Session verification failed - when logging out
Post by: cralor on January 03, 2012, 03:03:32 PM
Thank you.
Title: Re: Session verification failed - when logging out
Post by: Cameltoe Joe on January 10, 2012, 10:56:29 AM
I have the same issue is there a fix for this problem as it is getting tiresome
Title: Re: Session verification failed - when logging out
Post by: Sir Osis of Liver on January 10, 2012, 01:31:04 PM

Been unable to duplicate the problem.  All of the affected forums I've looked at are different, and are affected differently.  If you post a link to your board, I'll register and see what it's doing.

Title: Re: Session verification failed - when logging out
Post by: Simple Site Designs on November 07, 2012, 12:21:25 AM
I have this problem, it happens when I log in on one computer and then also log in on another with the same user.

This first session can not be logged out of after that. It just throws this error - shouldn't it automatically log out the first session when the second is created (or allow both)?