Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: smunch on May 17, 2017, 08:53:45 AM

Title: Now getting this also after [2.0.14] patch, what is the fix?
Post by: smunch on May 17, 2017, 08:53:45 AM
Hello,

Firstly thanks you for all your work with SMF it has served us well over several years.

However on upgrading to 2.0.14 I am also in the situation where I could not log in.  The error was "An Error Has Occurred!
Your session timed out while posting. Please go back and try again."

Not sure if its relevant but the Kani theme was active.  I have tried with both php 5.6 and php 7 Results were also the same regardless if access was by http or https.
I have gone back to 2.0.13 by copying files from the back up folder.

Let me know if I can help.

Steve
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: vbgamer45 on May 17, 2017, 08:58:10 AM
Quote from: smunch on May 17, 2017, 08:53:45 AM
Hello,

Firstly thanks you for all your work with SMF it has served us well over several years.

However on upgrading to 2.0.14 I am also in the situation where I could not log in.  The error was "An Error Has Occurred!
Your session timed out while posting. Please go back and try again."

Not sure if its relevant but the Kani theme was active.  I have tried with both php 5.6 and php 7 Results were also the same regardless if access was by http or https.
I have gone back to 2.0.13 by copying files from the back up folder.

Let me know if I can help.

Steve
If you have a custom template


In your custom theme index.template.php
Find

</form>

Add after

<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />

Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: Illori on May 17, 2017, 09:00:37 AM
topic split, please open your own topic for your own issue.
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: smunch on May 17, 2017, 09:16:28 AM
Sorry and thanks vbgamer
Steve