WordPress.org

Ready to get started?Download WordPress

Forums

Comments visible from admin dashboard but not on site (3 posts)

  1. DawnSomewhere
    Member
    Posted 1 year ago #

    Hey,

    My issue is that I've recently noticed comments are not displaying anywhere on my site. However, the comments are clearly visible on the admin dashboard.

    For example this post here is currently showing six comments from the admin dashboard, which we can read and interact with, but from the actual page there's nothing. I've noticed that this is a site-wide problem and that all comments seem to be conspicuously missing, even though they all remain present and approved for from view of the admin dashboard.

    I don't know my php coding, so I've had a look at things and tried to do some rough comparisons, but I'm not sure where to start. I've got a bit of speculation, but I think my primary suspect is a plugin I downloaded to help get rid of trackback spam.

    Here's a link to that plugin:
    http://wordpress.org/extend/plugins/pingback-killer/

    I've sent them a message about it, but I need to explore more in case they aren't responsible. The thing that concerns me is that I can't see comments even if I disable their plugin. Can plugins potentially alter my site permanently? I assume yes, but that does seem to defeat the benefit of not permanently altering the code of my site manually.

    Our big issue is that our site attracts bots and we get bombarded with everything under the sun. Captcha works for comments, but pingbacks and trackbacks remain an issue. It seems that none of my visitors use pingbacks or trackbacks for legitimate purposes, but disabling pingbacks from the dashboard doesn't seem to stop spam bots from abusing them for some reason.

    What are some possibilities? What have I likely done to cause comments to vanish from the site, and how can I get them back without enabling trackbacks and pingbacks?

  2. CPC Mike
    Member
    Posted 1 year ago #

    First step would be to rule out any plugins that might be causing this. It sounds like you have done this for the most part. Have you modified any code? I ran across a similar problem with Twenty Ten a while back and for lack of anything else to try, I did a database repair and it worked. Not sure if its the same situation but might be worth a try.

  3. DawnSomewhere
    Member
    Posted 1 year ago #

    I enabled the built-in database repair function, but it didn't seem to help. Comments still aren't showing up on the main page.

    If it helps, I can maybe try posting the .php file for the wp-comments-post:
    https://docs.google.com/document/d/19krze9ZqBTpz70X9Mj38aEV9mg-2wdHbRjSS-NXU2vU/edit

    I tried comparing it to some existing comment files people have online, but like I said I don't know my php, so I'm not really sure what I should be looking for.

    I haven't altered any code myself, except for the database repair just today. That's why I question whether or not a plugin can permanently alter any code - turning my suspect plugins off isn't fixing the problem, so I'm not sure what else to try from here.

    Is there any other information that might be useful to someone that I should post? We've also done a bit of combing through our source code, but there are a lot of things pointing in a lot of different directions, so that's a tough spot as well.

Topic Closed

This topic has been closed to new replies.

About this Topic