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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Static Publisher & Blog Comments - SecurityID doesn't match


Go to End


2 Posts   2185 Views

Avatar
outer/edge

Community Member, 2 Posts

15 September 2010 at 11:27pm

Hi All,

We have the Static Publisher up and running nicely on Silverstripe 2.4 however people are unable to post comments on our Blog due to the CSRF validation error:

SecurityID doesn't match, possible CSRF attack.

On our Contact Form, we've applied the following which works fine:

$form->disableSecurityToken();

However we can't see how this should be applied with comments.

Any ideas?

Thanks

David

Avatar
ccburns

Community Member, 79 Posts

12 January 2012 at 9:19am

Hi David,

Did you ever work this out? I have just set up the static publisher and had the same thing happened.

Would appreciate if you could share if you solved the problem.

Cheers,
Colin