Jump to:

23481 Posts in 18965 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Akismet not working (get timeouts)

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 1466 Views
  • HansR
    Avatar
    Community Member
    140 Posts

    Akismet not working (get timeouts) Link to this post

    Comments are no longer working on my website. I get a timeout error that says the following:

    Fatal error: Maximum execution time of 60 seconds exceeded in ...\cms\code\sitefeatures\Akismet.php on line 357

    Line 357 of akismet.php is in the middle of a loop:
    while(!feof($fs))
    {
       $this->response .= fgets($fs, $this->responseLength);
    }

    Has something changed with the Akismet service itself? Or is there an issue with my server? My site is hosted on an IIS6 server. I have already double-checked my Akismet API key.

    Hans

  • HansR
    Avatar
    Community Member
    140 Posts

    Re: Akismet not working (get timeouts) Link to this post

    I'm not sure if this helps, but someone else found that Akismet's servers behave better under HTTP/1.0 instead of HTTP/1.1. See here. Maybe someone who is familiar with the Akismet code could experiment a little.

    Hans

  • pixelmin
    Avatar
    Community Member
    16 Posts

    Re: Akismet not working (get timeouts) Link to this post

    I get exactly the same message

    Any solution?

  • HansR
    Avatar
    Community Member
    140 Posts

    Re: Akismet not working (get timeouts) Link to this post

    I upgraded to the latest version of Silverstripe, and switched to Mollom. That's working nicely.

    Hans

  • pixelmin
    Avatar
    Community Member
    16 Posts

    Re: Akismet not working (get timeouts) Link to this post

    Great, thanks!

  • pixelmin
    Avatar
    Community Member
    16 Posts

    Re: Akismet not working (get timeouts) Link to this post

    Now I have a little problem

    I've installed Mollom and Spam Protection Modules. I've followed every step on the installation guide:
    http://doc.silverstripe.com/doku.php?id=modules:mollom

    But when I go to the "Reports" section on the administration I can see "Mollom" but I don't get “Your mollom key is working.” message and I see nothing in the right panel.
    Also, when I go to an entry page on the front-end the page is totally blank.

    Do you know what I did wrong?

  • pixelmin
    Avatar
    Community Member
    16 Posts

    Re: Akismet not working (get timeouts) Link to this post

    Nevermind.

    I'm working in a local computer and I guess Mollom key isn't working. I suppose I won't have this problem when I upload my SS site to a server.

    1466 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.