Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
SQL Error in Admin CP when I Edit a user Details »»
SQL Error in Admin CP when I Edit a user
Version: , by DannyBoy8406 DannyBoy8406 is offline
Developer Last Online: Jan 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 11-17-2003 Last Update: Never Installs: 0
 
No support by the author.

When I edit a user and go to save it gives me a 1064 error. I'm lost and clueless, I read the thread but its all latin to me can someone please help me out....alot!

Quote:
Database error in vBulletin Control Panel 2.3.3:

Invalid SQL: UPDATE user SET birthday='0000-00-00',options='15',usergroupid='6',username='Sherloc k Holmes',email='dghunsucker@roanoke.edu',styleid='9 ',parentemail='',coppauser=0,homepage='www.mystery-boards.com',icq='59997479',aim='DannyBoy8406',yaho o='scinzihs',signature='',adminemail=1,showemail=1 ,invisible=0,usertitle='<i><b>Commissioner</b><br>Elementary Dear Watson</i>',customtitle=1,joindate=UNIX_TIMESTAMP('2003-11-16 22:33:44'),cookieuser=1,nosessionhash=1,daysprune= '-1',lastvisit=UNIX_TIMESTAMP('2003-11-17 16:26:43'),lastactivity=UNIX_TIMESTAMP('2003-11-17 17:17:20'),lastpost=UNIX_TIMESTAMP('2003-11-17 11:14:09'),
posts='2',profileview=''',timezoneoffset='-5',emailnotification=0,receivepm='1',emailonpm='0' ,ipaddress='',pmpopup=IF(pmpopup=2 AND 1=1,pmpopup,'1') WHERE userid=1
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 '',emailnotification=0,receivepm='1',emailonpm='0' ,ipaddress='',

mysql error number: 1064

Date: Monday 17th of November 2003 05:19:43 PM
Script: http://www.mystery-boards.com/admin/user.php
Referer:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 11-18-2003, 05:52 AM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you installed a hack recently that edits user.php? If so, You have have installed it incorrectly. Upload an unhacked user.php and see if that fixes the problem.
Reply With Quote
  #3  
Old 11-18-2003, 06:04 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by assassingod
Have you installed a hack recently that edits user.php? If so, You have have installed it incorrectly. Upload an unhacked user.php and see if that fixes the problem.
i swore i replied to this >.>

like i said before the only thing that i could think of is a bad hack >.>
Reply With Quote
  #4  
Old 11-18-2003, 06:22 AM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You try this, open user.php and find:
PHP Code:
$emailnotification 
and replace with
PHP Code:
'$emailnotification' 
If there are already single quotes around there, leave it and upload an unhacked user.php
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 07:26 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08931 seconds
  • Memory Usage 2,229KB
  • Queries Executed 17 (?)
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
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)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