Support » How-To and Troubleshooting » Database error in sidebar

Database error in sidebar

  • I’m getting this instead of the links, categories and archives.


    WordPress database error: [Table ‘Sql31398_3.wp_posts’ doesn’t exist]
    SELECT ID, post_title, post_name, post_parent ,UNIX_TIMESTAMP(post_modified) AS time_modified,UNIX_TIMESTAMP(post_date) AS time_created FROM wp_posts WHERE post_status = ‘static’ ORDER BY post_title ASC

    WordPress database error: [Table ‘Sql31398_3.wp_links’ doesn’t exist]
    SELECT DISTINCT link_category, cat_name, show_images, show_description, show_rating, show_updated, sort_order, sort_desc, list_limit FROM wp_links LEFT JOIN wp_linkcategories ON (link_category = cat_id) WHERE link_visible = ‘Y’ AND list_limit <> 0 ORDER BY cat_name


    WordPress database error: [Table ‘Sql31398_3.wp_categories’ doesn’t exist]
    SELECT cat_ID, cat_name, category_nicename, category_description, COUNT(wp_post2cat.post_id) AS cat_count FROM wp_categories INNER JOIN wp_post2cat ON (cat_ID = category_id) INNER JOIN wp_posts ON (ID = post_id) WHERE post_status = ‘publish’ AND post_date_gmt < ‘2005-05-30 16:11:08’ GROUP BY category_id
    # No categories


    WordPress database error: [Table ‘Sql31398_3.wp_posts’ doesn’t exist]
    SELECT DISTINCT YEAR(post_date) AS year, MONTH(post_date) AS month, count(ID) as posts FROM wp_posts WHERE post_date < ‘2005-05-30 18:11:08’ AND post_status = ‘publish’ GROUP BY YEAR(post_date), MONTH(post_date) ORDER BY post_date DESC

    The thing is, my database config is perfect, and I can actually see my posts, so I don’t get why am I getting errors. Besides, the installation went smooth. Thanks for the help you may provide.

  • The topic ‘Database error in sidebar’ is closed to new replies.
Skip to toolbar