WordPress database error: [Incorrect file format ‘wp_comments’]
-
Hello I’m having these database errors through out the whole site.
Every admin page showing the follow errors at the top of the page.
WordPress database error: [Incorrect file format ‘wp_comments’]
SELECT COUNT(*) FROM wp_comments WHERE comment_approved = ‘0’WordPress database error: [Incorrect file format ‘wp_comments’]
SELECT COUNT(comment_ID) FROM wp_comments WHERE comment_approved = ‘spam’All other pages with comments or comment sections also giving out the following errors.
WordPress database error: [Incorrect file format ‘wp_comments’]
SELECT COUNT(*) FROM wp_comments WHERE comment_post_ID = ‘153’WordPress database error: [Incorrect file format ‘wp_comments’]
SELECT * FROM wp_comments WHERE comment_post_ID = ‘153’ AND comment_approved = ‘1’ ORDER BY comment_dateOnce submit new comment I’m getting this errors.
WordPress database error: [Incorrect file format ‘wp_comments’]
DELETE FROM wp_comments WHERE DATE_SUB(‘2006-04-02 23:54:15’, INTERVAL 15 DAY) > comment_date_gmt AND comment_approved = ‘spam’WordPress database error: [Incorrect file format ‘wp_comments’]
SELECT comment_ID FROM wp_comments WHERE comment_post_ID = ‘153’ AND ( comment_author = ‘May’ OR comment_author_email = ‘[email protected]’ ) AND comment_content = ‘test’ LIMIT 1WordPress database error: [Incorrect file format ‘wp_comments’]
SELECT comment_date_gmt FROM wp_comments WHERE comment_author_IP = ‘202.62.123.178’ OR comment_author_email = ‘[email protected]’ ORDER BY comment_date DESC LIMIT 1WordPress database error: [Incorrect file format ‘wp_comments’]
INSERT INTO wp_comments (comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_author_IP, comment_date, comment_date_gmt, comment_content, comment_approved, comment_agent, comment_type, comment_parent, user_id) VALUES (‘153’, ‘May’, ‘[email protected]’, ‘https://www.mayvelous.com’, ‘202.62.123.178’, ‘2006-04-02 23:54:15’, ‘2006-04-02 23:54:15’, ‘test’, ‘1’, ‘Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1’, ”, ‘0’, ‘1’)WordPress database error: [Incorrect file format ‘wp_comments’]
SELECT COUNT(*) FROM wp_comments WHERE comment_post_ID = ‘153’ AND comment_approved = ‘1’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 ‘WHERE ID = ‘153” at line 1]
UPDATE wp_posts SET comment_count = WHERE ID = ‘153’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 * FROM wp_comments WHERE comment_ID = ;Any idea how to solve this problem? I got that on WP 2.0.1 and now I’ve updated to 2.0.2 and still happening. It was fine before but I don’t know how or what causes it to show those errors.
Thanks.
- The topic ‘WordPress database error: [Incorrect file format ‘wp_comments’]’ is closed to new replies.