vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   usergroup - Problem in editing of group (https://vborg.vbsupport.ru/showthread.php?t=169200)

sbarbz 01-30-2008 09:39 PM

usergroup - Problem in editing of group
 
hello !

I have problem when I try to edit a group of users,
I am successful to enter editing of group, second something and try
to guard and this give me the error of sql on account of the database..

Pront Screen :
http://img341.imageshack.us/img341/1349/40492705ez6.jpg

Thank you very much to the helpful !

Marco van Herwaarden 01-31-2008 07:22 AM

Please post the text of the full SQL error message instead of a screenprint. All important information is not visible.

sbarbz 01-31-2008 02:40 PM

Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = '(COPPA) Users Awaiting Moderation',
`description` = '',
`usertitle` = '1',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '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` = '10000',
`sigmaxrawchars` = '1000',
`sigmaxchars` = '500',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '4',
`credit_induction` = '0',
`credit_referral` = '0',
`credit_refbonus` = '0',
`credit_daily` = '0',
`credit_active` = '0',
`credit_birthday` = '0',
`credit_repgive` = '0',
`credit_reppos` = '0',
`credit_repneg` = '0',
`credit_thread` = '1',
`credit_threadrate` = '0',
`credit_post` = '0',
`credit_ownthreadpost` = '0',
`credit_postsize` = '0',
`credit_pollmake` = '0',
`credit_pollvote` = '0',
`credit_unthread` = '0',
`credit_unpost` = '0',
`creditpermissions` = '0'
WHERE usergroupid=4;

MySQL Error : Unknown column 'edithistorypermissions' in 'field list'
Error Number : 1054
Date : Thursday, January 31st 2008 @ 06:35:29 PM
Script : http://zcomp.co.il/admincp/usergroup.php?do=update
Referrer : http://zcomp.co.il/admincp/usergroup...&usergroupid=4
IP Address : 79.181.168.49
Username : Admin
Classname : vb_database
Please :)

Opserty 01-31-2008 03:19 PM

Have you un-installed any hacks recently? Like one relating to Edit History? Make sure you've removed the custom file from includes/xml/ which is related to that modification. It should be something like bitfield_XXX.xml (XXX being some kind of name)

sbarbz 01-31-2008 03:30 PM

<u>bitfield_edit_history.xml</u> This ?

I erased the file and not any change in the result, I returned him in order not to destroy something else.

Opserty 01-31-2008 06:05 PM

Yes delete that file, then do the following:
  1. Download and/or open the version of vBulletin which matches your version on your site
  2. Go to the do_not_upload folder
  3. Upload the tools.php file from this folder, make sure you upload this file to the /admincp/ folder on your site
  4. Navigate to the tools.php ([norpase]http://www.yourdomain.com/admincp/tools.php[/noparse])
  5. Look for Datastore Cache and click the [Bitfield Cache] option.
  6. Follow any instructions that may appear
  7. Make sure you delete tools.php as soon are you have completed the above

sbarbz 02-01-2008 01:20 AM

Thank you very much great, I am sure that if I had more patience were helpful me! But I don't have patience, I am a forum starts and apparently that not there was me a problem is elementary newly and this what I did. I thank you very on the excellent support, thank you very much.

Marco van Herwaarden 02-01-2008 04:48 AM

Removing the ./xml/bitfoeld_XXX.xml files belonging to modifications you have uninstalled and editing 1 usergroup should sove your problem.

Opserty 02-01-2008 01:44 PM

Ah yes I forgot that usergroup editing rebuilds the cache if it doesn't match. My bad. :(


All times are GMT. The time now is 08:21 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.01504 seconds
  • Memory Usage 1,730KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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