Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 07-18-2006, 09:31 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 07-18-2006, 10:23 PM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:14 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.03545 seconds
  • Memory Usage 2,245KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete