View Single Post
  #1  
Old 05-10-2006, 06:39 PM
eskiforum eskiforum is offline
 
Join Date: Apr 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 1064 avatar in admincp.

İ take this error when i want to change any users avatar in admincp.

Please help
Code:
Database error in vBulletin 3.5.4:

Invalid SQL:
UPDATE user SET
	### Bitfield: user.options ###
		options = IF(options & 8, options - 8, options),
		options = IF(options & 1024, options, options + 1024),
		options = IF(options & 16, options, options + 16),
		options = IF(options & 256, options - 256, options),
		options = IF(options & 512, options - 512, options),
		options = IF(options & 32, options - 32, options),
		options = IF(options & 2048, options, options + 2048),
		options = IF(options & 4096, options - 4096, options),
		options = IF(options & 1, options, options + 1),
		options = IF(options & 2, options, options + 2),
		options = IF(options & 4, options, options + 4),
		options = IF(options & 64, options, options + 64),
		options = IF(options & 128, options, options + 128),
		options = IF(options & 32768, options - 32768, options),
	usertitle = '?ye',
	customtitle = 0,
	username = 'fm',
	email = '.com',
	languageid = 2,
	homepage = '',
	birthday_search = '',
	birthday = '',
	showbirthday = 0,
	icq = '',
	aim = '',
	yahoo = '',
	msn = '',
	skype = '',
	parentemail = '',
	posts = 53,
	referrerid = 0,
	ipaddress = '81.213.7
	caninvite = 1,
	invites = 10,
	usergroupid = 2,
	reputationlevelid = 5,
	reputation = 20,
	pmpopup = 1,
	autosubscribe = -1,
	threadedmode = 0,
	showvbcode = 1,
	styleid = 0,
	timezoneoffset = '2',
	daysprune = 0,
	joindate = 1146337440,
	lastactivity = 1147279980,
	lastpost = 1147211280,
	membergroupids = '',
	vbp_receivespoints = 1,
	vbp_storeaccess = 1,
	vbbux = 100108.79,
	M-Bank = 0,
	vbp_nextbankinterest = 0,
	vbp_genericperm = 0,
	vbp_modperm = 0,
	vbp_adminperm = 0,
	vbp_nametextcolor = '',
	vbp_nameglowcolor = '',
	vbp_nameshadowcolor = '',
	vbp_titletextcolor = '',
	vbp_changealwaysitems = '',
	### Bitfield: user.vbp_displayflags ###
		vbp_displayflags = IF(vbp_displayflags & 1, vbp_displayflags - 1, vbp_displayflags),
		vbp_displayflags = IF(vbp_displayflags & 2, vbp_displayflags - 2, vbp_displayflags),
		vbp_displayflags = IF(vbp_displayflags & 4, vbp_displayflags - 4, vbp_displayflags),
		vbp_displayflags = IF(vbp_displayflags & 8, vbp_displayflags - 8, vbp_displayflags),
		vbp_displayflags = IF(vbp_displayflags & 16, vbp_displayflags - 16, vbp_displayflags),
		vbp_displayflags = IF(vbp_displayflags & 32, vbp_displayflags - 32, vbp_displayflags),
		vbp_displayflags = IF(vbp_displayflags & 64, vbp_displayflags - 64, vbp_displayflags),
		vbp_displayflags = IF(vbp_displayflags & 128, vbp_displayflags - 128, vbp_displayflags),
	### Bitfield: user.vbp_otherflags ###
		vbp_otherflags = IF(vbp_otherflags & 1, vbp_otherflags - 1, vbp_otherflags),
		vbp_otherflags = IF(vbp_otherflags & 2, vbp_otherflags - 2, vbp_otherflags),
		vbp_otherflags = IF(vbp_otherflags & 4, vbp_otherflags - 4, vbp_otherflags),
		vbp_otherflags = IF(vbp_otherflags & 8, vbp_otherflags - 8, vbp_otherflags),
		vbp_otherflags = IF(vbp_otherflags & 16, vbp_otherflags - 16, vbp_otherflags),
		vbp_otherflags = IF(vbp_otherflags & 32, vbp_otherflags - 32, vbp_otherflags),
		vbp_otherflags = IF(vbp_otherflags & 64, vbp_otherflags - 64, vbp_otherflags),
		vbp_otherflags = IF(vbp_otherflags & 256, vbp_otherflags - 256, vbp_otherflags),
	### Bitfield: user.vbp_immunity ###
		vbp_immunity = IF(vbp_immunity & 1, vbp_immunity - 1, vbp_immunity),
		vbp_immunity = IF(vbp_immunity & 2, vbp_immunity - 2, vbp_immunity),
		vbp_immunity = IF(vbp_immunity & 4, vbp_immunity - 4, vbp_immunity),
		vbp_immunity = IF(vbp_immunity & 8, vbp_immunity - 8, vbp_immunity),
		vbp_immunity = IF(vbp_immunity & 16, vbp_immunity - 16, vbp_immunity),
		vbp_immunity = IF(vbp_immunity & 32, vbp_immunity - 32, vbp_immunity),
		vbp_immunity = IF(vbp_immunity & 64, vbp_immunity - 64, vbp_immunity)
WHERE userid = 7;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-Bank = 0,
	vbp_nextbankinterest = 0,
	vbp_genericperm = 0,
	vbp_modperm = 0,' at line 54
Error Number : 1064
Date         : Wednesday, May 10th 2006 @ 02:37:51 PM
Script       : http://
Referrer     : http://
IP Address   : 85.10
Username     : man
Classname    : vb_database
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01235 seconds
  • Memory Usage 1,795KB
  • 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
  • (1)bbcode_code
  • (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