Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Problem with post forms

Go to End

2 Posts   1651 Views


Community Member, 22 Posts

6 March 2008 at 6:38am


I'm having some problems with my website. I've made a custom module for my website and the only thing it does at the moment is showing the profile of a member and a form for editting the profile. The form has worked fine, but when I try to save the form now, silverstripe shows an error :

FATAL ERROR: Security ID doesn't match, possible CRSF attack.

After some research I found out that you can disable the security with the disableSecurityToken function. I did this and in the save function of the form I printed the Data array. It's empty except for the url and executeForm values which are get values. The rest of the form is post.

Does anybody know what to do?
Thanks in advance!


Community Member, 6 Posts

12 August 2008 at 12:12am

I'm having this same problem. My code is here