Thread: Database errors
View Single Post
  #1  
Old 08-04-2010, 03:28 PM
Bluefin221 Bluefin221 is offline
 
Join Date: Jul 2008
Location: Scotland
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Database errors

I'm receiving a constant stream of database errors and I'm wondering how I can get rid of them, today when I woke up there was over 700 error reports into my inbox from two sources.

Code:
Database error in vBulletin 4.0.5:

Invalid SQL:

SELECT languageid,
phrasegroup_global AS phrasegroup_global,
phrasegroup_vbtube AS phrasegroup_vbtube,
phrasegroup_adv_gallery_int AS phrasegroup_adv_gallery_int,
options AS lang_options,
languagecode AS lang_code,
charset AS lang_charset,
locale AS lang_locale,
imagesoverride AS lang_imagesoverride,
dateoverride AS lang_dateoverride,
timeoverride AS lang_timeoverride,
registereddateoverride AS lang_registereddateoverride,
calformat1override AS lang_calformat1override,
calformat2override AS lang_calformat2override,
logdateoverride AS lang_logdateoverride,
decimalsep AS lang_decimalsep,
thousandsep AS lang_thousandsep
FROM calton_vforumslanguage
WHERE languageid = 1;

MySQL Error   : Unknown column 'phrasegroup_vbtube' in 'field list'
Error Number  : 1054
Request Date  : Wednesday, August 4th 2010 @ 11:09:59 AM
Error Date    : Wednesday, August 4th 2010 @ 11:09:59 AM
Script        : forums/vbtube_show.php?do=tube&tubeid=90
Referrer      : 
IP Address    : 
Username      : 
Classname     : vB_Database
MySQL Version :
Code:
Database error in vBulletin 4.0.5:

Invalid SQL:

SELECT 
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_global AS phrasegroup_global,
language.phrasegroup_vbanonymizer AS phrasegroup_vbanonymizer,
language.phrasegroup_adv_gallery_int AS phrasegroup_adv_gallery_int,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep
, ppgal_user.ppicount, ppgal_user.pppcount, ppgal_user.lastimageid, ppgal_user.lastimagetitle, ppgal_user.lastimagedate, ppgal_user.lastpostid, ppgal_user.lastposttitle, ppgal_user.lastpostdate, ppgal_user.profile_active, ppgal_user.profile_exclude, ppgal_user.profile_include, ppgal_user.profile_orderby, ppgal_user.profile_cutoff, ppgal_user.profile_tabfirst,   ppgal_user.profile_autosel, ppgal_user.profile_tabstats, ppgal_user.profile_tabhighlight, ppgal_user.profile_showtitle, ppgal_user.profile_showcat, ppgal_user.profile_showcontext, ppgal_user.profile_contextfirst, ppgal_user.profile_showhtitle, ppgal_user.profile_husername, ppgal_user.profile_showhcat, ppgal_user.profile_showhcontext, ppgal_user.ppfavcount, ppgal_user.upload_readpolicy, ppgal_user.profile_tabthumbs, ppgal_user.profile_limit 
FROM calton_vforumsuser AS user
LEFT JOIN _vforumsuserfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN _vforumsusertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN calton_vforumslanguage AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid)) 

LEFT JOIN calton_vforumsppgal_user AS ppgal_user ON (ppgal_user.userid = user.userid) 
WHERE user.userid = 4963;

MySQL Error   : Unknown column 'language.phrasegroup_vbanonymizer' in 'field list'
Error Number  : 1054
Request Date  : Wednesday, August 4th 2010 @ 11:09:18 AM
Error Date    : Wednesday, August 4th 2010 @ 11:09:18 AM
Script        :forums/redirector.php?url=http%3A%2F%2Fwww.amazon.co.uk%2FProtestants-First-Orangeism-Century-Scotland%2Fdp%2F074860202X%2Fref%3Dsr_1_6%2F203-9011919-8981547%3Fie%3DUTF8%26s%3Dbooks%26qid%3D1193956489%26sr%3D1-6
Referrer      : forums/showthread.php?119-PUL-Book-List
IP Address    : 
Username      : 
Classname     : vB_Database
MySQL Version :
The first one is from vbtube which was a 3.x addon and the second vbanonymizer again a 3.x addon, vbanonymizer the links on my forum as shown above still trying to convert the links so that they are anonymous I don't know how to convert them back.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01110 seconds
  • Memory Usage 1,791KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete