WordPress.org

Ready to get started?Download WordPress

Forums

No comments - 404 on wp-comments-posts.php - FIXED! (2 posts)

  1. quietcity
    Member
    Posted 4 years ago #

    I've been searching for a solution to this problem for hours. Everyone seems to be experiencing a problem when visitors try to comment on a post, and they get a 404 Page not found error. This was happening for me on all my sites with WP 2.7.1.

    I've seen people in forums talking about resetting permalinks, adding code hacks to files, reinstalling WP, disabling plugins, etc. None of that seems to be working for anyone. I figured it out!

    After staring at code for hours, I decided to look at the files on the server with my FTP software (WS_FTP Pro). I discovered that the file "wp-comments-posts.php" did not have any file attributes (CHMOD values).

    Furthermore, I could not CHMOD the properties on the file... so I deleted it and uploaded a fresh one to replace it. The new copy automatically had security attributes of 644 (RW-R-R).

    I reloaded my site in a browser, completed the comment form, and BINGO, it works!

    I don't know why the file lost its CHMOD properties on the server side, but deleting and reloading it through my FTP program did the trick.

    Comments now work on all my WP sites.

  2. a2xm
    Member
    Posted 3 years ago #

    Hi quietcity,

    I have tried searching this forum to find a solution for my blog, but couldn't find it.

    Every time I click the submit button for send the comment, I got this error:

    Not Acceptable

    An appropriate representation of the requested resource /fxlog/wp-comments-post.php could not be found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    I've checked the wp-comments-post.php permission and it is 644.
    Could you help me?
    Thanks ind advance..

Topic Closed

This topic has been closed to new replies.

About this Topic