Wordpress Please Help Me With Spam Comments Delete Them All!!!

Discussion in 'WordPress' started by Steam, Feb 6, 2008.

  1. Steam

    Steam Guest

    Messages:
    611
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #21
    OKAY I DELETED the wp_comments it says there is no comments but on the blog there still says "567" or whatever
     
    Steam, Feb 6, 2008 IP
  2. Pandemix

    Pandemix Well-Known Member

    Messages:
    954
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    120
    #22
    Don't know about an offer, but you might want to double check your Askimet key is valid. If it is then you better talk to the guys at Askimet, I'm sure they would love to hear how great their system is working for your blog.
     
    Pandemix, Feb 6, 2008 IP
  3. Dondon2d

    Dondon2d Peon

    Messages:
    3,193
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    0
    #23
    So far so good, all the comments are not there anymore. Except that it still shows the number of comments. Did you drop the whole wp_comments? o.o You're only supposed to clear it.
     
    Dondon2d, Feb 6, 2008 IP
  4. Steam

    Steam Guest

    Messages:
    611
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #24
    clearing it did nothing, I called someone who is very good with WP and he said a case like this is crazy. Never has he seen so much shit go through akemist.
     
    Steam, Feb 6, 2008 IP
  5. Steam

    Steam Guest

    Messages:
    611
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #25
    All the comments are gone i think? But it still says there is 100's of comments on the blog but none inside?
     
    Steam, Feb 6, 2008 IP
  6. scoopy82

    scoopy82 Active Member

    Messages:
    838
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    70
    #26
    You probably need to replace that table with a fresh copy. Do you have a backup copy of your database ? You can open that SQL file and grab the commands you will need. These will depend on the type of database you haveA*. For my setups... I am running WP 2.3.x and MySQL 5.0.27-standard and I would enter the following in the SQL command box:
    DROP TABLE IF EXISTS `wp_comments`;
    CREATE TABLE `wp_comments` (
      `comment_ID` bigint(20) unsigned NOT NULL auto_increment,
      `comment_post_ID` int(11) NOT NULL default '0',
      `comment_author` tinytext NOT NULL,
      `comment_author_email` varchar(100) NOT NULL default '',
      `comment_author_url` varchar(200) NOT NULL default '',
      `comment_author_IP` varchar(100) NOT NULL default '',
      `comment_date` datetime NOT NULL default '0000-00-00 00:00:00',
      `comment_date_gmt` datetime NOT NULL default '0000-00-00 00:00:00',
      `comment_content` text NOT NULL,
      `comment_karma` int(11) NOT NULL default '0',
      `comment_approved` enum('0','1','spam') NOT NULL default '1',
      `comment_agent` varchar(255) NOT NULL default '',
      `comment_type` varchar(20) NOT NULL default '',
      `comment_parent` bigint(20) NOT NULL default '0',
      `user_id` bigint(20) NOT NULL default '0',
      PRIMARY KEY  (`comment_ID`),
      KEY `comment_approved` (`comment_approved`),
      KEY `comment_post_ID` (`comment_post_ID`)
    ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
    Code (markup):
    * You may be running something else there and the syntax may differ.
     
    scoopy82, Feb 6, 2008 IP
  7. Steam

    Steam Guest

    Messages:
    611
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #27
    scoopy i tried it, it didn't fix the problem. I'm just getting so stressed I'm about to delete all my sites! Web-design always screws up for me!
     
    Steam, Feb 6, 2008 IP
  8. Dondon2d

    Dondon2d Peon

    Messages:
    3,193
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    0
    #28
    Don't do that. Just give them to me. Better have someone look it up for you, volunteers are everywhere. Just not me, you already rejected my offer. Haha.
     
    Dondon2d, Feb 6, 2008 IP
  9. Steam

    Steam Guest

    Messages:
    611
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #29
    I didn't reject you the dumb guy from my hosting said he had it all worked out. Than it didn't work!
     
    Steam, Feb 6, 2008 IP
  10. scoopy82

    scoopy82 Active Member

    Messages:
    838
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    70
    #30
    At least those comments are gone now... that was the most important item... and you accomplished that! Don't give up yet :)
     
    scoopy82, Feb 6, 2008 IP
  11. Steam

    Steam Guest

    Messages:
    611
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #31
    The story of the past 10 hours on my computer today!

    [​IMG]
     
    Steam, Feb 6, 2008 IP
  12. Dondon2d

    Dondon2d Peon

    Messages:
    3,193
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    0
    #32
    I don't understand, lol. Going emo? :D
     
    Dondon2d, Feb 6, 2008 IP
  13. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #33
    You need to go to the "Posts" table in PhpMyAdmin and clear out the "comment_count" entries for each of the posts. This will reset the comment count to zero.
     
    mizaks, Feb 6, 2008 IP
  14. Steam

    Steam Guest

    Messages:
    611
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #34
    Okay, I did it. All comments were deleted last night. But I woke up with 2,000 Porn comments again today. :(
     
    Steam, Feb 7, 2008 IP
  15. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #35
    Spammers had a field day with your site. It will take awhile before they realize they're not getting free backlinks anymore...
     
    mizaks, Feb 7, 2008 IP
  16. scoopy82

    scoopy82 Active Member

    Messages:
    838
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    70
    #36
    Double check that your options are set the way you want... such as, "Users must be registered and logged in to comment"... don't forget to click that "Update Options" button after each change ;)

    These "comments" may also be "pingbacks" being abused by bots? I just cleared a friends site of 50,000 spam comments... and found they were still coming in faster than we could delete them.

    What I did was turn off the pingback feature on all posted articles by going to that SQL command box in phpMyAdmin and using this command:
    UPDATE wp_posts SET ping_status=closed;
    Code (markup):
    To turn that option off for new stories... look in Options --> Discussion.

    Haven't gotten any more spam for 3 days now :)
     
    scoopy82, Feb 7, 2008 IP