2.1 Alpha 1: Token verification failed. Please go back and try again.

Started by Burke ♞ Knight, September 16, 2013, 06:51:38 AM

Previous topic - Next topic

Burke ♞ Knight

In admin panel, getting this when trying to save edits in Current Theme, and when try to clear file cache.

Token verification failed. Please go back and try again.

Any ideas on why, or fix?

EDIT:

Now, I'm getting it everywhere in Admin section.

Illori

it works fine for me, are you using the latest version from github?

Burke ♞ Knight

Yes, been working on a theme, now get this everywhere.
Test site on localhost WAMP server.

Illori

then it seems like you may have removed some code for the token validation as that is in the theme files, not source. [hidden fields]

Burke ♞ Knight

I think I found the issue.
Note to mod and theme makers:

Do not place any code in the area where the meta is, as it causes this issue.
I had tried to add my usual favicon setting right above the title tag in the meta section.
Had to move it up some. ;)

Illori

that sounds odd, IMO it should not cause this issue unless there is an issue with the code syntax you used.

Burke ♞ Knight

Here is my code:

<link rel="shortcut icon" href="', $settings['favicon'], '" type="image/x-icon" />

Works in 2.0.x forums.

Illori

i guess at this point would be best for a dev to take a look... last i check i was not a dev :P

Arantor

There are actually some issues with token validation in the generic settings pages since the token check is carried out but I don't see the token itself being pushed into the generic settings template.
Holder of controversial views, all of which my own.


Arantor

Holder of controversial views, all of which my own.


Burke ♞ Knight

I think Oldiesmann had fixed this back in September.
Just never got closed.

Advertisement: