SQL error after upgrade.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mightyb
    New Member
    • Mar 2007
    • 4
    • 3.6.x

    SQL error after upgrade.

    I have just upgraded to the latest version after skipping a few updates. I did not get any errors during the install and everything looked fine. When i log in as an admin however i get the following error:

    Code:
    Database error in vBulletin 3.6.5:
    
    Invalid SQL:
    
            SELECT COUNT(postid) AS count
            FROM vbpost AS post
            LEFT JOIN vbdeletionlog AS deletionlog ON(deletionlog.primaryid = post.postid AND type = 'post')
            WHERE visible = 0 AND dateline > 1174327637
                AND deletionlog.primaryid IS NULL;
    
    MySQL Error  : Column 'dateline' in where clause is ambiguous
    Error Number : 1052
    Date         : Monday, March 19th 2007 @ 02:54:59 PM
    Script       : http://www.thelocalforum.co.uk/forum/
    Referrer     : 
    IP Address   : my IP
    Username     : My username
    Classname    : vb_database
    Any ideas? Thanks a lot!
  • Zachery
    Former vBulletin Support
    • Jul 2002
    • 59097

    #2
    What version of vbulletin are you running?

    Comment

    • Mightyb
      New Member
      • Mar 2007
      • 4
      • 3.6.x

      #3
      Upgraded to 3.6.5 from 3.5.4

      Ta!

      Comment

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

        #4
        Which version of MySQL are you running? Have you installed any hacks, products or plugins?
        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

        • Mightyb
          New Member
          • Mar 2007
          • 4
          • 3.6.x

          #5
          Its 4.1.21

          Yes i did. Shall i try and disable these via php admin? What would be the best way of doing this?

          Comment

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

            #6
            That version of MySQL has a serious bug and I strongly recommend you get your host to upgrade it, but this problem is not due to that bug.

            It appears that one of your add-ons created a 'dateline' field somewhere in the database that is conflicting with vB. To fix this you will need to find out which plugin did this and remove it along with the changes it made to the database.
            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

            • meissen
              Senior Member
              • Dec 2005
              • 215
              • 3.5.x

              #7
              I have that same exact problem after upgrading. Have you figured out what modification that causes it? I can't replicate it on a regular basis, I just get random instances where it happens. I thought it might be the "Prevent Double Post" modification, so I disabled that. Figure I'd see if that fixes it for now, if it still happens then I know it's not that and something else needs to be disabled.
              Last edited by meissen; Tue 20 Mar '07, 2:02pm.

              Comment

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