Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-22-2010, 06:02 PM
JuniorWU JuniorWU is offline
 
Join Date: Feb 2010
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Problem with user groups

Well, today I was trying to edit a user group on my forum, but this error is happening and do not know how to solve!

see below what appears when I try to edit:

Database error in vBulletin 3.8.4:

Invalid SQL:
UPDATE vb_usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Uploader',
`description` = '',
`usertitle` = 'Uploader',
`opentag` = '<span style=\"font-weight: bold; color: #692DAC;\">',
`closetag` = '</span>',
`passwordexpires` = '0',
`passwordhistory` = '0',
`ispublicgroup` = '0',
`canoverride` = '0',
`mgccustomusergroupperms` = '0',
`nbmsgshowchatbox` = '',
`forumpermissions` = '6013175',
`genericpermissions` = '1276657603',
`attachlimit` = '0',
`pmquota` = '150',
`pmpermissions` = '4',
`pmsendmax` = '5',
`pmthrottlequantity` = '0',
`calendarpermissions` = '0',
`wolpermissions` = '1',
`adminpermissions` = '0',
`genericpermissions2` = '1',
`genericoptions` = '63',
`profilepicmaxwidth` = '140',
`profilepicmaxheight` = '220',
`profilepicmaxsize` = '102400',
`avatarmaxwidth` = '150',
`avatarmaxheight` = '250',
`avatarmaxsize` = '102400',
`signaturepermissions` = '236799',
`sigpicmaxwidth` = '450',
`sigpicmaxheight` = '400',
`sigpicmaxsize` = '307200',
`sigmaxrawchars` = '1500',
`sigmaxchars` = '1000',
`sigmaxlines` = '6',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '4',
`albumpermissions` = '255',
`albumpicmaxwidth` = '600',
`albumpicmaxheight` = '600',
`albumpicmaxsize` = '100000',
`albummaxpics` = '100',
`albummaxsize` = '0',
`usercsspermissions` = '63',
`visitormessagepermissions` = '63',
`socialgrouppermissions` = '55159',
`maximumsocialgroups` = '5',
`groupiconmaxsize` = '65535'
WHERE usergroupid=11;

MySQL Error : Unknown column 'mgccustomusergroupperms' in 'field list'
Error Number : 1054
Request Date : Monday, November 22nd 2010 @ 02:55:51 PM
Error Date : Monday, November 22nd 2010 @ 02:55:51 PM
Script : http://www.warezup.net/admincp/usergroup.php?do=update
Referrer : http://www.warezup.net/admincp/userg...usergroupid=11
IP Address : 187.40.197.189
Username : Raposo
Classname : vB_Database
MySQL Version : 5.0.91-community


Help-me please!!!!!!
Attached Images
File Type: jpg Sem t?tulo.jpg (76.5 KB, 0 views)
Reply With Quote
  #2  
Old 11-22-2010, 06:34 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is no field "mgccustomusergroupperms" in the table usergroup in default vbulletin. Your error is from a modification. Disable, or uninstall, the mod and it will go away.
Reply With Quote
  #3  
Old 11-22-2010, 06:48 PM
JuniorWU JuniorWU is offline
 
Join Date: Feb 2010
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

deactivated all plugins and to no avail =/...
is there any way to restore or recreate the table?
Reply With Quote
  #4  
Old 11-22-2010, 08:30 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It could be that you didn't uninstall a modification correctly. Have you uninstalled any lately? And do you always make sure to remove all files you uploaded for the modification also?
Reply With Quote
  #5  
Old 11-22-2010, 10:32 PM
JuniorWU JuniorWU is offline
 
Join Date: Feb 2010
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is odd is that it came out of nowhere, everything was working properly, untill by what did not adding any new plugin = /....
I will try to resolve the problem, if there is other easier solution would appreciate
Reply With Quote
  #6  
Old 11-25-2010, 05:08 AM
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Jul 2005
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well it's a mod causing it. It was either not uninstalled or not working properly and causing your forum to have issues.

If you deactivate all plugins do you still have the problem?

otherwise you will have to list your mods or go through each one and see which one is causing a problem.

Some hack created the table mgccustomusergroupperms

Now I don't know if you are using that mod still. If not, then it didn't uninstall properly and is causing problems.

You could wipe that table too. But you want to know what and how it installed before you take a huge action. And make a backup 1st!
Reply With Quote
  #7  
Old 11-25-2010, 01:35 PM
JuniorWU JuniorWU is offline
 
Join Date: Feb 2010
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

already managed to solve, I accessed phpmyadmin and create a table named "mgccustomusergroupperms" and returned to work perfectly
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 10:51 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.07977 seconds
  • Memory Usage 2,235KB
  • Queries Executed 12 (?)
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)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
  • (1)postbit_attachment
  • (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_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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete