vb.org Archive

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

MonCher 06-22-2009 03:37 PM

Database Error - Invalid SQL - Update Usergroup Set
 
vB Version 3.8.2

I received a few error codes in the last couple of days. Does anyone know what I should do with the following error code...

P.S. I did have another Invalid SQL and I ran a repair on the SQL database .... it's really difficult to even get a repair ticket to SiteGround... you just get a series of questions and answers. I'm not sure that running the repair will solve the issue listed below.

It looks like it's asking me to update the moderators - userdroup #7. But I don't understand
Unknown column 'mgc_cb_evo_permissions' in 'field list'. Do you know what am I missing?

Thanks

---------------------
Database error in vBulletin 3.8.2:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Moderators',
`description` = '',
`usertitle` = 'Your Friendly Moderator',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '12320767',
`genericpermissions` = '1592727247',
`attachlimit` = '0',
`pmquota` = '50',
`pmpermissions` = '7',
`pmsendmax` = '5',
`pmthrottlequantity` = '0',
`calendarpermissions` = '63',
`wolpermissions` = '1',
`adminpermissions` = '0',
`genericpermissions2` = '1',
`genericoptions` = '62',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '50',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '20000',
`signaturepermissions` = '237567',
`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` = '63',
`visitormessagepermissions` = '63',
`socialgrouppermissions` = '51199',
`maximumsocialgroups` = '5',
`groupiconmaxsize` = '50',
`mgc_cb_evo_permissions` = '0',
`mgc_cb_evo_refreshrate` = '30',
`mgc_cb_evo_nbmsg_show` = '',
`mgc_cb_evo_nbmsg_perday_show` = '',
`mgc_cb_evo_max_chats_perday` = '0',
`vbblog_general_permissions` = '521214',
`vbblog_customblocks` = '5',
`vbblog_custompages` = '5',
`vbblog_entry_permissions` = '8191',
`vbblog_comment_permissions` = '974'
WHERE usergroupid=7;

MySQL Error : Unknown column 'mgc_cb_evo_permissions' in 'field list'
Error Number : 1054
Request Date : Saturday, June 20th 2009 @ 06:14:23 PM
Error Date : Saturday, June 20th 2009 @ 06:14:23 PM
Script : http://www.4datetalk.com/forums/admi....php?do=update
Referrer : http://www.4datetalk.com/forums/admi...&usergroupid=7
IP Address : 71.134.158.124
Username : admin
Classname : vB_Database
MySQL Version : 4.1.22-standard-log
Reply
Forward
-------------

snakes1100 06-22-2009 04:05 PM

1. Remove the hack completely thats related to your error.

2. This is not a server issue, its an installed modification error, please post in the correct forum.

Lynne 06-22-2009 04:46 PM

As Anthony stated, this is an error related to a modification. The column 'mgc_cb_evo_permissions' is not a default vbulletin one. You've either installed a modification incorrectly, or not uninstalled it correctly (you need to remove all files related to a modification when you uninstall it, not just disable the plugins).

MonCher 06-22-2009 05:03 PM

Thank you Lynne and Snakes. I was confused, I thought the server was causing the problem. Now, I can see exactly what you're referring to. It was probably the upgrade to 3.8.2... I didn't realize the hack wasn't upgraded at the same time -- my fault.

snakes1100 06-22-2009 05:23 PM

It has nothing to do with a upgrade, please read the error msg again.

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

Remove the hack completely from your site, if you do not know what all the hack did when you installed it, re-download it, view its contents and then verify that you removed everything to do with the said hack.

Hacks/Modifications are NOT default functions of the vbulletin system, therefore no hacks/addons that you dl from here or any other site will get upgraded by the default vbulletin system. The vbulletin blog is not even updated with the default vbulletin, its a totally separate program.

Dismounted 06-23-2009 09:52 AM

Quote:

Originally Posted by snakes1100 (Post 1834936)
MySQL Error : Unknown column 'mgc_cb_evo_permissions' in 'field list'

Remove the hack completely from your site, if you do not know what all the hack did when you installed it, re-download it, view its contents and then verify that you removed everything to do with the said hack.

More specifically, you have not removed a bitfield_*.xml file from the /includes/xml directory.

snakes1100 06-23-2009 03:12 PM

Quote:

Originally Posted by Dismounted (Post 1835483)
More specifically, you have not removed a bitfield_*.xml file from the /includes/xml directory.

More specifically, that is the reason i didnt give the answer, hoping that the user might learn something on their own.

MonCher 06-23-2009 03:20 PM

OMG!!! I removed the chatbox yesterday thinking that was the problem. I just
received a message from Cybernetec saying it had nothing to do with the problem.
I emailed a guy that does some work on the site and he said he doesn't understand
how to fix database errors like these.

I'm lost!!!
Going back to read about bitfield_*.xml files and the includes/xml directory again to
see how I've missed which hack this is.

Lynne 06-23-2009 03:28 PM

MonCher, did you read the above messages? The fix to your problem is posted.

MonCher 06-23-2009 05:49 PM

Quote:

Originally Posted by Dismounted (Post 1835483)
More specifically, you have not removed a bitfield_*.xml file from the /includes/xml directory.

Thanks so much Lynne and Dismounted...
I needed to sit back and break for a second...:)
I'm really trying!

I pretty sure Dismounted gave me the answer here. I read everything again in the manual about removing a product. I know how to do that part after removing the chatbox yesterday. What I'm concerned about is removing the wrong bitfield_*.xml file... just like I removed the wrong hack yesterday. I can't locate the hack that it is associated with. I've had a few hacks put in by paid sources within the past 2 weeks like:

PhotoPost Pro
vBa Links Directory
VBa Dynamics
VBSEO

I don't have the files associated with those hacks because I paid for their installation. So, I think that removing a file bitfield_*.xml without knowing the hack and removing it will create more problems . I think I should send the error to the vendors who installed the hacks.


All times are GMT. The time now is 06:52 AM.

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.03536 seconds
  • Memory Usage 1,750KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete