vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Database error when trying to Edit Users via. AdminCP (https://vborg.vbsupport.ru/showthread.php?t=71923)

ZiRu$ 11-19-2004 04:25 AM

Database error when trying to Edit Users via. AdminCP
 
Hey, I'm trying to edit my info (change avatar, country, details etc.) from the admin CP and whenever i do i get this error:

PHP Code:

Database error in vBulletin Control Panel 2.3.5:

Invalid SQLUPDATE user SET birthday='1985-03-25',options='3',usergroupid='6',username='Zirus',email='test@hotmail.com',styleid='',parentemail='',coppauser=,homepage='',icq='',aim='',yahoo='',signature='hi mom',adminemail=0,showemail=0,invisible=0,usertitle='Administrator',customtitle=,joindate=UNIX_TIMESTAMP('2004-11-05 18:27:35'),cookieuser=1,nosessionhash=0,daysprune='-1',lastvisit=UNIX_TIMESTAMP('2004-11-17 22:07:35'),lastactivity=UNIX_TIMESTAMP('2004-11-18 22:18:57'),lastpost=UNIX_TIMESTAMP('2004-11-08 17:45:59'),posts='1',timezoneoffset='-6',country='Canada',emailnotification=0,receivepm='0',emailonpm='0',ipaddress='',pmpopup=IF(pmpopup=AND 0=1,pmpopup,'0'WHERE userid=1
mysql error
You have an error in your SQL syntax near 'homepage='',icq='',aim='',yahoo='',signature='hi mom',adminemail=0,showemail=0,i' at line 1

mysql error number
1064

Date
Thursday 18th of November 2004 10:19:15 PM
Script
XXXXXXXXXXXXXXXXXXXXXXX/forum/admin/user.php
Referer
XXXXXXXXXXXXXXXXXXXXXXX/forum/admin/user.php?action=edit&userid=

Can anyone help?

Colin F 11-19-2004 05:27 AM

Quote:

Originally Posted by ZiRu$
Hey, I'm trying to edit my info (change avatar, country, details etc.) from the admin CP and whenever i do i get this error:

PHP Code:

Database error in vBulletin Control Panel 2.3.5:

Invalid SQLUPDATE user SET birthday='1985-03-25',options='3',usergroupid='6',username='Zirus',email='test@hotmail.com',styleid='',parentemail='',coppauser=,homepage='',icq='',aim='',yahoo='',signature='hi mom',adminemail=0,showemail=0,invisible=0,usertitle='Administrator',customtitle=,joindate=UNIX_TIMESTAMP('2004-11-05 18:27:35'),cookieuser=1,nosessionhash=0,daysprune='-1',lastvisit=UNIX_TIMESTAMP('2004-11-17 22:07:35'),lastactivity=UNIX_TIMESTAMP('2004-11-18 22:18:57'),lastpost=UNIX_TIMESTAMP('2004-11-08 17:45:59'),posts='1',timezoneoffset='-6',country='Canada',emailnotification=0,receivepm='0',emailonpm='0',ipaddress='',pmpopup=IF(pmpopup=AND 0=1,pmpopup,'0'WHERE userid=1
mysql error
You have an error in your SQL syntax near 'homepage='',icq='',aim='',yahoo='',signature='hi mom',adminemail=0,showemail=0,i' at line 1

mysql error number
1064

Date
Thursday 18th of November 2004 10:19:15 PM
Script
XXXXXXXXXXXXXXXXXXXXXXX/forum/admin/user.php
Referer
XXXXXXXXXXXXXXXXXXXXXXX/forum/admin/user.php?action=edit&userid=

Can anyone help?

you're missing the ''s after coppauser.

Did you edit your admincp/user.php lately? If so, try to take the default file and redo the changes.

HiDeo 11-19-2004 08:09 PM

Yes, upload original file ;)


All times are GMT. The time now is 03: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.01976 seconds
  • Memory Usage 1,758KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_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