Edit Profile Error: "Invalid form token. Please reload this form and submit again"
Permalink
Hi All,
I moved a development site to live last week (different host) and now am getting an "Invalid form token. Please reload this form and submit again" error whenever a user tries to edit their profile.
None of the site members had access to the development site, but I never had any troubles previously editing a test profile. The error now occurs on both sites.
Both site URL's are still listed under the same project. But I assume it's acceptable to have a dev site on a different server? Happy to delete the dev version of it I guess though.
Anyone have any ideas of what is going on? The site ishttp://alla.asn.au/ if that helps.
It is driving the site members crazy I think, and I haven't had much luck finding a relevant post with a solution that makes sense in my context. Any help appreciated.
Thanks,
David
I moved a development site to live last week (different host) and now am getting an "Invalid form token. Please reload this form and submit again" error whenever a user tries to edit their profile.
None of the site members had access to the development site, but I never had any troubles previously editing a test profile. The error now occurs on both sites.
Both site URL's are still listed under the same project. But I assume it's acceptable to have a dev site on a different server? Happy to delete the dev version of it I guess though.
Anyone have any ideas of what is going on? The site ishttp://alla.asn.au/ if that helps.
It is driving the site members crazy I think, and I haven't had much luck finding a relevant post with a solution that makes sense in my context. Any help appreciated.
Thanks,
David
Hello,
What version of C5 are you (two) using?
What version of C5 are you (two) using?
Currently Running 5.6.3.1
Just would like to see if there was any luck figuring this out?
I tried 5.6.3.1 and didn't have any problem. Maybe you modified something?
actually, the token verification was added in this version and didn't exist before for profile editing so you might be using a theme that is templating the profile editing page without the token and it's throwing the error since the new controller is expecting the token.
Thanks for your reply.
I have been searching for an answer for two weeks with not a single relevant result coming up.
I am also on 5.6.3.1, using a custom template that started out as Greek Yoghurt. I did all mods myself so really I think there were just some basic stylings.
Any idea on what to do next? I suspect just copying over the edit.php single page from the latest Greek Yoghurt won't be enough to catch where it is occuring, right?
I have been searching for an answer for two weeks with not a single relevant result coming up.
I am also on 5.6.3.1, using a custom template that started out as Greek Yoghurt. I did all mods myself so really I think there were just some basic stylings.
Any idea on what to do next? I suspect just copying over the edit.php single page from the latest Greek Yoghurt won't be enough to catch where it is occuring, right?
Actually, just thought I should add that I did use the mega menu addon, just in case I share that with crowljor above? I think it's the only always included add on I use.
Actually you can check very easily if the token is there or not (sorry I didn't think about it earlier).
Go to the profile edit page in your browser than look at the source and see if you have something like this:
What's important is the name ccm_token
If you don't have then it's the source of problem and most likely your theme needs to be modified to generate that tag
Go to the profile edit page in your browser than look at the source and see if you have something like this:
<input type="hidden" name="ccm_token" value="1398159371:e70214918d957c6f8a38d0130ec38aa8" />
What's important is the name ccm_token
If you don't have then it's the source of problem and most likely your theme needs to be modified to generate that tag
Thank you very much for your help.
Before I read this latest reply, but having read your question about the themes we were using, I got thinking about the obvious solution being something I had edited in these pages.
I only had the profile files in my /single_pages/ directory, so I just went and renamed it temporarily so that the /concrete/single_pages/ files were picked up instead.
That worked... So, without going into too much detail, it wasn't actually the /single_pages/profile/edit.php file that was the problem, but what I had done to /single_pages/view.php (so my guess is that the token was not being passed along at that point).
Very very grateful for your input!
Before I read this latest reply, but having read your question about the themes we were using, I got thinking about the obvious solution being something I had edited in these pages.
I only had the profile files in my /single_pages/ directory, so I just went and renamed it temporarily so that the /concrete/single_pages/ files were picked up instead.
That worked... So, without going into too much detail, it wasn't actually the /single_pages/profile/edit.php file that was the problem, but what I had done to /single_pages/view.php (so my guess is that the token was not being passed along at that point).
Very very grateful for your input!
You are very welcome
I got to that point finally after mnakalay suggested I did something to my file. I did the same by adjusting the view.php and didn't put the two together.
Thanks for the Help.
Thanks for the Help.
Thanks
Jordan