Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 01-05-2011, 03:44 PM
Racecar Racecar is offline
 
Join Date: Sep 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Error Changing Things in Usergroups

I get a database error anytime I try to change anything that I do in the usergroup.
This just started happening so I reloaded the site thinking that it would stop that and nothing.
I have posted the error that I get.

Database error in vBulletin 3.8.6:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Flirtilicious',
`description` = 'VIP Members',
`usertitle` = 'Flirtilicious',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '0',
`fcpermissions` = '0',
`ms_wic_addon_permissions` = '0',
`eggavatarpermissions` = '31',
`forumpermissions` = '16511487',
`genericpermissions` = '1546354635',
`attachlimit` = '0',
`pmquota` = '100',
`pmpermissions` = '3',
`pmsendmax` = '5',
`pmthrottlequantity` = '0',
`calendarpermissions` = '63',
`wolpermissions` = '1',
`adminpermissions` = '0',
`genericpermissions2` = '1',
`genericoptions` = '62',
`profilepicmaxwidth` = '250',
`profilepicmaxheight` = '250',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '150',
`avatarmaxheight` = '150',
`avatarmaxsize` = '20000',
`signaturepermissions` = '245759',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '10000',
`sigmaxrawchars` = '1000',
`sigmaxchars` = '500',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '4',
`albumpermissions` = '255',
`albumpicmaxwidth` = '600',
`albumpicmaxheight` = '600',
`albumpicmaxsize` = '200000',
`albummaxpics` = '100',
`albummaxsize` = '0',
`usercsspermissions` = '63',
`visitormessagepermissions` = '63',
`socialgrouppermissions` = '51071',
`maximumsocialgroups` = '5',
`groupiconmaxsize` = '65535',
`photoplogpermissions` = '28871',
`photoplogmaxfilesize` = '512000',
`photoplogmaxfilelimit` = '100'
WHERE usergroupid=7;

MySQL Error : Unknown column 'ms_wic_addon_permissions' in 'field list'
Error Number : 1054
Request Date : Wednesday, January 5th 2011 @ 10:22:57 AM
Error Date : Wednesday, January 5th 2011 @ 10:23:00 AM
Script : http://???.com/admincp/usergroup.php?do=update
Referrer : http://???.com/admincp/usergroup.php...sergroupid=7IP Address : 00000000
Username : racecar
Classname : vB_Database
MySQL Version : 5.1.47-community-log
Reply With Quote
  #2  
Old 01-05-2011, 03:50 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like it has to do with this mod: https://vborg.vbsupport.ru/showthread.php?t=194602

I'm guessing the plugins are installed for it, but for some reason your database doesn't have the added columns that they require.
Reply With Quote
  #3  
Old 01-05-2011, 03:55 PM
Racecar Racecar is offline
 
Join Date: Sep 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, thanks. Will have to find and remove the files that go with that.

--------------- Added [DATE]1294257024[/DATE] at [TIME]1294257024[/TIME] ---------------

I must be missing something, I have removed that from both the site and the server and still get the error.
Any suggestions?
Reply With Quote
  #4  
Old 01-06-2011, 01:55 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Something is still there even after the files were removed- did you uninstall the mod? It's possible even if you did the mod was poorly coded and didn't remove all traces of itself despite being uninstalled.

You can go to phymyadmin, the user table, and add a new field called: ms_wic_addon_permissions make it type int or tinyint that would probably get rid of the error but doesn't really fix the underlying problem.
Reply With Quote
  #5  
Old 01-06-2011, 04:26 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Racecar View Post
I must be missing something, I have removed that from both the site and the server and still get the error.
Any suggestions?
What BOP5 said should work. But did you go to "Manage Products" and see if it's listed, and uninstall if it is? If that doesn't work you could also go to the "Plugin Manager" and see if any of the plugins have titles like "Flashchat:..." and disable or delete those. ...or you could even try installing it again, then uninstall it. (BTW, I would have replied yesterday but I missed your second post because of that annoying "post merging" thing ).
Reply With Quote
  #6  
Old 01-07-2011, 05:35 PM
Racecar Racecar is offline
 
Join Date: Sep 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I went to manage products and did the unistall and that did not fix the problem. I reinstalled and did unistall again to no such luck.
I'll try what BOP5 suggested for now to see if that works then hopefully I can figure out the bigger problem later.
Thanks.
Reply With Quote
  #7  
Old 01-12-2011, 02:47 PM
Racecar Racecar is offline
 
Join Date: Sep 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, no luck on getting this fixed. Is there a way to search which files were not removed? I have tried the install and uninstall and it's still not working. I have tried to find all the files on the server and can't find one that I missed but I must have.

--------------- Added [DATE]1294863679[/DATE] at [TIME]1294863679[/TIME] ---------------

I have finally found the problem.
I do thank you for the help. I just kept missing one file thinking it was something else.
Reply With Quote
Reply

Thread Tools
Display Modes

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 05:31 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04005 seconds
  • Memory Usage 2,217KB
  • Queries Executed 13 (?)
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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete