Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 08-09-2010, 12:27 AM
Bluefin221 Bluefin221 is offline
 
Join Date: Jul 2008
Location: Scotland
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone help with this or give tips I'm getting tons of these mails a day.
Reply With Quote
  #3  
Old 08-09-2010, 12:44 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 08-09-2010, 08:50 AM
Bluefin221 Bluefin221 is offline
 
Join Date: Jul 2008
Location: Scotland
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Videx View Post
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.
I did uninstall them, I still get the errors - the first one vbanonymizer all the links in my forum are still pointing towards being anonymous so none work and throw up this error I have no idea how to convert them.

The second one I believe is coming from search engines as none of the videos were linked on my site.
Reply With Quote
  #5  
Old 08-09-2010, 01:13 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When you uninstalled the mods, did you delete all their files too?
Reply With Quote
  #6  
Old 08-09-2010, 01:48 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 08-10-2010, 05:43 AM
Bluefin221 Bluefin221 is offline
 
Join Date: Jul 2008
Location: Scotland
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 08-10-2010, 06:29 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 08-10-2010, 07:54 AM
Bluefin221 Bluefin221 is offline
 
Join Date: Jul 2008
Location: Scotland
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Videx View Post
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.
I can't find a vb4 version of the mod unfortunately.
Reply With Quote
  #10  
Old 08-10-2010, 10:56 AM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you post a link to the 3x version of the mod?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:20 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.04874 seconds
  • Memory Usage 2,260KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete