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   2036 Views

Avatar
cmstester

Community Member, 15 Posts

22 June 2008 at 5:52am

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

Forum Moderator, 5513 Posts

22 June 2008 at 11:05am

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

Avatar
cmstester

Community Member, 15 Posts

22 June 2008 at 11:30am

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

Avatar
Willr

Forum Moderator, 5513 Posts

22 June 2008 at 11:36am

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

Community Member, 15 Posts

22 June 2008 at 3:05pm

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

Avatar
jam13

121 Posts

22 June 2008 at 10:06pm

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

Community Member, 15 Posts

23 June 2008 at 1:37am

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

Forum Moderator, 474 Posts

23 June 2008 at 7:23am

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

MathSpamProtection::setEnabled();


to your _config.php file.