The vB Geek

The vB Geek (
-   Geek Article and Review System (
-   -   Database Error (

jiggle 01-03-2008 10:48 AM

Database Error
after upgrade from gars lite i get this:

Datenbankfehler in vBulletin 3.6.8:


Invalid SQL:

SELECT IF(ga.synopsis, ga.synopsis,post.pagetext) AS preview,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, replycount, postusername, postuserid, thread.iconid AS threadiconid,
thread.lastpost, thread.lastposter, thread.lastpostid, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, thread.visible, sticky, votetotal, thread.attach,
hiddencount, deletedcount
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason

, threadredirect.expires
, ga.header_image, ga.synopsis, ga.byline, ga.feature_untill, ga.pagecount, ga.custom2, ga.header_image, ga.synopsis, ga.byline, ga.feature_untill, round((ga.overall_rating/10),0) author_rating, ga.rating_count, ga.overall_rating author_rating_percent, round((ga.avg_rating/10),0) member_rating, ga.avg_rating member_rating_percent, ga.pagecount, ga.custom2
FROM forumthread AS thread
LEFT JOIN forumdeletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN forumsubscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1 AND canview = 1)

LEFT JOIN forumpost AS post ON(post.postid = thread.firstpostid)

LEFT JOIN forumthreadredirect AS threadredirect ON( = 10 AND thread.threadid = threadredirect.threadid)
LEFT JOIN forumgars as ga ON(ga.threadid = thread.threadid) LEFT JOIN forumgars as ga ON(ga.threadid = thread.threadid)
WHERE thread.threadid IN (0,31278,31272,31270,31163)
ORDER BY sticky DESC, lastpost DESC;

MySQL-Fehler : Not unique table/alias: 'ga'
Fehler-Nr. : 1066

jiggle 01-03-2008 10:54 AM

fixed, i deactivated gars lite :)

All times are GMT. The time now is 10:37 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.