WordPress.org

Support

Support » How-To and Troubleshooting » Strange “Sidebar” problem

Strange “Sidebar” problem

  • Hi there.

    On my wordpress sidebar, underneath the “Archives” and “Links” sections, I have this horrible error underneath

    “WordPress database error: [Table ‘blog.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-07-14 19:50:00’ AND post_status = ‘publish’ GROUP BY YEAR(post_date), MONTH(post_date) ORDER BY post_date DESC”

    Now this is wierd. because my WP database is called “wordpress” and I have a separate DB called “blog”.

    My wp-config.php seems to have the correct settings, yet the sidebar seems to be looking elsewhere!

    This has only happened recently.

    Any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Strange “Sidebar” problem’ is closed to new replies.