Giant commit of May 24th - db errors on upgrade (7 posts)

  1. Beel
    Posted 12 years ago #

    I suppose the errors I got on running the upgrade should be of no concern?
    Database error duplicate column name for show_images (description, rating, updated) and sort_order

  2. michelv
    Posted 12 years ago #

    Good call, thanks for notifying us.
    Fixed, committed. :)

  3. Anonymous
    Posted 12 years ago #

    Any news on this?

  4. Ryan Boren
    WordPress Dev
    Posted 12 years ago #

    Page navigation fixed.

  5. Beel
    Posted 12 years ago #

    Shows how much I know, I guess it was of concern ;-). On another note, what do I need to do in order to get some of my older hacks to work again - for instance:
    function hack_get_stats($what) {
    global $wpdb;
    switch($what) {
    case 'users':
    global $tableusers;
    $request = $wpdb->get_var("SELECT COUNT(*) FROM $tableusers WHERE user_level > 0");
    break; ...
    This now returns a "database error near user_level > 0"

  6. mikelu
    Posted 12 years ago #

    replace $tablexxxx with $wpdb->xxxx
    xxxx are default tables that WP used, you can see a complete list in wp-settings.php.

  7. Beel
    Posted 12 years ago #

    BOO YA! Touchdown! thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.