Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • I had similar problems. I’ll describe the problems here, and then my solutions:

    Problem 1) The Links section in my sidebar didn’t display properly, but instead there was an SQL error message, similar to the ones listed above

    Problem 2) No categories were appearing in the sidebar under the “Categories” heading, even though the category name WAS appearing next to each of my posts

    –Solutions–

    Solution 1) Edited sidebar.php, taking out get_grouped_links_list and replacing it with wp_list_bookmarks. You might not have “get_grouped_links_list” (I believe it might be exclusive to the theme I use), but you probably have “get_links_list”, which is now deprecated and should be replaced by “wp_list_bookmarks” if you’re having issues.

    Solution 2)Edited sidebar.php, taking out category_cloud and replacing it with wp_list_categories. You probably won’t have the “category_cloud” function in your sidebar unless you are using the “durable” theme, but you might have another category function that doesn’t work with wp 2.1, and which you need to replace with “wp_list_categories”.

    Hope this helps someone

    I fixed my problem by changing a function call in sidebar.php as well. I also had to change a function in the “durable” theme that made categories appear as a category cloud, but now no longer works.

    Otto speaks truth. I had to snoop around in the code for my theme (durable) and found a few functions that no longer work with wp 2.1 . I replaced them with new functions, and everything is working smoothly

    Which of those instructions did you follow? The link from user “mariogarcia” or the solution from “colimaradical”?

    Same problem, is there any good fix yet?!

    I think I may have found the locus of the problem. In my functions.php I have this text:

    // Fetch the link category data as an array of hashesa
    $cats = $wpdb->get_results(“
    SELECT DISTINCT link_category, cat_name, show_images,
    show_description, show_rating, show_updated, sort_order,
    sort_desc, list_limit
    FROM $wpdb->links
    LEFT JOIN $wpdb->linkcategories ON (link_category = cat_id)
    WHERE link_visible = ‘Y’
    AND list_limit <> 0
    ORDER BY $cat_order $direction “, ARRAY_A);

    Do I need to change something in there to get 2.1 to recognize categories?

    Similar problem, using the Durable theme, here is what appears under Pages & Links:

    WordPress database error: [Incorrect table name ”]
    SELECT DISTINCT link_category, cat_name, show_images, show_description, show_rating, show_updated, sort_order, sort_desc, list_limit FROM wp_links LEFT JOIN ON (link_category = cat_id) WHERE link_visible = ‘Y’ AND list_limit <> 0 ORDER BY cat_name

    This is an old thread that I am piggybacking on, because I am having the same problem. I’m using the “Durable” theme, and would like to disable the automatic excerpting of posts, so that all posts on the front page appear in their entirety. Anybody have any advice? Thanks

Viewing 8 replies - 1 through 8 (of 8 total)