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

Reply
 
Thread Tools Display Modes
  #1  
Old 04-27-2002, 08:57 PM
pattox2k1's Avatar
pattox2k1 pattox2k1 is offline
 
Join Date: Jan 2002
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default PHP register error!

hey peoples, someone got this error while trying to sign up, so can you please try and help? i recently installed the stars hack if it has something to do with this

if any1 could help please do!

Database error in vBulletin 2.2.5:

Invalid SQL: INSERT INTO user (userid,username,password,email,styleid,parentemai l,coppauser,homepage,icq,aim,yahoo,signature,admin email,showemail,invisible,usertitle,joindate,cooki euser,daysprune,lastvisit,lastactivity,usergroupid ,timezoneoffset,emailnotification,receivepm,emailo npm,options,birthday,maxposts,startofweek,ipaddres s,pmpopup,referrerid,nosessionhash,avatarid,starle vel,starimg) VALUES (NULL,'Marcaveli','Marc','marcaveli@freenet.de','1 7','','0','http://www.makavelishakur.de.vu','112050545','Don Marcaveli','','','1','1','0','Junior Member','1019943374','1','-1','1019943374','1019943374','2','0','0','1','0',' 15','1982-10-3','-1','2','213.168.111.45','1','0','1','1','star')
mysql error: Column count doesn't match value count at row 1

mysql error number: 1136

Date: Saturday 27th of April 2002 10:36:14 PM
Script: http://www.thugnature.net/forums/forums/register.php
Referer: http://www.thugnature.net/forums/register.php


thanks!
Reply With Quote
  #2  
Old 04-28-2002, 05:44 PM
Mark Hensler's Avatar
Mark Hensler Mark Hensler is offline
 
Join Date: Oct 2001
Location: California
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did you add a hack?

The error means that the number of columns listed in the user table doesn't match the number of VALUES() supplied.
Reply With Quote
  #3  
Old 04-29-2002, 10:40 AM
pattox2k1's Avatar
pattox2k1 pattox2k1 is offline
 
Join Date: Jan 2002
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, i added the stars hack.

im not sure how to fix the problem though, im a newbie to VB
Reply With Quote
  #4  
Old 04-29-2002, 11:42 AM
Sparkz's Avatar
Sparkz Sparkz is offline
 
Join Date: Nov 2001
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check the install instructions for the hack again, and make sure you followed them completely. You might have missed something. At least that's what it looks like.
Reply With Quote
  #5  
Old 04-29-2002, 11:52 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We already solved it.
Reply With Quote
  #6  
Old 04-29-2002, 11:54 AM
Sparkz's Avatar
Sparkz Sparkz is offline
 
Join Date: Nov 2001
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nm, then :P
Reply With Quote
  #7  
Old 05-31-2002, 04:55 PM
khobar's Avatar
khobar khobar is offline
 
Join Date: Feb 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having the same problem and I would like to know how you guys fixed it ....
in my case, english letters and numbers are excepted for user's name for registration but Arabic letters are not. My Board is in Arabic and most of people who come to register are Arabic speekers and they would like to use arabic names.
Also, Arabic letters are excepted only and only if combined with english letters or numbers like "ÇáÎÈÑ2002" or "ÇáÎÈÑyes" or "ÇáÎÈÑ2002yes"
I have award hack installed ...

please help...
Reply With Quote
  #8  
Old 05-31-2002, 05:18 PM
khobar's Avatar
khobar khobar is offline
 
Join Date: Feb 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and here is the error message i get when i try to register a member from admin cp

Database error in vBulletin Control Panel 2.2.2: Invalid SQL: INSERT INTO user (userid,usergroupid,username,password,email,stylei d,parentemail,coppauser,homepage,icq,aim,yahoo,sig nature,adminemail,receivebulletin,showemail,invisi ble,usertitle,customtitle,joindate,cookieuser,days prune,lastvisit,lastactivity,lastpost,posts,timezo neoffset,emailnotification,receivepm,emailonpm,ipa ddress,pmpopup,options,birthday) VALUES (NULL,'2','??????','godfather','bandar@saudiadesig n.com','1','','0','http://www.','','','','','1','1','0','','0',1022865614,'1 ','-1',1022865614,1022865614,1022865614,'0','0','1','1 ','0','','0','15','birthday') mysql error: Column count doesn't match value count at row 1 mysql error number: 1136
Reply With Quote
  #9  
Old 06-06-2002, 06:41 AM
khobar's Avatar
khobar khobar is offline
 
Join Date: Feb 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please help ...
Reply With Quote
  #10  
Old 06-06-2002, 07:41 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

khobar, count the fields you want to insert a value and count the values you gave to your MYSQL, they dont match.

You either applied a hack wrong or if it's your query you formed it uncorrectly.

Try matching fields and values one by one like:
userid= NULL
usergroupid=2
...
...

You'll catch which value/field you missed..
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:43 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.05462 seconds
  • Memory Usage 2,250KB
  • Queries Executed 11 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete