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.

Template Questions /

Comments Moderation Error


Reply


609 Views

Avatar
bimah

Community Member, 1 Post

7 April 2011 at 8:57pm

Hi all, I am not sure if this is the right place to post this, sorry in advance if is not....

I implemented the "Registering Users and allowing them to edit their details" on SSBit (http://www.ssbits.com/tutorials/2010/site-members-registering-users-and-allowing-them-to-edit-their-details/) with the Silverstripe 2.5 built-in comments and moderation.

Everything was working fine at the beginning and I could approve/delete/spam the comments with no problems; recently when I try to approve a comment I get a "400 Bad Request" alert. I checked on firebug and it look like same conflict between scripts:

http://mysite.com/PageComment_Controller/approve/12?SecurityID=e17e2fedf1e523e5dd3f7d1a046f688df06e641c?ajax=1

if I remove the ?ajax=1 the request work.

Any ideas are welcome and thanks in advance.