QUICK NEWS

{NEW} - A new css video is up.

{OLD} - New video courtesy of Skhilled, Thanks for posting it up.

Video of the moment:


Internal Links

SMF Sites

Quick Info

Session verification fail and can't log out

Started by LandyVlad, Sep 15, 2020, 06:06 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

LandyVlad

I am trying to log into my test forum http://gsx1400owners.org/forum_test/index.php
to do some admin on it and also do a test update etc.

It logs me in automatically (password is saved on chrome) and I am pretty sure I know the password, but when I try to go into admin and it wants me to confirm my password I get: 

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

So I click on log out and get the same again:
QuoteAn Error Has Occurred!
Session verification failed. Please try logging out and back in then try again.

Sooo it's telling me to log out but also won't let me.

Hmmm.

Thoughts?
Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Skhilled

You need to clear your browser's cache by using CTRL+F5. Then try again.

You should also upgrade it to the latest version, 2.0.17.

LandyVlad

first thing I tried mate - no luck.

Yeah I'll do upgrades etc but need to be sure I can get in first.
Fix one problem at a time :) 

Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Skhilled


LandyVlad

#4
Any ideas?
Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

lurkalot

Quote from: LandyVlad on Sep 17, 2020, 06:01 PMAny ideas?

Just curious, can you login via the saved login you mentioned, then try going admin via this link http://gsx1400owners.org/forum_test/index.php?action=tpadmin;sa=panels;noblocks

And let me know what happens.

Skhilled

Here's the fix for your SMF version. You'll need to use FTP if you can't login. Or try a different browser.

For the themes, in index.template.php look for this:

<input type="hidden" name="hash_passwrd" value="" />
And replace it with this:

<input type="hidden" name="hash_passwrd" value="" /><input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
It should look similar to this:
https://www.simplemachines.org/community/index.php?topic=553902.msg3925962#msg3925962

lurkalot

I was going to suggest the session check fix Steve, but thought twice as LandyVlad must have gone through this scenario on his live site and fixed it there.. That made me think it might be something else.

Hopefully it is just that because it's nice and easy to fix.  ;)   

Skhilled

I was thinking the same. If it wasn't SMF 2.0x then I'd think it would be something else. 2.0.15 definitely had that issue but was fixed in .16 or .17, I think.

lurkalot

Quote from: Skhilled on Sep 19, 2020, 11:03 AMI was thinking the same. If it wasn't SMF 2.0x then I'd think it would be something else. 2.0.15 definitely had that issue but was fixed in .16 or .17, I think.

The issue started in 2.0.14 and was still there in 2.0.15 https://wiki.simplemachines.org/smf/Login_error_2.0.14

Skhilled

Ah! You're right, I remember now. I, personally, didn't have many issues with it until I upgraded to .15 and then I started looking for a fix and found it.

LandyVlad

Quote from: lurkalot on Sep 18, 2020, 01:13 AMJust curious, can you login via the saved login you mentioned, then try going admin via this link http://gsx1400owners.org/forum_test/index.php?action=tpadmin;sa=panels;noblocks

And let me know what happens.

Yes, that works.  Odd.
Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

LandyVlad

Quote from: Skhilled on Sep 19, 2020, 02:05 AMHere's the fix for your SMF version. You'll need to use FTP if you can't login. Or try a different browser.

For the themes, in index.template.php look for this:

<input type="hidden" name="hash_passwrd" value="" />
And replace it with this:

<input type="hidden" name="hash_passwrd" value="" /><input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
It should look similar to this:
https://www.simplemachines.org/community/index.php?topic=553902.msg3925962#msg3925962

Thanks.

I just went to install the 2.0.16 update and failed with heaps of errors.
So I tried uninstalling mods and a good 1/2 of those failed too. All sorts of dramas.

I think I'm better off just killing this test forum and making another clone from my working 2.0.17 version.
Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

lurkalot

Easiest way, just upload a fresh set of files from the Large Upgrade zip found here, https://download.simplemachines.org/

Just unzip it, and upload the files overwriting the existing files.  This will keep all your data, and give you a fresh working version of SMF without any mods, so you will need to reinstall your mods.  All settings and data from your mods such as the portal will be retained.

lurkalot

Quote from: LandyVlad on Sep 20, 2020, 09:59 PMYes, that works.  Odd.

Then I imaging it's one of the TP blocks causing the issue.  Try turning off the User Block, and or any block that has a login in it.  Or Upgrade the portal it's well out of date.  That should cure the login issue.