Forums

Upgrade to 2.1.2, error-- is it theme or database? (4 posts)

  1. czar21
    Member
    Posted 5 years ago #

    Just upgraded to 2.1.2 tonight-- I use the "freshy" theme (http://www.jide.fr/english/downloads/template-freshy-wordpress/)

    Now am I getting an error message when trying to use his "widget" he supplied to spruce up the links...

    There error message I get reads:

    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

    However, the regular links sidebar widget works fine (albeit with some formatting issues).

    Is this an error is his coding or my tables. I just don't like the sound of the error message.

    blog is at http://www.balloflightning.com/ if you want to see it-- error is below Adsense box

  2. Otto
    Tech Ninja
    Posted 5 years ago #

    It's the theme. The widget he has is not compatible with the 2.1 and up wordpress. The Links have changed. Contact the author and see if he has an updated version.

  3. jedfonner
    Member
    Posted 4 years ago #

    I ran into a problem with the Freshy theme and WordPress 2.2 where it would not display my links, and instead showed the database error listed above. I found the offending code in sidebar.php, line 24, where it says

    if ($ver == "2.1") {

    Change that to >= "2.1" and you're in business.

    I've written more about it at http://www.jedfonner.com/2007/06/19/wordpress-22-and-freshy-theme-links-error/

  4. jedfonner
    Member
    Posted 4 years ago #

    I ran into a problem with the Freshy theme and WordPress 2.2 where it would not display my links, and instead showed the database error listed above. I found the offending code in sidebar.php, line 24, where it says

    if ($ver == "2.1") {

    Change that to >= "2.1" and you're in business.

    I've written more about it at
    http://www.jedfonner.com/2007/06/19/wordpress-22-and-freshy-theme-links-error/

Topic Closed

This topic has been closed to new replies.

About this Topic