Forums

[resolved] Can't delete a comment (14 posts)

  1. Monkeyboy
    Member
    Posted 1 year ago #

    I have a pending comment which I can't seem to delete. For some reason, there's no tick box next to the comment in question, so I can't do anything with it. I can't even approve it, move it to spam or anything.

    Whilst not a major problem, it's kind of bugging me. Is it possible to go directly into the database via phpMyAdmin, and delete it that way, or is that too risky? Am I liable to do more damage than good?

  2. kmessinger
    Member
    Posted 1 year ago #

    All those boxes, etc. are a function of javascript. You can try another computer or delete the wp-admin/js folder and upload files again and/or make sure your java is up-to-date and functioning.

  3. Monkeyboy
    Member
    Posted 1 year ago #

    Javascript doesn't seem to be the issue. One thing I've noticed, is that it's actually a test comment back from when I started my website. And it's not actually attached to a post. Could that be causing the problem?

    Not sure how I missed deleting it in the first place, to be honest.

  4. kmessinger
    Member
    Posted 1 year ago #

    That disappears after the first real comment I believe. Missing a box, you should at the least, delete the js folder and I would delete the entire wp-admin folder and move fresh files to the server.

  5. Monkeyboy
    Member
    Posted 1 year ago #

    I deleted the whole of the wp-admin folder, and reuploaded it from a fresh WP download.

    I've still got the same problem, unfortunately.

    Here's a couple of pics to illustrate what I mean, just to avoid any confusion. First picture shows a comment with a tick box, the second without.

    Comment 1

    Comment 2

  6. kmessinger
    Member
    Posted 1 year ago #

    This is just one comment? Others since then have the box?

    URL?

  7. kmessinger
    Member
    Posted 1 year ago #

    Jeez, I finally looked at comments. All have the box but the box is irrelevant. Just mousing over an unapproved comment itself brings up,
    Approve|Reply|Quick Edit|Edit|Spam|Trash

  8. Monkeyboy
    Member
    Posted 1 year ago #

    Yep, it's just the one comment. All other comments since then have a tick box next to them.

    My website URL is http://bananasaboutmovies.com

  9. Monkeyboy
    Member
    Posted 1 year ago #

    Just mousing over an unapproved comment itself brings up,
    Approve|Reply|Quick Edit|Edit|Spam|Trash

    Mousing over the comment doesn't bring that up either. It works for every other comment, but not for this one rogue comment.

  10. kmessinger
    Member
    Posted 1 year ago #

    Which post has the comment? The Adjustment Bureau?

  11. Monkeyboy
    Member
    Posted 1 year ago #

    Nope, that's the thing. No post has the comment. It's not attached to any posts in my blog. I'm baffled.

  12. kmessinger
    Member
    Posted 1 year ago #

    I would look at the source code for that page and that comment which I assume is the comments page in the dashboard.

  13. kmessinger
    Member
    Posted 1 year ago #

    Also like you suggested at the beginning, deleting from the db should be easy. Just make sure you have a backup. You should actually have 3 backups, the main, the father and the grandfather.

    In the db you go to wp-comments and browse (using mySQLadmin) and the table will come up with the comments and all columns, like name, url, etc. You would delete the entire column using the check-box (hope fully this one shows up) on the side.

    This is what you do wiht a "normal" host. If you have GoDaddy there might be special considerations and I would contact the host first.

  14. Monkeyboy
    Member
    Posted 1 year ago #

    Done, and done. I found the pending comment in the wp_comments table and deleted it via phpmyadmin. Everything's back to normal now.

    Thanks for the help, kmessinger.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.