Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Comments not working

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

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

Page: 1
Go to End
Author Topic: 1969 Views
  • cmstester
    Avatar
    Community Member
    15 Posts

    Comments not working Link to this post

    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.

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Comments not working Link to this post

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

  • cmstester
    Avatar
    Community Member
    15 Posts

    Re: Comments not working Link to this post

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

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Comments not working Link to this post

    I doubt it. You can try removing it.. Ive just checked on demo.silverstripe (on the commenting page - 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!

  • cmstester
    Avatar
    Community Member
    15 Posts

    Re: Comments not working Link to this post

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

  • jam13
    Avatar
    121 Posts

    Re: Comments not working Link to this post

    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.

  • cmstester
    Avatar
    Community Member
    15 Posts

    Re: Comments not working Link to this post

    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

  • simon_w
    Avatar
    Forum Moderator
    467 Posts

    Re: Comments not working Link to this post

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

    MathSpamProtection::setEnabled();


    to your _config.php file.

    1969 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.