CommentLuv gets CommentSmothered!

Tags:
1,370 views

I tried to respond to a comment on my CommentLuv plugin page this morning, and I was greeted with this error,
500 Error — Internal Server Error. There has been an internal server error
oh noes!! The site was working fine for the main index page but single posts kept on throwing up a 500 error :-(

I had a quick search of the Wordpress forums and found a variety of posts from people experiencing the same problem, each one with a different solution. I went through each solution until I revived the site back to it’s normal functionality.. here’s what I did..

  1. .htaccess
    Some people had the problem because their htaccess file was not writable or their server had mod_rewrite disabled. I tried deleting the htaccess file and then going back to ‘options/permalinks’ and updating the permalink structure. The update went through with no problems (sometimes it will say “could not update htaccess” which means it is not writable by the server). The problem still persisted though..
  2. wp-cache
    I thought it might be a cache problem seeing as the CommentLuv page gets so many visitors (it has a pr5 too!), I disabled the cache plugin.
    still no joy…
  3. php.ini - only 8m of memory?
    I thought it might be too much memory used (I was close) so I edited php.ini in the root of my hosting folder and put this line in.
    memory_limit=16M
    Not successful :-(
  4. Too much content?
    I tried browsing to the CommentLuv page on my mobile phone once and it crashed with “out of memory” error and considering it has (atm) 199 responses, I thought that might be something to do with it. I know my stats sometimes give me a 500 internal server error when it takes a long time to load so that looked to be the problem.
    I downloaded a plugin called ‘paged-comments‘ and installed it, I particularly like the way you can stop it from paging every post and only choose which posts need paged comments by adding a custom field to the post editing screen.

    Sorted that out and tried to view the page, it loaded partly! almost there!

  5. Plugin memory hog.
    On the nearly loaded page there was an out of memory error relating to sh-autolink (a plugin which automatically makes certain words in to html links) so I disabled that and SUCCESS!
    It all works fine now.

A combination of too many comments and a plugin that scans the whole text for keywords led to my 500 internal server error for Wordpress, it’s now fixed with a neat plugin and a quick removal of another. phew!

The CommentLuv plugin page is now up and working fine again, I never realized that it would get so much attention when I first drafted it. Thanks everyone for using CommentLuv!

Popularity: 3% [?]

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Tags: , , , ,

Print This Post Print This Post

Related Posts

  • bloody server! had to update commentluv 3 times today
  • Write text to a .png with php
  • Commentluv Wordpress Plugin
  • Beta testing CommentLuv 1.0
  • OMG I just formatted my server!
  • CommentLuv gets more muscle
  • Stumbleupon widget for wordpress
  • 14 Responses to “CommentLuv gets CommentSmothered!”

    1. 1
      Lalla Mira (57 comments.) Says:
      MyAvatars 0.2

      Glad to know you sorted things out. :)
      Lalla Mira’s last blog post..Beats Of Boredom

    2. 2
      Andy Bailey Says:
      MyAvatars 0.2
      me too! Hopefully I caught it in time to not have too much of an impact on the visitors here.
    3. 3
      AntiBarbie (40 comments.) Says:
      MyAvatars 0.2

      I envy your ability to have figured that out so quickly. I’m only a quasi techie girl…. *sigh*

      AntiBarbie’s last blog post..Only Bad Moms Daydream.

    4. 4
      pelf (26 comments.) Says:
      MyAvatars 0.2

      I don’t know what you’re talking about on your post (most of the time anyway) but I’m glad you’ve got it figured out! :)
      pelf’s last blog post..Some updates and more link loves

    5. 5
      Andy Bailey Says:
      MyAvatars 0.2
      AntiB: a quasi-techi is just as good as a techi in my book! I envy your writing skills, I look forward to the short stories you put on your blog.

      pelf: haha, thanks! I thought I had better put all the options I had tried in there in case someone searches for “500 internal server error” one day when they have the same problem.

    6. 6
      Dabawenya Babe (1 comments.) Says:
      MyAvatars 0.2

      That’s great that you were able to fix the error right away. You’re plugin is cool.

      Is it ok if I’ll try to use it too?

      Dabawenya Babe’s last blog post..Top USA Online Casinos

    7. 7
      Andy Bailey Says:
      MyAvatars 0.2
      you are welcome to use it, let me know if you need help with it…
    8. 8
      Bobby Revell (33 comments.) Says:
      MyAvatars 0.2

      I’ve had a problem with hanging when folks enter a comment. I removed subscribe to comments and now all is fine! Thats supposed to be a trouble free plugin. I think Subscribe to comments isn’t compatible with something I’m using. I like threaded comments! Any ideas?

      Bobby Revell’s last blog post..Tag Madness

    9. 9
      Andy Bailey Says:
      MyAvatars 0.2
      I have seen CL working with threaded comments on other blogs but I think that might have been a different threaded comments plugin.
      I am using an updated one on this blog to test out the small code improvements before I release it, would you like the new version now?

      I’ll send it by email to the address you used for your comment.

      it has better support for blogspot and typepad blogs, higher priority so it get runs before other plugins like dofollow and some others and shouldn’t cache the feed for so long.

      hopefully the new version will fix your woes, if not then I can work on it some more with your feedback, I hope it can work find on revellian.com because I’ve see some great blogs on the comments of your posts!

    10. 10
      Andy (1 comments.) Says:
      MyAvatars 0.2

      I love your CommentLuv plugin! I think it may be the answer to world peace. :)

      I had a few comments that were not finding the last blog post. I ended up increasing the value of MAGPIE_FETCH_TIME_OUT and that seems to have fixed the problem.

      Thanks

      Andy’s last blog post..Pizza Dough

    11. 11
      Andy Bailey Says:
      MyAvatars 0.2
      I am so glad it works and appears underneath so much yummy food on your blog!
      it’s official, I’m having home made pizza this weekend! thanks for the dough recipe
    12. 12
      Sharon (82 comments.) Says:
      MyAvatars 0.2

      he-he-he. Wordpress kind of keeps you on your toes whether you like it or not.

      I think you deserve a drink.

      Sharon’s last blog post..
      Greetings From Your Pet

    13. 13
      Andy Bailey Says:
      MyAvatars 0.2
      it sure does! … I think a glass of red will do then :-)
    14. 14
      noee (1 comments.) Says:
      MyAvatars 0.2

      Hi Andy!

      First off, thanks for creating this cool plugin! I’ve installed it on 3 of my blogs and it’s working great on 2 of em but it’s not working on one. I hope you can help me figure out what I did wrong on that one blog. Thanks! :)
      noees last blog post..How to create surprise extra money under your bed

    Leave a Reply

    Blog Comment Policy
    I encourage comments on this blog and really appreciate people taking the time to add to the discussion. I use dofollow and CommentLuv so there is more incentive to leave relevant comments. However, comments that are made for the sole purpose of getting a link back to your site or using key words or phrases as your name will have the url and last blog post removed. Anonymous comments are welcome but only if they contribute to the discussion. You are fine to disagree with my post, but being rude to me or other people that comment will see your comment removed and your IP banned.