The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Need help to fix Database error
Hello every one i got database error and last 2 days i'm looking into it i cant figure it out from which product i got this error plz help me to fix this
Database error in vBulletin 4.0.5: Invalid SQL: SELECT IF(votenum >= 1, votenum, 0) AS votenum, IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg, post.pagetext AS thumb, 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.lastposterid, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views, thread.prefixid, thread.taglist, hiddencount, deletedcount, user.usergroupid, user.homepage, user.options AS useroptions, IF(userlist.friend = 'yes', 1, 0) AS isfriend , usergrouphasann.opentag as opentaghasann, usergrouphasann.closetag AS closetaghasann, usergrouphuseyinn.opentag AS opentaghuseyinn, usergrouphuseyinn.closetag AS closetaghuseyinn FROM vb_thread AS thread LEFT JOIN vb_user AS user ON (user.userid = thread.lastposterid) LEFT JOIN vb_userlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = 0) LEFT JOIN vb_user AS userhasann ON ( userhasann.userid = thread.postuserid ) LEFT JOIN vb_usergroup AS usergrouphasann ON ( usergrouphasann.usergroupid = userhasann.usergroupid ) LEFT JOIN vb_user AS userhuseyinn ON ( userhuseyinn.userid = thread.lastposterid ) LEFT JOIN vb_usergroup AS usergrouphuseyinn ON ( usergrouphuseyinn.usergroupid = userhuseyinn.usergroupid ) WHERE thread.threadid IN (0,254,1689) ORDER BY sticky DESC, lastpost DESC; MySQL Error : Unknown column 'post.pagetext' in 'field list' Error Number : 1054 Request Date : Wednesday, August 11th 2010 @ 05:54:42 PM Error Date : Wednesday, August 11th 2010 @ 05:54:42 PM Script : http://www.mastdunya.com/forumdisplay.php?f=71&page=4 Referrer : IP Address : *6.**.*5.*12 Username : Unregistered Classname : vB_Database MySQL Version : |
#2
|
||||
|
||||
It certainly does look like an add-on. Something to do with polls and voting? Anyway, disable all of them and re-enable them one by one until you find the culprit.
|
#3
|
|||
|
|||
Yeah thats def a mod with something to do with voting.
When was the last time you optimized and repaired your database tables? I would r/o the db then turn that hack off that pertains to voting/polls. |
#4
|
||||
|
||||
Thanks Every one for helping . i fixed it, it was Thread Thumb Images vb4 add on .
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|