upgrading error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • al-anwar
    New Member
    • Jan 2005
    • 6
    • 3.0.0 Release Candidate 3

    upgrading error

    Hello,
    I am facing the following errors in my forum, after upgrading it from 3.0.7, please assist me.
    the error i get is as follows:
    ========================================
    Database error in vBulletin 3.5.0:
    Invalid SQL:
    SELECT announcementid, startdate, enddate, announcement.title, pagetext, allowhtml, allowbbcode, allowsmilies, views,
    user.*, userfield.*, usertextfield.*,
    IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
    ,avatar.avatarpath, NOT ISNULL(customavatar.avatardata) AS hascustomavatar, customavatar.dateline AS avatardateline
    , level
    FROM announcement AS announcement
    LEFT JOIN user AS user ON(user.userid=announcement.userid)
    LEFT JOIN userfield AS userfield ON(userfield.userid=announcement.userid)
    LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid=announcement.userid)
    LEFT JOIN avatar AS avatar ON(avatar.avatarid=user.avatarid)
    LEFT JOIN customavatar AS customavatar ON(customavatar.userid=announcement.userid)
    LEFT JOIN reputationlevel AS reputationlevel ON(user.reputationlevelid=reputationlevel.reputationlevelid)

    WHERE startdate <= 1131393866
    AND enddate >= 1131393866
    AND announcement.forumid IN (76,74,-1)
    ORDER BY startdate DESC

    mysql error: Unknown column 'customavatar.avatardata' in 'field list'
    mysql error number: 1054
    ============================================
    I appreciate your help in advance
  • Marco van Herwaarden
    Senior Member
    • Nov 2004
    • 6999
    • 3.8.x

    #2
    avatardata is not a column used in default vBulletin 3.5.

    This column was used in vB3.0.x but now got replaced by filedata. Are you trying to use a vB 3.0 hack on vB3.5?
    Want to take your board beyond the standard vBulletin features?
    Visit the official Member to Member support site for vBulletin Modifications: www.vbulletin.org

    Comment

    • al-anwar
      New Member
      • Jan 2005
      • 6
      • 3.0.0 Release Candidate 3

      #3
      No, I get this error when i try to view threads. I tried to upgrade vBindex but I am not sure if this is related to this error.

      Comment

      • Steve Machol
        Former Customer Support Manager
        • Jul 2000
        • 154488

        #4
        This means that you either did not upgrade problerly, or the error is caused by hacked files. To troubleshoot this, 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.
        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

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