• Once a comment has been submitted the page jumps to the top page of the website again. i.e. it doesn’t stay on the post where the comment was intended. On the post there is no comment to be found.

    The comment is to be found in the wp_comments data base, and the number of comments is also displayed on the post excerpt page. i.e. the top page of the website.

    However the problem is that the comments do not display on the individual posts or in the admin on the post edit page.

    There are approx. 23,000 comments to be found in the wp_comments data base. Until a couple of days ago the comment id’s were increasing one by one in the range of 23010. But then suddenly the comment id jumped to 9821051757928253010.

    How is the comment id generated? Could there be an error in the coding, which is causing this problem?

    How can I get the comments to show on the posts again.

    Please help.

    • This topic was modified 8 years, 5 months ago by supertrooper2.
Viewing 6 replies - 1 through 6 (of 6 total)
  • It does sound like there is a piece of code causing this or the db is damaged.

    Did you implement any new plugins or a new theme before this started happening? If so, which one(s)?

    • This reply was modified 8 years, 5 months ago by Davood Denavi.
    Thread Starter supertrooper2

    (@supertrooper2)

    No, there have not been any new themes or plugins installed recently.

    I also deactivated the theme and all plugins but this did not resolve the problem.

    What else can we do to discover the cause of the malfunction?

    Please advise.

    Check to be sure comments are not turned off in the WP-Admin. Depending on what theme you are using there may be more than one place you need to look to be sure comments are enabled. The first place would be under Settings >> Discussion.. after that I would need to know what theme you are using to make suggestions as to where you should be looking within the theme settings.

    Also, are you familiar with phpMyAdmin for managing SQL databases? If so, I would suggest doing a repair on the database. This will fix any problems there might be with the database.

    Thread Starter supertrooper2

    (@supertrooper2)

    I finally solved this problem by deleting all of the comments in the wp_comments database with a high comment_id and resetting AUTO_INCREMENT to 24000 in the table options.

    Glad you found a solution albeit not an ideal one at least you were able to resolve the problem.

    Sorry I was not able to be of more assistance!

    Supertrooper2 – how did you do that? I have the same problem….

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WordPress Comments Not Working’ is closed to new replies.