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

Reply
 
Thread Tools Display Modes
  #1  
Old 12-11-2008, 01:27 PM
[email protected] vbmenu_register("postmenu_1683128", true);
Guest
 
Posts: n/a
Default error when changing usergroup permissions

I am getting this error when trying to change usergroup permissions for registered users. The only change I am trying to make is to allow registered users to have pictures in their signatures.

Code:
Database error in vBulletin 3.7.3:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
	`title` = 'Registered Users',
	`description` = '',
	`usertitle` = '',
	`opentag` = '',
	`closetag` = '',
	`passwordexpires` = '0',
	`passwordhistory` = '0',
	`vbstopforumspamviewpermissions` = '0',
	`vbstopforumspamsubmitpermissions` = '0',
	`vbblog_general_permissions` = '126',
	`vbblog_entry_permissions` = '7804',
	`vbblog_comment_permissions` = '974',
	`forumpermissions` = '3928575',
	`genericpermissions` = '1579685575',
	`attachlimit` = '0',
	`pmquota` = '50',
	`pmpermissions` = '3',
	`pmsendmax` = '5',
	`calendarpermissions` = '63',
	`wolpermissions` = '1',
	`adminpermissions` = '0',
	`genericpermissions2` = '1',
	`genericoptions` = '62',
	`profilepicmaxwidth` = '100',
	`profilepicmaxheight` = '100',
	`profilepicmaxsize` = '65535',
	`avatarmaxwidth` = '80',
	`avatarmaxheight` = '80',
	`avatarmaxsize` = '20000',
	`signaturepermissions` = '169983',
	`sigpicmaxwidth` = '500',
	`sigpicmaxheight` = '100',
	`sigpicmaxsize` = '10000',
	`sigmaxrawchars` = '1000',
	`sigmaxchars` = '500',
	`sigmaxlines` = '0',
	`sigmaxsizebbcode` = '7',
	`sigmaximages` = '4',
	`albumpermissions` = '255',
	`albumpicmaxwidth` = '600',
	`albumpicmaxheight` = '600',
	`albumpicmaxsize` = '100000',
	`albummaxpics` = '100',
	`albummaxsize` = '0',
	`usercsspermissions` = '31',
	`visitormessagepermissions` = '63',
	`socialgrouppermissions` = '375',
	`uscpermissions` = '0'
WHERE usergroupid=2;

MySQL Error   : Unknown column 'uscpermissions' in 'field list'
Error Number  : 1054
Request Date  : Thursday, December 11th 2008 @ 10:15:16 AM
Error Date    : Thursday, December 11th 2008 @ 10:15:17 AM
Script        : http://www.tabletpcbuzz.com/admincp/usergroup.php?do=update
Referrer      : http://www.tabletpcbuzz.com/admincp/usergroup.php?do=edit&usergroupid=2
IP Address    : 68.165.25.19
Username      : admin
Classname     : vB_Database
MySQL Version : 5.0.45-log
Thanks for your help.

John
www.tabletpcbuzz.com
Reply With Quote
  #2  
Old 12-11-2008, 01:38 PM
dyna88 dyna88 is offline
 
Join Date: Dec 2006
Location: Wisconsin
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you happen to recently uninstall a modification and forget to remove the XML file?
Reply With Quote
  #3  
Old 12-16-2008, 02:00 PM
[email protected] vbmenu_register("postmenu_1686641", true);
Guest
 
Posts: n/a
Default

I did have the Wordpress mod installed and was going to use that but then changed my mind. I had a hired programmer make the changes. What should I tell him needs to be done to fix this?

John
www.tabletpcbuzz.com
Reply With Quote
  #4  
Old 12-16-2008, 02:43 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think dyna88 is correct. When uninstalling a modification, you also need to remove any files you uploaded for the modification also - especially ones in the includes/xml folder.
Reply With Quote
  #5  
Old 12-16-2008, 03:37 PM
[email protected] vbmenu_register("postmenu_1686721", true);
Guest
 
Posts: n/a
Default

Here is the list of files in that directory:

hooks_vbacmps.xml
cpnav_vbacmps.xml
cpnav_vseo_sitemap.xml
spiders_vbulletin.xml
podcast_vbulletin.xml
js_safe_phrases.xml
index.html
hooks_vbulletin.xml
cpnav_vbulletin.xml
bitfield_vbulletin.xml
product-vbblog.xml
hooks_vbblog.xml
bitfield_vbblog.xml
bitfield_usc.xml
cpnav_vbstopforumspam.xml
bitfield_vbstopforumspam.xml
#cpnva_impex.xml

I don't see anything this is extra based on mods I am using but hopefully your trained eyes can point one out.

John
www.tabletpcbuzz.com
Reply With Quote
  #6  
Old 12-16-2008, 04:12 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then you should look through your plugins - I'd start with ones that have "query" in the hook location - for the field "uscpermissions"

(How about "bitfield_usc.xml"? Notice the usc in there?)
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 01:35 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.04185 seconds
  • Memory Usage 2,200KB
  • 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_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (3)postbit_onlinestatus
  • (6)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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete