• Hello,

    I’ve been experiencing my blog hanging and timing out when a person posts a comment. It seems that when leaving a comment, the browser appears the comment is “posting”. Then it times out or just sits there. However the comments are posting to the site, but the browser appears to be waiting.

    The site is http://www.nationalrepublicrat.com

    Thanks for any help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • I’d say it’s got something to do with the javascript that’s being linked in, in your form. Can it be placed in the <head> instead?

    Thread Starter natrepub

    (@natrepub)

    Thanks for the reply! I am a rookie when is comes to this. :-).

    Which JS are you referring to?

    Much appreciated!

    There was a threaded comments piece of javascript inside the form earlier but it’s gone now.

    Thread Starter natrepub

    (@natrepub)

    Oh, I deactivated that right before I made the original post. Sorry, it must have been cached.

    It seems to be intermittent. Did it hang on your test posts?

    It did it on mine from about 30 minutes ago and then not on the last one. 🙂

    It didn’t do it last time I tried. Sorry for the test posts, I’m not spamming, haha.

    Thread Starter natrepub

    (@natrepub)

    Hehe, no prob! Any suggestions if it pops up again?

    For one make sure there is no JS in the form. If a plugin is adding it in, see if you can customise the plugin so that it doesn’t insert the JS into the form and insert it into the head manually. But obviously if it needs to go in the form then it needs to go in.

    Maybe a good idea to see if it’s submitting any extra CPU usage on the server when it submits the comment.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Site Hangs on When Leaving a Comment’ is closed to new replies.