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

Reply
 
Thread Tools
Add user : AdminCP SQL error Details »»
Add user : AdminCP SQL error
Version: , by Zachariah Zachariah is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 09-20-2002 Last Update: Never Installs: 0
 
No support by the author.

When adding a user via AdminCP
Not sure whats up ..... users can Reg and it works.
Prob a hack I added =/

All i can think is a value being called is not there.

Edited PHP files:

showthread.php (quick reply box)
member.php (Remote hosted avatar)
functions.php (Remote hosted avatar)

Everything else is template hacks.



Database error in vBulletin Control Panel 2.2.7:

Invalid SQL: INSERT INTO user (userid,usergroupid,username,password,email,stylei d,parentemail,coppauser,homepage,icq,aim,yahoo,sig nature,adminemail,showemail,invisible,usertitle,cu stomtitle,joindate,cookieuser,daysprune,lastvisit, lastactivity,lastpost,posts,timezoneoffset,emailno tification,receivepm,emailonpm,ipaddress,pmpopup,o ptions,birthday,height,width) VALUES (NULL,'2','Dad','439835bbc755914edcf3f5496bfc8609' ,'test@test.com','1','','0','http://www.yahoo.com','','','','','1','1','0','Contender' ,'0',1032560664,'1','-1',1032560664,1032560664,1032560664,'0','0','0','1 ','0','','1','15','1951-12-10',','')
mysql error: You have an error in your SQL syntax near '','')' at line 1

mysql error number: 1064

Date: Friday 20th of September 2002 06:24:24 PM
Script: http://192.168.0.1/forums/forums/admin/user.php
Referer: http://192.168.0.1/forums/admin/user.php?action=add

Show Your Support

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

Comments
  #2  
Old 09-20-2002, 11:06 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you have forgotten one ' in your query at the end:
,'1951-12-10',','')

should be:
,'1951-12-10','','')

edit your user.php and apply the ' at the insert line.

just a question: why do you have the user table fields height & width?

it would be easier to just add custom profile fields
Reply With Quote
  #3  
Old 09-21-2002, 12:18 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the info ill take a look .... the height width came from an Offline site avatar hosting hack. This way we don't host the avatars ... insted its a link to a remote site of the users choice. The "size" of the avatar is there in those 2 fields. (that way no matter the size they provide it will be no larger and X by X Size.


Ref: https://vborg.vbsupport.ru/showthrea...ed+Avatar+Hack


If there is a better way to do this yell ..... i'm a "shade tree hacker" ... not a guru like yall


My fault:

I was trying
// +++++++ Offsite Avatar Hack by g-force2k2 +++++++

and found out it wasen't working I forgot to clean up ..... DOH!

Thanks bunches
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 10:59 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.03925 seconds
  • Memory Usage 2,207KB
  • Queries Executed 16 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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
  • (2)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