Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Problem with post forms

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

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

Page: 1
Go to End
Author Topic: 1306 Views
  • blaater
    Avatar
    Community Member
    22 Posts

    Problem with post forms Link to this post

    Hello,

    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!

  • cideas
    Avatar
    Community Member
    6 Posts

    Re: Problem with post forms Link to this post

    I'm having this same problem. My code is here http://pastebin.com/m943fbe0

    1306 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.