Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Masrit on August 24, 2011, 01:11:31 PM

Title: SMF Your session has timed out
Post by: Masrit on August 24, 2011, 01:11:31 PM
Hey. Every time I try to post it says

The following error or errors occurred while posting this message:
Your session timed out while posting. Please try to re-submit your message.

Also when I try to log out it says

An Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again.

Title: Re: SMF Your session has timed out
Post by: MC73 on August 24, 2011, 01:15:56 PM
Try this first .... Try emptying out your cache in Maintenance ....  do the same thing to your browser if it still happens
Title: Re: SMF Your session has timed out
Post by: Masrit on August 24, 2011, 03:27:45 PM
I did all it did was log me out. Didn't fix anything.
Title: Re: SMF Your session has timed out
Post by: kat on August 24, 2011, 03:33:27 PM
Try going to admin>Server settings and renaming the cookie.

If you're using Opera, get used to it, coz it seems to have an annoying bug, that makes it do that, sadly. :(
Title: Re: SMF Your session has timed out
Post by: Masrit on August 24, 2011, 03:37:58 PM
I would love to get into admin mode so I could back up.
But it says

An Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again.

I had the settings so you have to retype in your password for admins so if they leave it on their little brothers or anyone else couldn't mess with it.
Title: Re: SMF Your session has timed out
Post by: kat on August 24, 2011, 04:14:23 PM
Backup from your CPanel>files>backups.

"Databases" does the... er... database(s). "Home directory" saves your site, itself.
Title: Re: SMF Your session has timed out
Post by: rawlogic on August 24, 2011, 05:18:02 PM
Is this a new install with SMF 2.0?

If so, this is most likely the issue:
http://www.simplemachines.org/community/index.php?topic=447598.0

If you don't fix the issue, you will have to clear your cookies for the site in order to try again and keep trying until you're lucky enough to get a session without , or -.
Title: Re: SMF Your session has timed out
Post by: Masrit on August 24, 2011, 08:26:22 PM
It does but they had a glitch in the server so its all lost. And it isn't the lastest update. I didn't have time yet to update it.
Title: Re: SMF Your session has timed out
Post by: Masrit on August 25, 2011, 09:11:29 PM
Bump!
Title: Re: SMF Your session has timed out
Post by: kat on August 26, 2011, 08:32:33 AM
What are you bumping for?

I made a couple of suggestions and you've not told us what happened.
Title: Re: SMF Your session has timed out
Post by: Masrit on August 26, 2011, 11:53:22 AM
If you look I did respond.
Title: Re: SMF Your session has timed out
Post by: kat on August 26, 2011, 01:21:04 PM
You can rename the cookie by editing Settings.php, I believe.

$cookiename = 'SMFCookie10'; # Name of the cookie to set for authentication.

Keep a copy of the original, as a backup, just in case.
Title: Re: SMF Your session has timed out
Post by: Masrit on August 26, 2011, 05:11:22 PM
It didn't fix it It was
$cookiename = 'SMFCookie223';      # Name of the cookie to set for authentication.
And I changed it to

$cookiename = 'SMFCookie52';      # Name of the cookie to set for authentication.

And it still messed up
Title: Re: SMF Your session has timed out
Post by: kat on August 27, 2011, 10:39:41 AM
Might be worth you reading this, Masrit.

http://www.codinghorror.com/blog/2008/04/your-session-has-timed-out.html
Title: Re: SMF Your session has timed out
Post by: Masrit on August 27, 2011, 11:14:26 AM
That is interesting. But not what is happening. It won't even let you log out when you press it. It says verification failed please log out. And I'm trying to log out

Also I just added a new section to my website. so its now /simplemachinesforum to see if I could re install it and just use my backup to restore.

It has the same problem with the restore but not if the forum is brand new.
Title: Re: SMF Your session has timed out
Post by: kat on August 27, 2011, 11:24:30 AM
Let's try to isolate this.

Have you tried using a different browser?

Is it the same, if you do that?
Title: Re: SMF Your session has timed out
Post by: Masrit on August 27, 2011, 01:30:27 PM
I use Firefox and I just tried safari and google chrome. Many of my members use different internet browsers and its all the same.
Title: Re: SMF Your session has timed out
Post by: rawlogic on August 31, 2011, 01:43:24 PM
Did you see if this was the issue yet?
http://www.simplemachines.org/community/index.php?topic=447598.0
Title: Re: SMF Your session has timed out
Post by: Aleksi "Lex" Kilpinen on September 28, 2011, 01:52:29 AM
Hi Masrit, is this still an ongoing issue or have you been able to fix this? :)
Title: Re: SMF Your session has timed out
Post by: Masrit on October 20, 2011, 01:40:10 PM
Hey sorry, haven't been on here in a while and forgot to mark it solved >.<
Title: Re: SMF Your session has timed out
Post by: Aleksi "Lex" Kilpinen on October 20, 2011, 11:26:01 PM
No problem :) Great to hear it's solved however.
Title: Re: SMF Your session has timed out
Post by: Pattaya_web on November 05, 2011, 12:47:10 AM
Thanks very much. Problem solved. But I found the code to change in Load.php~ not Load.php
Title: Re: SMF Your session has timed out
Post by: Illori on November 05, 2011, 07:41:20 AM
changing the code in Load.php~ will not change it on your forum, it has to be changed in Load.php.