News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

2.0.14 safari login error

Started by benzwu, August 31, 2017, 09:45:13 PM

Previous topic - Next topic

benzwu

Hi All,

Recently I upgraded my forum to 2.0.14 (plain vanilla without mods) and unable to login from safari with this error. But on the other hand this community forum works with my very same safari.

QuoteAn Error Has Occurred!
Your session timed out while posting. Please go back and try again.

Firefox, Chrome and Opera can login without problem.

I tried to clear up the extentions from safari but not helping at all.

Quote from: LogInOut.php
// Are you guessing with a script?
   checkSession('post');
   spamProtection('login');

the stopper is checkSession in LogInOut.php

can anyone shed some light on this?



vbgamer45

If your custom theme has a login form such as in the index.template.php or boardindex.template.php or in the login.template.php

The SMF 2.0.14 now requires the following code added in the <form> tag  just add in the closing </form> tag in any login form.


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


This code is used to help increase security for SMF.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

benzwu

actually I use default theme. checked the source, it's with it already hence I can login using other browser but not safari.

Sir Osis of Liver

There is a login glitch in 2.0.14 Curve, it's been reported on just a few forums, one of which I worked on.  Only way to fix it is to disable session check in load.php.  Not on my computer so can't post the code, maybe someone else can do it.
When in Emor, do as the Snamors.
                              - D. Lister

Advertisement: