vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Can't edit user? (https://vborg.vbsupport.ru/showthread.php?t=121497)

Shazz 07-18-2006 03:48 PM

Can't edit user?
 
PHP Code:

Database error in vBulletin 3.5.4:

Invalid SQL:
UPDATE user SET
    
### Bitfield: user.options ###
        
options = IF(options 8options 8options),
        
options = IF(options 1024options 1024options),
        
options = IF(options 16optionsoptions 16),
        
options = IF(options 256options 256options),
        
options = IF(options 512options 512options),
        
options = IF(options 32options 32options),
        
options = IF(options 2048optionsoptions 2048),
        
options = IF(options 4096options 4096options),
        
options = IF(options 1optionsoptions 1),
        
options = IF(options 2optionsoptions 2),
        
options = IF(options 4optionsoptions 4),
        
options = IF(options 64optionsoptions 64),
        
options = IF(options 128options 128options),
        
options = IF(options 32768options 32768options),
    
usertitle 'Banned',
    
customtitle 0,
    
username 'CAp i TOLL Z',
    
email 'ass@aim.com',
    
languageid 1,
    
homepage '',
    
birthday_search '1975-03-04',
    
birthday '03-04-1975',
    
showbirthday 2,
    
icq '',
    
aim '',
    
yahoo '',
    
msn '',
    
skype '',
    
parentemail '',
    
posts 1,
    
referrerid '221',
    
ipaddress '*edit out',
    
acceptbattles 1,
    
battle_wins 0,
    
battle_losses 0,
    
battle_ko 0,
    
usergroupid 8,
    
reputationlevelid 5,
    
reputation 10,
    
pmpopup 0,
    
autosubscribe = -1,
    
threadedmode 0,
    
showvbcode 1,
    
styleid 0,
    
timezoneoffset '-5',
    
daysprune 0,
    
joindate 1151804880,
    
lastactivity 1151805420,
    
lastpost 1151805060,
    
advpmoptions_savecopy 1,
    
advpmoptions_receipt 0,
    
advpmoptions_deleteoriginal 0,
    
membergroupids '',
    
vbp_receivespoints 1,
    
vbp_storeaccess 1,
     = 
0,
    
vbp_nextbankinterest 0,
    
vbp_genericperm 0,
    
vbp_modperm 0,
    
vbp_adminperm 0,
    
vbp_nametextcolor '',
    
vbp_nameglowcolor '',
    
vbp_nameshadowcolor '',
    
vbp_namefonttype '',
    
vbp_titletextcolor '',
    
vbp_titleglowcolor '',
    
vbp_titleshadowcolor '',
    
vbp_titlefonttype '',
    
vbp_changealwaysitems '',
    
### Bitfield: user.vbp_displayflags ###
        
vbp_displayflags = IF(vbp_displayflags 1vbp_displayflags 1vbp_displayflags),
        
vbp_displayflags = IF(vbp_displayflags 2vbp_displayflags 2vbp_displayflags),
        
vbp_displayflags = IF(vbp_displayflags 4vbp_displayflags 4vbp_displayflags),
        
vbp_displayflags = IF(vbp_displayflags 8vbp_displayflags 8vbp_displayflags),
        
vbp_displayflags = IF(vbp_displayflags 16vbp_displayflags 16vbp_displayflags),
        
vbp_displayflags = IF(vbp_displayflags 32vbp_displayflags 32vbp_displayflags),
        
vbp_displayflags = IF(vbp_displayflags 64vbp_displayflags 64vbp_displayflags),
        
vbp_displayflags = IF(vbp_displayflags 128vbp_displayflags 128vbp_displayflags),
    
### Bitfield: user.vbp_otherflags ###
        
vbp_otherflags = IF(vbp_otherflags 1vbp_otherflags 1vbp_otherflags),
        
vbp_otherflags = IF(vbp_otherflags 2vbp_otherflags 2vbp_otherflags),
        
vbp_otherflags = IF(vbp_otherflags 4vbp_otherflags 4vbp_otherflags),
        
vbp_otherflags = IF(vbp_otherflags 8vbp_otherflags 8vbp_otherflags),
        
vbp_otherflags = IF(vbp_otherflags 16vbp_otherflags 16vbp_otherflags),
        
vbp_otherflags = IF(vbp_otherflags 32vbp_otherflags 32vbp_otherflags),
        
vbp_otherflags = IF(vbp_otherflags 64vbp_otherflags 64vbp_otherflags),
        
vbp_otherflags = IF(vbp_otherflags 256vbp_otherflags 256vbp_otherflags),
    
### Bitfield: user.vbp_immunity ###
        
vbp_immunity = IF(vbp_immunity 1vbp_immunity 1vbp_immunity),
        
vbp_immunity = IF(vbp_immunity 2vbp_immunity 2vbp_immunity),
        
vbp_immunity = IF(vbp_immunity 4vbp_immunity 4vbp_immunity),
        
vbp_immunity = IF(vbp_immunity 8vbp_immunity 8vbp_immunity),
        
vbp_immunity = IF(vbp_immunity 16vbp_immunity 16vbp_immunity),
        
vbp_immunity = IF(vbp_immunity 32vbp_immunity 32vbp_immunity),
        
vbp_immunity = IF(vbp_immunity 64vbp_immunity 64vbp_immunity)
WHERE userid 223;

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 '= 0,
    vbp_nextbankinterest = 0,
    vbp_genericperm = 0,
    vbp_m
Error Number : 1064
Date         : Tuesday, July 18th 2006 @ 12:44:44 PM
Script       : http://www.dawritersblock.com/admincp/user.php
Referrer     : http://www.dawritersblock.com/admincp/user.php?do=edit&u=223
IP Address   : *edit out
Username     : Shazz
Classname    : vb_database 


It happends when i try and Update someones profile.
Like Search Users> change something then hit save.
This happends =\
I haven't installed any hacks or plugins..
________
Ducati 350 Desmo

ericgtr 07-18-2006 09:31 PM

Are you sure you don't have any mods installed? I don't believe nextbankinterest is a default table. Do you (or did you) have any point system installed? If so I would disable or uninstall it and try again.

Shazz 07-18-2006 10:23 PM

Yea i found out that was the problem when i ran GZIP
thanx though
________
Ford Maverick history


All times are GMT. The time now is 06:13 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.01164 seconds
  • Memory Usage 1,788KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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