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.

Blog Module /

Discuss the Blog Module.

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

Comment Moderation - Unable to Approve Multiple Comments


Go to End


2 Posts   2027 Views

Avatar
Garrett

Community Member, 245 Posts

24 November 2009 at 4:08am

Hi,

Has anyone else ever seen the error "Error talking to server" when attempting to approve multiple Blog comments by checking their boxes and clicking the "Approve" button at the bottom right? This has Never worked for me. I can approve them one by one using their individual buttons per row, but the bulk action does not work.

I turned Firebug on and this is the detailed error:

Error 256: Object::__call() Method 'acceptmarked' not found in class 'Form'
At l199 in /usr/local/silverstripe/html/sapphire/core/Object.php
user_error(Object::__call() Method 'acceptmarked' not found in class 'Form',256)
line 199 of Object.php"

Anyone know how to fix this?

Thanks!

//Garrett

Avatar
Garrett

Community Member, 245 Posts

24 November 2009 at 5:12am

In case anyone's following this issue, this was easy to fix. All that need be done is to rename the function "approvemarked()" to "acceptmarked()" in cms/CommentAdmin.php, line 244.

Thanks,
Garrett