View Single Post
  #1  
Old 07-18-2006, 03:48 PM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02428 seconds
  • Memory Usage 1,877KB
  • 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_php
  • (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