News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Can't make posts & log into Admin panel

Started by natcip, January 23, 2019, 12:03:55 PM

Previous topic - Next topic

natcip

Hello!
Today several users told me they can't make posts or send private messages in my forum.

When I try to post a reply I get:
Your session timed out while posting. Please try to re-submit your message.

While trying to log in to the Admin panel I get this:
Session verification failed. Please try logging out and back in again, and then try again.

I haven't done any changes on the forum lately. ???

I already found similar topics about this issue here, but none have been helpful.

Shambles

Quotebut none have been helpful.

So, what have you tried so far?

natcip

Quote from: Shambles on January 23, 2019, 12:11:37 PM
Quotebut none have been helpful.

So, what have you tried so far?
As suggested I edited "index.template.php" (default theme)..
<input type="hidden" name="hash_passwrd" value="" />
to
<input type="hidden" name="hash_passwrd" value="" />
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />


The custom theme that I'm using doesn't have "<input type="hidden" name="hash_passwrd" value="" />" anywhere in its own index.template.php file.




Also this one was already in my LogInOut.php file
Quotei fixed this problem

find and check Sources/LogInOut.php file, must be exatcly like below. if there is any code between them, like session , delete that line.

// Are you guessing with a script?
   
spamProtection('login');

vbgamer45

Try turning off database driven sessions or turning it on switch between both and see what works.
Community Suite for SMF - Take your forum to the next level built for 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

Advertisement: