WordPress.org

Ready to get started?Download WordPress

Forums

WordPress database error: (9 posts)

  1. a7med
    Member
    Posted 7 years ago #

    i just installed a theme, and when i entered my home page i found the following below categories :

    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 cat_id, cat_name FROM

    whats the erroe, and how do i correct it.???

  2. moshu
    Member
    Posted 7 years ago #

    Which version of WP? If 2.1. maybe the theme is not compatible with 2.1.

  3. a7med
    Member
    Posted 7 years ago #

    yes it is WP v2.1

  4. a7med
    Member
    Posted 7 years ago #

    so what shall i do?

    and where do i get the old versions

  5. Trent Adams
    Member
    Posted 7 years ago #

    The theme you changed to, will most likely not have the most current call for categories. IF this is a 2.1 install, maybe check the sidebar.php in your new theme versus what is being called in the default or classic theme that came with the 2.1 to see how it calls categories in sidebar.php

    Trent

  6. moshu
    Member
    Posted 7 years ago #

    so what shall i do?
    Simple: do NOT use that theme.

  7. a7med
    Member
    Posted 7 years ago #

    ok and by the way can i allow users to upload pictures in their blogs???

    how do i do it

  8. Samuel B
    moderator
    Posted 7 years ago #

    Try checking with the theme author to see if he has an update, also. Start a new thread for your other question.

    @ Trent - don't make me come over there.

  9. a7med
    Member
    Posted 7 years ago #

    sorry trent..,

    and dear moshu i badly need that theme to work coz thats the only reason i installed WP

  10. Trent Adams
    Member
    Posted 7 years ago #

    Sorry guys....reading between the lines on this one I think I get what you are saying. My appologies.

    Trent

  11. Samuel B
    moderator
    Posted 7 years ago #

    Trent,
    You were likely right on - I was totally messing with you.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.