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.

Archive

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

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

Comments not working


Reply

8 Posts   2017 Views

Avatar
cmstester

22 June 2008 at 5:52am Community Member, 15 Posts

I can't seem to comment on my site. If i try to add a comment, it just sits there and says loading and goes nowhere. My site is http://www.cmstester.com

Can anyone advise how to fix this? comments are critical for me.

Avatar
Willr

22 June 2008 at 11:05am Forum Moderator, 5511 Posts

random, the post request times out. You havent got any other custom JS going or anything?

Avatar
cmstester

22 June 2008 at 11:30am Community Member, 15 Posts

The only thing I have on there is my google analytics code. Would that cause the problem perhaps?

Avatar
Willr

22 June 2008 at 11:36am Forum Moderator, 5511 Posts

I doubt it. You can try removing it.. Ive just checked on demo.silverstripe (on the commenting page :P - http://demo.silverstripe.com/commenting/) it seems like that has the same issue. If you could check this against a default install of 2.2.2 and if its still broken on that then you should lodge this as a ticket in trac, seems a pretty major thing to be broken on everyones site and no ones picked up on it!

Avatar
cmstester

22 June 2008 at 3:05pm Community Member, 15 Posts

Just tried on default install with same issue. I opened a trac incident

Avatar
jam13

22 June 2008 at 10:06pm 121 Posts

You'll notice that the comment post actually succeeds, it's the ajax update of the comment on the page which fails.

I've seen problems with the Akismet spam detection doing this. Do you have a key set in the _config.php? If you do, try commenting it out and see if the problem goes away.

Avatar
cmstester

23 June 2008 at 1:37am Community Member, 15 Posts

Wonderful! Thank you very much. as soon as i remove akismet it started updating immediately. Of course, now i have no spam protection.. but good to know. thanks for the help

Avatar
simon_w

23 June 2008 at 7:23am Forum Moderator, 474 Posts

You can have the same spam protection used on the SilverStripe site. Add

MathSpamProtection::setEnabled();


to your _config.php file.