[resolved] wp-comments-post.php 500 Internal server error (4 posts)

  1. szarik
    Posted 5 years ago #

    Hi guys.

    I recently found a pretty strange problem with wp-comments-post.php on IE8 browser :/

    When I want to submit a blank comment (or with error in form) on my blog post (www.amatorkina.pl), an 500 Internal server error shows up.

    Do you know what is wrong?

    Thanks for any help.

  2. szarik
    Posted 5 years ago #

    Problem resolved:

    Open: 'wp-includes/functions.php'

    Change '$defaults = array( 'response' => 500 );'
    To '$defaults = array( 'response' => 200 );'

    Thats all :)

  3. Fluotonic
    Posted 5 years ago #

    Hi szarik,

    I was really happy when I found your solution ! Somuch time spent on this problem I just couldn't figure out...

    Anyway, I wasn't satisfied with the idea of hacking the core of WordPress. As you know, it can become a real pain in the ass if you have to constantly modify the core for every WordPress install. And I'm not even speaking of the WordPress updates...

    Here is the final solution I found by my side : http://wordpress.org/support/topic/288615?replies=19#post-1449246

    I hope it will work for you too and for all of WordPress users like us :-)

    Happy wordpress coding to all !

  4. sailboatvn
    Posted 5 years ago #

    Fluotonic, thanks for a reference.

    I have tried to follow the instruction, but the problem still persists. It's really weird.

    We are having the same issue with admin-ajax.php file as well and for this reason, we could not approve any people's comment.

    Any other ideas would be grateful.


Topic Closed

This topic has been closed to new replies.

About this Topic