• I am a relatively new WordPress user and I am trying to install the FeedWordPress plug-in. I am able to install it properly, and activate with no errors. When I go to the Options -> Syndication page, however, I get the following SQL errors:

    ————————————–
    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 cat_name=’Contributors” at line 2]
    SELECT cat_id FROM WHERE cat_name=’Contributors’

    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 ‘SET cat_id = 0, cat_name=’Contributors’, show_images=’N’, sh’ at line 2]
    INSERT INTO SET cat_id = 0, cat_name=’Contributors’, show_images=’N’, show_description=’N’, show_rating=’N’, show_updated=’N’, sort_order=’name’

    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 ‘ORDER BY cat_id’ at line 1]
    SELECT cat_id, cat_name, auto_toggle FROM ORDER BY cat_id
    ————————————-

    As you can see, the table names are missing from all of these queries. Has anyone else seen this issue? Any ideas on what is going wrong? I figured I’d ask before I dug too deep into the code, in case someone else has a patch or something..

    I’ve already made the changes, described in another thread here, to lines 41 and 44 to make the imports work.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mojoski

    (@mojoski)

    Bump! Anyone have any desire to help me figure this one out?

    jbestell

    (@jbestell)

    It would seem the $wpdb object is not being correctly instantiated. I’m looking into it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SQL Errors with FeedWordPress & WordPress 2.1’ is closed to new replies.