View Single Post
  #36  
Old 06-06-2004, 07:45 PM
tjdrico's Avatar
tjdrico tjdrico is offline
 
Join Date: Mar 2004
Location: Morecambe, UK
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wolffman
When I tried to edit the permissions this came up:

Code:
Database error in vBulletin 3.0.1:

Invalid SQL: UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
	title = 'Members',
	description = '',
	usertitle = '',
	opentag = '',
	closetag = '',
	passwordexpires = '0',
	passwordhistory = '0',
	attachlimit = '0',
	canpostvbookieevent = '1',
	caneditothersvbookieevents = '1',
	canbet = '1',
	avatarmaxwidth = '150',
	avatarmaxheight = '150',
	avatarmaxsize = '50000',
	profilepicmaxwidth = '200',
	profilepicmaxheight = '200',
	profilepicmaxsize = '65535',
	pmquota = '40',
	pmsendmax = '5',
	uttstore_discount = '0',
	forumpermissions = '127487',
	pmpermissions = '3',
	calendarpermissions = '17',
	wolpermissions = '1',
	adminpermissions = '0',
	genericpermissions = '7879',
	genericoptions = '30',
	shoutboxpermissions = '0',
	siguploaderpermissions = '0',
	arcadepermissions = '0'
WHERE usergroupid=2
mysql error: Unknown column 'canpostvbookieevent' in 'field list'

mysql error number: 1054
According to my local mySQL, those columns shouldn't be in usergroup anyway:

Code:
mysql> show columns from vb_usergroup;
+---------------------+----------------------+------+-----+---------+----------------+
| Field               | Type                 | Null | Key | Default | Extra          |
+---------------------+----------------------+------+-----+---------+----------------+
| usergroupid         | smallint(5) unsigned |      | PRI | NULL    | auto_increment |
| title               | varchar(100)         |      |     |         |                |
| description         | varchar(250)         |      |     |         |                |
| usertitle           | varchar(100)         |      |     |         |                |
| passwordexpires     | smallint(5) unsigned |      |     | 0       |                |
| passwordhistory     | smallint(5) unsigned |      |     | 0       |                |
| pmquota             | smallint(5) unsigned |      |     | 0       |                |
| pmsendmax           | smallint(5) unsigned |      |     | 5       |                |
| pmforwardmax        | smallint(5) unsigned |      |     | 5       |                |
| opentag             | varchar(100)         |      |     |         |                |
| closetag            | varchar(100)         |      |     |         |                |
| canoverride         | smallint(5) unsigned |      |     | 0       |                |
| ispublicgroup       | smallint(5) unsigned |      |     | 0       |                |
| forumpermissions    | int(10) unsigned     |      |     | 0       |                |
| pmpermissions       | int(10) unsigned     |      |     | 0       |                |
| calendarpermissions | int(10) unsigned     |      |     | 0       |                |
| wolpermissions      | int(10) unsigned     |      |     | 0       |                |
| adminpermissions    | int(10) unsigned     |      |     | 0       |                |
| genericpermissions  | int(10) unsigned     |      |     | 0       |                |
| genericoptions      | int(10) unsigned     |      |     | 0       |                |
| pmpermissions_bak   | int(10) unsigned     |      |     | 0       |                |
| attachlimit         | int(10) unsigned     |      |     | 0       |                |
| avatarmaxwidth      | smallint(5) unsigned |      |     | 0       |                |
| avatarmaxheight     | smallint(5) unsigned |      |     | 0       |                |
| avatarmaxsize       | int(10) unsigned     |      |     | 0       |                |
| profilepicmaxwidth  | smallint(5) unsigned |      |     | 0       |                |
| profilepicmaxheight | smallint(5) unsigned |      |     | 0       |                |
| profilepicmaxsize   | int(10) unsigned     |      |     | 0       |                |
| arcadepermissions   | int(10) unsigned     | YES  |     | 0       |                |
| uttstore_discount   | varchar(20)          |      |     | 0       |                |
+---------------------+----------------------+------+-----+---------+----------------+
30 rows in set (0.02 sec)
It looks like you didn't follow the installation instructions correctly. Those three columns (canpostvbookieevent, caneditothersvbookieevents, canbet) should have gone directly below "'canseedelnotice' => 262144," in init.php which would make them part of the 'forumpermissions' group.

I recommend that you go through the installation instructions again, double-checking them against what you've actually done.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01230 seconds
  • Memory Usage 1,796KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete