Code:
Datenbankfehler in vBulletin 3.8.2:
Invalid SQL:
SELECT post.pagetext AS preview,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.prefixid, thread.taglist, hiddencount, deletedcount
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadread.readtime AS threadread
, threadredirect.expires
,
thread.title AS title, article.lastmodified,
thread.title AS title, article.lastmodified
FROM vb_3thread AS thread
LEFT JOIN vb_3deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN vb_3subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1 AND canview = 1)
LEFT JOIN vb_3threadread AS threadread ON (threadread.threadid = thread.threadid AND threadread.userid = 1)
LEFT JOIN vb_3post AS post ON(post.postid = thread.firstpostid)
LEFT JOIN vb_3threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
LEFT JOIN vb_3vault_article AS article ON (thread.threadid = article.threadid)
LEFT JOIN vb_3vault_article AS article ON (thread.threadid = article.threadid)
WHERE thread.threadid IN (0,75,78,76,105,108,106,102,128,101,79)
ORDER BY sticky DESC, thread.title;
MySQL-Fehler : Not unique table/alias: 'article'
Fehler-Nr. : 1066