vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Need help to fix Database error (https://vborg.vbsupport.ru/showthread.php?t=248390)

nomoreturn 08-11-2010 09:20 PM

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 :

Videx 08-11-2010 11:59 PM

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.

Haltech 08-12-2010 04:22 AM

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.

nomoreturn 08-13-2010 12:42 AM

Thanks Every one for helping . i fixed it, it was Thread Thumb Images vb4 add on .


All times are GMT. The time now is 07:26 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01232 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete