WordPress.org

Ready to get started?Download WordPress

Forums

database error (3 posts)

  1. babyno2
    Member
    Posted 9 years ago #

    hi, my friend's blog is at http://www.ifantabulous.com/wordpress - it was working find until this morning when it gave all sorts of database errors... short of a re-install, is there a way to fix the problem?

    please click on the link to see the errors...

  2. babyno2
    Member
    Posted 9 years ago #

    hi, the error is as below... any advice?

    ********************************************

    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 4]
    SELECT DISTINCT ID, category_id, cat_name, category_nicename, category_description, category_parent FROM wp_categories, wp_post2cat, wp_posts WHERE category_id = cat_ID AND post_id = ID AND post_id IN (,,,,)

    Warning: Invalid argument supplied for foreach() in /home/lilianl/public_html/wordpress/wp-blog-header.php on line 478

    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 ',,,) GROUP BY ID' at line 4]
    SELECT ID, COUNT( comment_ID ) AS ccount FROM wp_posts LEFT JOIN wp_comments ON ( comment_post_ID = ID AND comment_approved = '1') WHERE post_status = 'publish' AND ID IN (,,,,) GROUP BY ID

    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 ',,,) ORDER BY post_id,meta_key' at line 3]
    SELECT post_id,meta_key,meta_value FROM wp_postmeta WHERE post_id IN(,,,,) ORDER BY post_id,meta_key

    Fatal error: Call to undefined function: array() in /home/lilianl/public_html/wordpress/wp-includes/functions.php on line 1122

  3. You'll have to contact your host. Read this for more info: http://wordpress.org/development/2004/12/terribly-broken/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.