Who's Online Broken after 4.1.4 Upgrade

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CeleronXT
    Senior Member
    • Mar 2002
    • 3217

    [Forum] Who's Online Broken after 4.1.4 Upgrade

    After upgrading to 4.1.4, Who's Online is broken. I get this error:
    Database error in vBulletin 4.1.4:


    Invalid SQL:


    SELECT IF(userid > 0, 1, 0) as isuser, COUNT(session.userid) as online_users
    , user.steam
    FROM session as session

    WHERE session.lastactivity > 1307673533



    GROUP BY isuser;


    MySQL Error : Unknown column 'user.steam' in 'field list'
    Error Number : 1054
    Request Date : Thursday, June 9th 2011 @ 11:08:53 PM
    Error Date : Thursday, June 9th 2011 @ 11:09:15 PM
    Classname : vB_Database_MySQLi
    MySQL Version : 5.0.92-community
    This error goes away if I re-upload the old 4.1.3 PL1 online.php file. I see some changes between the files in WinMerge. Any ideas on a fix?

    Thanks
    "63,000 bugs in the code, 63,000 bugs, you get 1 whacked with a service pack, now there's 63,005 bugs in the code."
    "Before you critisize someone, walk a mile in their shoes. That way, when you critisize them, you're a mile away and you have their shoes."
    Utopia Software - Current Software: Utopia News Pro (news management system)
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    There is no such column in the default vB.

    To troubleshoot this, first reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version and that none show 'File does not contain expected contents':

    Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

    [Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

    Next, disable all products (except vB Blog, vB CMS and Skimlinks if you have them.)

    Admin CP -> Plugins & Products -> Manage Products -> Disable

    Then manually uncheck all plugins that are not for 'vBulletin Blog' and vBulletin CMS' here:

    Admin CP -> Plugins & Products -> Plugin Manager

    You must do BOTH of those steps in order to disable all non vBulletin Modifications.

    Then if you still have this problem, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it.

    Do you have the same problem?
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • CeleronXT
      Senior Member
      • Mar 2002
      • 3217

      #3
      I guess it was one of my plugins. Actually, the Steam plugin. Had I not misread the error message as "stream," I might have noticed. WGO is working again.

      However, several files show up as suspect even though I've reuploaded them directly from the stock vbulletin zip, including index.php, forum.php, /clientscript/yui/history/assets/blank.html and /includes/class_editor_override.php and includes/functions_wysiwyg.php.
      Last edited by CeleronXT; Thu 9 Jun '11, 7:48pm.
      "63,000 bugs in the code, 63,000 bugs, you get 1 whacked with a service pack, now there's 63,005 bugs in the code."
      "Before you critisize someone, walk a mile in their shoes. That way, when you critisize them, you're a mile away and you have their shoes."
      Utopia Software - Current Software: Utopia News Pro (news management system)

      Comment

      • Trevor Hannant
        vBulletin Support
        • Aug 2002
        • 24358
        • 5.7.X

        #4
        /includes/class_editor_override.php and includes/functions_wysiwyg.php were removed as per the announcement here:

        https://www.vbulletin.com/forum/showthread.php/381438-vBulletin-4.1.4-now-available-for-download?p=2169041&viewfull=1#post2169041

        The others should be OK.
        Vote for:

        - Admin Settable Paid Subscription Reminder Timeframe (vB6)
        - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

        Comment

        • CeleronXT
          Senior Member
          • Mar 2002
          • 3217

          #5
          Originally posted by Trevor Hannant
          /includes/class_editor_override.php and includes/functions_wysiwyg.php were removed as per the announcement here:

          https://www.vbulletin.com/forum/showthread.php/381438-vBulletin-4.1.4-now-available-for-download?p=2169041&viewfull=1#post2169041

          The others should be OK.
          Ah thanks, deleted those. Not sure what's up with forum.php and index.php though.
          "63,000 bugs in the code, 63,000 bugs, you get 1 whacked with a service pack, now there's 63,005 bugs in the code."
          "Before you critisize someone, walk a mile in their shoes. That way, when you critisize them, you're a mile away and you have their shoes."
          Utopia Software - Current Software: Utopia News Pro (news management system)

          Comment

          • Trevor Hannant
            vBulletin Support
            • Aug 2002
            • 24358
            • 5.7.X

            #6
            Not sure - they don't show up as suspect on my test install.
            Vote for:

            - Admin Settable Paid Subscription Reminder Timeframe (vB6)
            - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...