The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
keep getting a SQL error , Why?
hey VB,
i keep getting this SQL error on one of my forums and dont know why. its up to date on 3.6.4 and no matter what i do i keep getting the emails. Code:
Database error in vBulletin 3.6.4: Invalid SQL: SELECT IF(votenum >= 1, votenum, 0) AS votenum, IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg, 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 ,post.pagetext FROM geekscor_thread AS thread WHERE thread.threadid IN (0) ORDER BY sticky DESC, lastpost DESC; MySQL Error : Unknown column 'post.pagetext' in 'field list' Error Number : 1054 Date : Monday, February 26th 2007 @ 08:33:03 AM Script : http://www.geekscore.com/forumdisplay.php?f=5 Referrer : IP Address : 000000000000 Username : Unregistered Classname : vB_Database |
#2
|
||||
|
||||
",post.pagetext" shouldn't be in the query
most likely added by a plugin... I suggest removing said plugin and contact author of plugin. |
#3
|
||||
|
||||
great ill check which one it is and remove it. thank you
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|