vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Usergroup Change Database Error (https://vborg.vbsupport.ru/showthread.php?t=151095)

cheat-master30 07-01-2007 08:42 AM

Usergroup Change Database Error
 
Okay, I am obviously running version 3.6.7 PL1 of vBulletin, and there is a major problem in that whenever usergroups are changed, a database error occurs which prevents anything working. It may possibly be because of a modification, but the modification that I think is responsible (Post Edit History) has supposedly been fully uninstalled and no products or plug ins related to it remain.

See attachment for screenshot.

This is the full error:

Quote:

Database error in vBulletin 3.6.7:

Invalid SQL:
UPDATE VBusergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = '(COPPA) Users Awaiting Moderation',
`description` = '',
`usertitle` = '',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '0',
`iprof_options` = '0',
`edithistorypermissions` = '0',
`forumpermissions` = '655375',
`genericpermissions` = '33554499',
`attachlimit` = '0',
`pmquota` = '50',
`pmpermissions` = '0',
`pmsendmax` = '0',
`calendarpermissions` = '1',
`wolpermissions` = '0',
`adminpermissions` = '0',
`genericoptions` = '56',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '20000',
`signaturepermissions` = '0',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '2000',
`sigmaxrawchars` = '1000',
`sigmaxchars` = '500',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '4'
WHERE usergroupid=4;

MySQL Error : Unknown column 'edithistorypermissions' in 'field list'
Error Number : 1054
Date : Sunday, July 1st 2007 @ 02:37:20 AM
Script : admincp/usergroup.php?do=update
Referrer : admincp/usergroup.php?do=edit&usergroupid=4
IP Address : **************
Username : **************
Classname : **************
Every other part of vBulletin works perfectly.

Does anyone have some kind of database query or action in PHPMyAdmin to remove what's causing the problem? Or a working uninstall script?

Michael Biddle 07-01-2007 09:04 AM

MySQL Error : Unknown column 'edithistorypermissions' in 'field list'

Run this query:

alter VBusergroup add edithistorypermissions int(11) not null;

cheat-master30 07-01-2007 09:19 AM

Thanks for the suggestion. Anyone else got any ways?

Michael Biddle 07-01-2007 09:20 AM

that didnt work?

cheat-master30 07-01-2007 09:43 AM

No, I have not tried it yet. Just very wary of database queries, and also need to know if there is a way to literally get rid of anything Post Edit History related, because I uninstalled and don't want/need anything to do with it any more.

Dismounted 07-01-2007 10:15 AM

You must remove all the files associated with it. In this case, it should be a bitfield_*.xml file in the /includes/xml/ directory.

cheat-master30 07-01-2007 11:20 AM

Thank you! That seems to have allowed me to save usergroups and the like!

Should I also remove this?

Quote:

hooks_edihistory.xml

Dismounted 07-01-2007 12:11 PM

Yes.


All times are GMT. The time now is 08:28 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.01694 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete