Token verification failed. Please go back and try again.

Started by EmilioGaviria, April 13, 2025, 09:57:46 PM

Previous topic - Next topic

EmilioGaviria

so Im getting this message when I try to login "Token verification failed. Please go back and try again."

I have bunch of mods installed and Im assuming one of them is causing this issues, also I moved domain on the site this could be it (I doubt as issue started when I installed mods... even after I removed it never went away.. so its fair to say repair_sttings.pphp worked)

my question is, is there a way to troubleshoot this one to leave some kind of mark in the logs so I know where to look?

Kindred

moving domains can definitely cause this issue if you did not a) correctly update ALL of your system URLs and paths... and b) change the cookie name.


You can check/correct the urls/paths and cookie name using repair_settings.php

and/or delete your site cookies in your browser
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

EmilioGaviria

Quote from: Kindred on April 14, 2025, 07:32:17 AMmoving domains can definitely cause this issue if you did not a) correctly update ALL of your system URLs and paths... and b) change the cookie name.


You can check/correct the urls/paths and cookie name using repair_settings.php

and/or delete your site cookies in your browser

sorry forgot to mention, I moved domains while back and everything was working for months
it's definitely one of the mods I installed, but now even after all are removed, issue persists

is there really no way to log where this error is coming from?


Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

EmilioGaviria

yeah .. multiple browsers
removed all installed mods, remove all hooks from repair_settings.php

still same issue for all forum users

I installed invitation mod, conversations and shoutbox pro from smfhacks

I'm 99% sure everything was working just fine with these 3

than I started installing random themes and boom, now I'm stuck with this error.. no fixing it even when I remove all mods


Kindred

ok,...


1- install themes before mods. otherwise mod edits to template will not be applied to new themes

2-what theme are you running now?

3- what are your settings for local vs subdomain independent cookies?
4- what are your settings for database driven sessions?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

EmilioGaviria

Quote from: Kindred on April 14, 2025, 06:16:12 PMok,...


1- install themes before mods. otherwise mod edits to template will not be applied to new themes

2-what theme are you running now?

3- what are your settings for local vs subdomain independent cookies?
4- what are your settings for database driven sessions?

1.) I guess this is where being new to smf comes in.. I just wanted to see what it looks like
2.) only default now
3) It's a sub-domain to begin with, its a dev site and Im still learning, I invited some users to join and test .. but it's not a "production" site .. keep in mind, this wasn't a problem until I installed "something"
4.) Where do I see that?



Kindred

index.php?action=admin;area=serversettings;sa=cookie
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

EmilioGaviria

no luck

I'm just gonna do re-install and try again but only with modifications I need

didn't think testing some mod\theme and deleting if I don't like it would break things ....

Advertisement: