db error after applaying the new patch

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jenan
    Senior Member
    • Jun 2003
    • 196

    db error after applaying the new patch

    after I applied the patch I am getting this error
    I replaced some info with * and delet some
    ________________

    Database error in vBulletin 3.6.8:

    Invalid SQL:

    SELECT post.pagetext AS preview,
    thread.threadid, thread.threadid AS postid, thread.title AS threadtitle, thread.iconid AS threadiconid, thread.dateline, thread.forumid,
    thread.replycount, IF(thread.views=0, thread.replycount+1, thread.views) as views, thread.sticky,
    thread.pollid, thread.open, thread.lastpost AS postdateline, thread.visible, thread.hiddencount, thread.deletedcount,
    thread.lastpost, thread.lastposter, thread.lastpostid, thread.attach, thread.postusername, thread.forumid,




    user.userid AS postuserid
    , NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed

    , thread.firstpostid, attachment.thumbnail_filesize AS thumbsize , MIN(attachment.attachmentid) AS attachmentid
    FROM thread AS thread
    LEFT JOIN user AS user ON(user.userid = thread.postuserid)



    LEFT JOIN subscribethread AS subscribethread
    ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 21 AND canview = 1)
    LEFT JOIN post AS post ON(post.postid = thread.firstpostid)

    LEFT JOIN attachment as attachment ON(attachment.postid = thread.firstpostid AND (attachment.extension = 'jpg' OR attachment.extension = 'gif' OR attachment.extension = 'png'))
    WHERE thread.threadid IN
    (44, 45, 52, 40, 42, 43, 41);

    MySQL Error : Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause Error Number : 1140
    Date : Sunday, October 21st 2007 @ 02:00:19 AM
    Script : http://www.*******.com/forum/search.php?searchid=12
    Referrer : http://www.*******.com/forum/member.php?u=9
    IP Address :
    Username :
    Classname : vb_database


    ________________
  • Floris
    Senior Member
    • Dec 2001
    • 37767

    #2
    I don't see how this could be a result from patching vBulletin, but .. redownload the patch files from the members' area and overwrite the files, and disable your plugins. See if this then fixes it. If so, enable the plugins one by one to see if one is no longer compliant.

    Comment

    • Jenan
      Senior Member
      • Jun 2003
      • 196

      #3
      this error appear when user click New Posts
      to check the new post for today

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 73464
        • 6.0.X

        #4
        Do you have a plugin that shows attachment thumbnails in the search results? If so that is causing the problem and should be removed.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • Jenan
          Senior Member
          • Jun 2003
          • 196

          #5
          got it solved for this cuase

          thanks

          Comment

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