The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 : |
#2
|
|||
|
|||
Can anyone help with this or give tips I'm getting tons of these mails a day.
|
#3
|
||||
|
||||
This is one reason I always tell people to completely uninstall 3.x mods before upgrading to vb4. They won't work, and they can only cause trouble.
|
#4
|
|||
|
|||
Quote:
The second one I believe is coming from search engines as none of the videos were linked on my site. |
#5
|
||||
|
||||
When you uninstalled the mods, did you delete all their files too?
|
#6
|
||||
|
||||
Right. Uninstalling isn't just a matter of hitting the 'uninstall' button. Once you're sure you've gotten rid of the old files, then you can start troubleshooting.
If the one mod left a bunch of malformed links, they shouldn't generate a mysql error, though they won't work. But that could be fixed with a query or search and replace. |
#7
|
|||
|
|||
database errors are clear, thanks guys I hadn't been removing files just uninstalling. I still have the issue whereby my links are still trying to use vbanonymizer.
|
#8
|
||||
|
||||
If the mod or author is still around there should be an upgrade path. I know with one of my mods - AME I think - the author wrote a small app that updated all the previous links to work with the vb4 version of the mod.
|
#9
|
|||
|
|||
I can't find a vb4 version of the mod unfortunately.
|
#10
|
||||
|
||||
Can you post a link to the 3x version of the mod?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|