Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: gianx80 on November 10, 2008, 02:23:52 PM

Title: Session verification failed. Please try logging out and back in again, and ...
Post by: gianx80 on November 10, 2008, 02:23:52 PM
This is my problem: I have a forum ad I've decided to upgrade from version 1.1.5 to 1.1.7 using the manual process (I've downloaded the upgrade package from SMF official site). After the upgrade, I tied to re-enable all my plug-ins, obtaining this error: "Session verification failed. Please try logging out and back in again, and ...". After this, I tried to change browser, to delete all cookies, to empty out all the DB table referring to the sessions, to change the cookies name ... but the problem was still there. Moreover, I backupped my settings file and my theme, I downloaded the normal installation package for a fresh installation, I restored my settings file and my theme ... and the problem is still there. So, now I'm not able to enable or disable packages.

Do you have a solution?

P.S.
The problem remains also with the default theme  and excuse me for my English, but it isn't my mother language.
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: gianx80 on November 11, 2008, 03:47:49 AM
UP
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: scimmiotto on November 11, 2008, 04:07:44 AM
up for me too
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: tatore on November 11, 2008, 04:15:27 AM
I would try to run the repair_settings tool ( What is repair_settings.php?) (http://docs.simplemachines.org/index.php?topic=663), and then check the server setting>>feature configuration from your admin cp.
Please, report here your setting's values about:
- Enable local storage of cookies [?]
-Use subdomain independent cookies[?]
-Use database driven sessions[?]
-Seconds before an unused session timeout[   ]
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: DareDevil1990 on November 11, 2008, 05:21:52 AM
i have the same problem...
here the details u asked
- Enable local storage of cookies [?] unticked
-Use subdomain independent cookies[?]ticked
-Use database driven sessions[?]ticked
-Seconds before an unused session timeout[   ]6000
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: tatore on November 11, 2008, 05:33:14 AM
Quote from: MRDJ on November 11, 2008, 05:21:52 AM
i have the same problem...
here the details u asked
- Enable local storage of cookies [?] unticked
-Use subdomain independent cookies[?]ticked
-Use database driven sessions[?]ticked
-Seconds before an unused session timeout[   ]6000

did you try to run repair_settings.php? 
Can I have a sample of your forum's url? Eg.: is it like www.myforum.whatever.com or simply www.myforum.com ?
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: DareDevil1990 on November 11, 2008, 05:39:48 AM
well i didnt run repair_settings.php :)

and my forum url is http://www.da-legends.info/

and since i  installed the update i am also unable to logout... i get the same seseion verification error ???
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: tatore on November 11, 2008, 05:47:32 AM
Try deleting from your browser all cookies first.
If it still doesn't work, open your phpMyadmin (What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.0)), select smf database, click on the SQL icon and run the following queries (assuming that your smf table prefix is smf_ ):

REPAIR TABLE `smf_sessions`

And after

OPTIMIZE TABLE `smf_sessions`

It should work.
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: Rev.Robert on November 11, 2008, 06:13:04 AM
I have tried all the things writen but problem still exists. I realized that if you upgrade your forum (my version was 1.1.6) there is no problem, but if have a clean install then this problem occurs.
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: tatore on November 11, 2008, 06:17:01 AM
Quote from: Rev.Robert on November 11, 2008, 06:13:04 AM
I have tried all the things writen but problem still exists. I realized that if you upgrade your forum (my version was 1.1.6) there is no problem, but if have a clean install then this problem occurs.
Never experienced something like that, as I still didn't install 1.1.7 from scratch.
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: DareDevil1990 on November 11, 2008, 06:29:01 AM
ok i did as said it didnt work still geting the same error ...btw is there any way to go back to smf 1.1.6 and dont effect the forum staibilty ?
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: tatore on November 11, 2008, 06:37:25 AM
Last attempt, to empty the smf_sessions table.
Run this query:
TRUNCATE smf_sessions;
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: DareDevil1990 on November 11, 2008, 06:43:35 AM
thanks for the help but this also didnt work i am still unable to logout and still unable to uninstall mods :'(
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: gianx80 on November 11, 2008, 07:24:13 AM
Quote from: tatore on November 11, 2008, 04:15:27 AM
I would try to run the repair_settings tool ( What is repair_settings.php?) (http://docs.simplemachines.org/index.php?topic=663), and then check the server setting>>feature configuration from your admin cp.
Please, report here your setting's values about:
- Enable local storage of cookies [?]
-Use subdomain independent cookies[?]
-Use database driven sessions[?]
-Seconds before an unused session timeout[   ]

I've already runned this script yesterday, however these are my settings:
- Enable local storage of cookies [unchecked]
-Use subdomain independent cookies[checked]
-Use database driven sessions[checked]
-Seconds before an unused session timeout[ 2880 ]

Now, I'm going to run:

REPAIR TABLE `smf_sessions` and OPTIMIZE TABLE `smf_sessions`

.... nothing, the problem is still there. However, if you need it, this is the forum url: http://gianx.d4net.org/forum
Title: Re: Session verification failed. Please try logging out and back in again, and .
Post by: Smoky "Rider" Blue on November 11, 2008, 07:55:54 AM
it is a bug:

http://dev.simplemachines.org/mantis/view.php?id=2734    ;)
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: gianx80 on November 11, 2008, 08:06:30 AM
Quote from: SmokyBlue on November 11, 2008, 07:55:54 AM
it is a bug:

http://dev.simplemachines.org/mantis/view.php?id=2734    ;)

Is there a solution or, for now, this bug is only reported on the bug tracker?
Title: Re: Session verification failed. Please try logging out and back in again, and .
Post by: Smoky "Rider" Blue on November 11, 2008, 08:11:15 AM
no solution yet, lets just hope they can get it figured out soon..  ;)
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: gianx80 on November 11, 2008, 09:09:54 AM
Quote from: SmokyBlue on November 11, 2008, 08:11:15 AM
no solution yet, lets just hope they can get it figured out soon..  ;)

Thank you ... I'll monitor that page ... I hope in a fast solution.

Regards
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: scimmiotto on November 13, 2008, 03:02:30 PM
up. any news about a quick fix?
Title: Re: Session verification failed. Please try logging out and back in again, and .
Post by: Smoky "Rider" Blue on November 13, 2008, 08:54:33 PM
quick fix:

admin>packages>options


make all files writeable..


dont worry, they will revert back..  and the same situation will still be there later.. but it is a temporary solution..  :)
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: scimmiotto on November 14, 2008, 02:31:11 AM
tnx a lot!!!
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: Rev.Robert on November 14, 2008, 12:10:50 PM

admin>packages>options
i dont have such a directory?
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: scimmiotto on November 14, 2008, 12:23:19 PM
it's in the admin panel of smf :)
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: Rumbaar on December 12, 2008, 05:29:08 PM
Temporary solution:
SMF 1.1.7: Session verification failed error when installing mods (http://www.simplemachines.org/community/index.php?topic=278824.0)
Title: Re: Session verification failed. Please try logging out and back in again, and ...
Post by: Ricardo-san on December 16, 2008, 04:57:45 PM
I just chmodded everything to 777 as mentioned above...then after installating packages chmodded back to 755.