Announcement

Collapse
No announcement yet.

database error after upgrading

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bahrain
    Member
    • Jun 2001
    • 77
    • 3.8.x

    database error after upgrading

    after i did the upgrade to the latest version and installed the vbblog i can't open any thread or post its showing me this message

    Database error in vBulletin 3.6.8:
    Invalid SQL:
    SELECT
    post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
    user.*, userfield.*, usertextfield.*,
    icon.title as icontitle, icon.iconpath,
    avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,
    deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason,
    editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
    editlog.reason AS edit_reason,
    postparsed.pagetext_html, postparsed.hasimages,
    sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages,
    sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight,
    IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid

    ,blog_user.entries
    FROM post AS post
    LEFT JOIN user AS user ON(user.userid = post.userid)
    LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
    LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
    LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)
    LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
    LEFT JOIN deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND deletionlog.type = 'post')
    LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
    LEFT JOIN postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 20 AND postparsed.languageid = 1)
    LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 20 AND sigparsed.languageid = 1)
    LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
    LEFT JOIN blog_user AS blog_user ON (blog_user.bloguserid = post.userid)
    WHERE post.postid IN (0,1413849,1413858,1413879,1413896,1413907,1413916,1413983)
    ORDER BY post.dateline;
    MySQL Error : Table 'bahraino_bahrainonline_forum.blog_user' doesn't exist
    Error Number : 1146
    Date : Friday, September 7th 2007 @ 02:35:49 AM
    Script : http://********/showthread.php?t=183688
    Referrer : http://*********/forumdisplay.php?f=3
    IP Address : *****
    Username : ******
    Classname : vb_database
    what can i do?
    help
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    Run 'Suspect File Version' in Diagnostics and report back the results.

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

    Do any show as 'File does not contain expected contents', 'version mismatch' or missing? If so, you need to reupload the original vB non-image files. 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

    • Bahrain
      Member
      • Jun 2001
      • 77
      • 3.8.x

      #3
      no all files reported with 'File does not contain expected contents', 'version mismatch' or missing, all files are ok based on vbulletin Diagnostics result, how ever when i am disabling the vbblog plug in the forum is working fine its only when i am enabling the vbblog product, i tried to uninstall the vbblog but its showing me the same error, also i tried to reinstall it and overwrite the same, redownload and upload the vbblog files and run the installing the same result
      help

      Comment

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

        #4
        Sorry, I could not understand your last messaage. What were the results of Suspect Files?
        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

        • Paul M
          Former Lead Developer
          vB.Com & vB.Org
          • Sep 2004
          • 9886

          #5
          Since it appears you haven't used it yet, try uninstalling the blog and re-installing it again, it seems that one (or more) tables were not created.
          Baby, I was born this way

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          😀
          🥰
          🤢
          😎
          😡
          👍
          👎