Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: simfactor on March 30, 2007, 06:27:31 AM

Title: Session Verification Failed
Post by: simfactor on March 30, 2007, 06:27:31 AM
SMF Version: SMF 1.1.2
I have the same Session Verification Failed error also like in another thread. But how I got it is different.

Bear in my mind that I don't have a working website yet (let alone the domain name), I'm doing this on my development machine.

The scenario is this: users are able to log in, log out, and see some latest posts on Forum from another site with, probably, different domain.

I simulate that in my machine using different directory, let's say http://localhost/Site1 and http://localhost/smf. Using SSI I was able to do that scenario easily (thanks for the SSI guys! Really helpful!). However, when I clicked on the 'logout' button on Site1, I always get 'Session Verification Failed' error. But this error will disappear or not happening if I clicked the logout button on SMF.

Any way to fix this problem?

Thank you. :)
Title: Re: Session Verification Failed
Post by: simfactor on March 30, 2007, 11:09:56 PM
No solution yet?
Title: Re: Session Verification Failed
Post by: metallica48423 on April 01, 2007, 07:57:34 PM
Are you using database driven sessions?

Anything in your error log?

Title: Re: Session Verification Failed
Post by: simfactor on April 01, 2007, 09:42:01 PM
Yes, I'm using database driven session. And no error in mysql error log nor apache error log. Is there any log files for the SMF itself?
Title: Re: Session Verification Failed
Post by: SleePy on April 01, 2007, 10:56:07 PM
Admin -> Error log is where SMF puts its errors it can catch.

So the site with the problems is the one that is through SSI? Did you configure the cookie settings correctly in server settings (I believe)
Title: Re: Session Verification Failed
Post by: simfactor on April 02, 2007, 01:00:00 AM
Quote
Admin -> Error log is where SMF puts its errors it can catch.

So the site with the problems is the one that is through SSI? Did you configure the cookie settings correctly in server settings (I believe)

No error in Admin -> Error Log panel.

And yes, the site that having this problem is the one that call SSI functions (just welcome and logout so far). The cookies setting in SMF's Server Setting is:
- No local storage cookies
- Using independent sub domain cookies
Title: Re: Session Verification Failed
Post by: mikeafl on May 23, 2007, 04:03:04 PM
I just fixed this error in my site. This may or may not apply to your situation. I wrap SMF in a template. SMF was trying to set a cookie, but  my template had already started output, so SMF threw a header error. I added a buffer and flush command in my template header and footer, respectively, and that fixed the SMF session problem. ;D It remains to be seen what problems it's going to cause elsewhere, though. ::)