Log in

View Full Version : Database error when i try to edit usergroups


cafenetland
04-05-2008, 04:12 PM
hi guys.

when i try to edit any of usergroups im getting this error.
what can i do to fix this problem.
thx

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Registered Users',
`description` = '',
`usertitle` = '',
`opentag` = '<b><font face=Arial color=#cc6600 size=2,3>',
`closetag` = '</font ></b>',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '782847',
`attachlimit` = '0',
`pmquota` = '50',
`pmpermissions` = '3',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '1',
`adminpermissions` = '0',
`genericpermissions` = '472389319',
`genericoptions` = '60',
`profilepicmaxwidth` = '170',
`profilepicmaxheight` = '220',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '170',
`avatarmaxheight` = '220',
`avatarmaxsize` = '20000',
`signaturepermissions` = '235519',
`sigpicmaxwidth` = '170',
`sigpicmaxheight` = '220',
`sigpicmaxsize` = '40000',
`sigmaxrawchars` = '1000',
`sigmaxchars` = '500',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '3',
`sigmaximages` = '1',
`nbmsgshowchatbox` = '',
`mgccustomusergroupperms` = '0',
`mp3playergrouppermissions` = '1'
WHERE usergroupid=2;

MySQL Error : Unknown column 'nbmsgshowchatbox' in 'field list'
Error Number : 1054

Lynne
04-05-2008, 04:22 PM
That isn't a standard vbulletin column. The error is caused by a modification you have installed (a chatbox one?). Try disabling your plugins and see if the error still occurs.

snakes1100
04-05-2008, 04:38 PM
Remove the xml file the chatbox was using as well.

cafenetland
04-05-2008, 05:23 PM
i have tried to disable all the plug ins but im still getting this error.

also i dont have a mod. named chatbox

i donno what to do.

Jase2
04-05-2008, 05:29 PM
To troubleshoot this, first reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version and that none show 'File does not contain expected contents':

Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

[Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

Next, disable all plugins.

Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Do you still have the same problem?

cafenetland
04-05-2008, 05:38 PM
To troubleshoot this, first reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version and that none show 'File does not contain expected contents':

Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

[Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

Next, disable all plugins.

Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Do you still have the same problem?



u r the man.

thank u very much.

i have removed some of the old xml files from ftp.

now its working like a charm.

Jase2
04-05-2008, 05:55 PM
Not a problem, glad I could help. :)

Opserty
04-05-2008, 06:35 PM
Remnant bitfield_****.xml files are often causes of usergroup permission problems. ;)