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.

General Questions /

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

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

Static Publisher & Blog Comments - SecurityID doesn't match


Reply


2 Posts   1132 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, 74 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