WordPress.org

Ready to get started?Download WordPress

Forums

Database Error (3 posts)

  1. akestepa
    Member
    Posted 9 years ago #

    I used a code I found here to make my comments appear in descending order. Everything was find and it worked, but now (the day after), when I go to my wordpress/index.php page i get this:

    Database error: [Got error 28 from table handler]
    SELECT DISTINCT * FROM wp_posts WHERE 1=1 AND post_date_gmt <= '2004-12-30 21:55:59' AND (post_status = "publish") GROUP BY wp_posts.ID ORDER BY post_date DESC LIMIT 1

    And it says that "No posts matched my criteria"

    I took out that code I put in and replaced it with what was originally there but the message is still coming up. Any suggestions on how to fix it?

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Email your host.

    This is a MySQL error and has nothing to do with WordPress directly. You should probably contact your host about it. Some users have reported that running a “repair table� command in phpMyAdmin fixed the problem.

  3. akestepa
    Member
    Posted 9 years ago #

    Ok, thanks. I'll try that. :-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.