I have an interesting problem happening with this WordPress (version 2.8) Comments. This happens only in IE8. Here is what I noticed :
Whenever I submit a Comment to my posts while leaving blank any of the required fields (name, Email, comment textarea), I get the HTTP 500 error message. Even if I typed the name and comments but I typed an invalid email address, I still get the HTTP 500 error in IE8. Filling up all required fields (with a valid Email address) cause no errors and the comment will be added. Below is the error message that I get in IE8:
All other browsers: Mozilla/Firefox 3.6, Google Chrome 4, Opera 10, and Safari 4 work fine. When any of the required fields is left blank, or for an invalid Email address, these browsers display the appropriate error message as coded in
So far I have NO solution for this and I don´t know how to solve it. The plugins installed, and the theme itself are not the cause for this problem. I deactivated all the plugins and I tried different themes and the problem persists. It seems to me that IE8 has an issue with the Error handling in
wp-comments-post.php. However, when I test this on other WordPress run Websites, IE8 displays the appropriate error message. Weird!!!
If you know of a solution, please reply to this post. You can also follow this thread in WordPress Forum.
UPDATE: PROBLEM SOLVED
I found the solution to this problem. Now IE8 behaves the same like the other browsers. The fix lies in WordPress core code.
Go to: “wp-includes/functions.php”
Change “$defaults = array( ´response´ => 500 );”
To “$defaults = array( ´response´ => 200 );”