I had the same problem for about a week. Unfortunately for every post in here with this problem there is a different solution. Here is what fixed it for me…
check that the wp_comments_post.php file contains code. Mine didn’t. I checked my original WordPress files, and re-uploaded the wp_comments_post.php file. That fixed it. Don’t foget to set the correct file access value (666 or 777)