vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   1064 avatar in admincp. (https://vborg.vbsupport.ru/showthread.php?t=115249)

eskiforum 05-10-2006 06:39 PM

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



All times are GMT. The time now is 01:37 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.01063 seconds
  • Memory Usage 1,734KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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