vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Can't Edit User - MySQL Error Number 1064 (https://vborg.vbsupport.ru/showthread.php?t=44099)

Tailfeathers 09-29-2002 09:22 PM

Can't Edit User - MySQL Error Number 1064
 
If I try to edit a user from the admin control panel, I get this error:

There seems to have been a slight problem with the Tailfeathers database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.


Code:

Database error in vBulletin Control Panel 2.2.8:

Invalid SQL: UPDATE user SET birthday='0',awaydate=UNIX_TIMESTAMP('1969-12-31 19:00:00'),returndate='0000-00-00',awayreason='',1982-12-19',options='15',usergroupid='2',username='taffywduck',email='taffyduck_02@hotmail.com',styleid='1',parentemail='',coppauser=0,homepage='http://',icq='17541430',aim='',yahoo='',signature='',adminemail=1,showemail=0,invisible=0,usertitle='Egg',customtitle=0,joindate=UNIX_TIMESTAMP('2002-09-29 17:14:58'),cookieuser=1,nosessionhash=1,daysprune='5',lastvisit=UNIX_TIMESTAMP('2002-09-29 17:22:34'),lastactivity=UNIX_TIMESTAMP('2002-09-29 17:42:19'),lastpost=UNIX_TIMESTAMP('2002-09-29 17:20:34'),posts='1',timezoneoffset='-3.5',emailnotification=1,receivepm='1',emailonpm='1',ipaddress='65.94.131.31',pmpopup=IF(pmpopup=2 AND 1=1,pmpopup,'1'),canreportposts='1' WHERE userid=5
mysql error: You have an error in your SQL syntax near '1982-12-19',options='15',usergroupid='2',username='taffywduck',email='taffyduck_' at line 1

mysql error number: 1064

Date: Sunday 29th of September 2002 06:20:10 PM
Script: http://www.tailfeathersnetwork.com/admin/user.php
Referer: http://www.tailfeathersnetwork.com/a...=edit&userid=5

Any ideas?

Thanks. :)

Steve Machol 09-29-2002 09:24 PM

Reupload the original user.php file from the 2.2.8 zip file. Make sure you upload in ASCII and overwrite the one on the server.

Tailfeathers 09-29-2002 09:37 PM

It worked. Thank you very much. :)

Steve Machol 09-29-2002 09:42 PM

No problem! :)


All times are GMT. The time now is 11:18 AM.

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.01012 seconds
  • Memory Usage 1,715KB
  • 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
  • (4)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