WordPress database error
-
I am using WP 2.0 with mysql 4.0.27-standard and php 4.4.7. Since a couple hours I am getting error messages related with mysql and wordpress database when I try to open the root page of the blog, or any of the categories and pages. However, with the admin panel and with the posts, there is no problem at all. The error is:
WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1]
SELECT DISTINCT * FROM wp_posts WHERE 1=1 AND post_date_gmt <= ‘2007-12-26 21:43:59’ AND (post_status = “publish” OR post_author = 1 AND post_status != ‘draft’ AND post_status != ‘static’) AND post_status != “attachment” GROUP BY wp_posts.ID ORDER BY post_date DESC LIMIT 0,even above header. How can I solve this problem? As far as I know, I haven’t changed anything…
Regards,
buyruk
The topic ‘WordPress database error’ is closed to new replies.