Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
what does this mean?? Details »»
what does this mean??
Version: , by scsa20 scsa20 is offline
Developer Last Online: Oct 2017 Show Printable Version Email this Page

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

can someone help tell me what the following means and how to fix it??

Quote:
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,country,avatari d,hideposts) VALUES (NULL,'test','098f6bcd4621d373cade4e832627b4f6','t est@test.com','2','','0','http://','','','','','1','1','0','Junior Member','1020482575','1','-1','1020482575','1020482575','3','0','1','1','0',' 15','0','-1','1','12.232.111.114','0','0','1','US%20Virgin%2 0Islands','0')
mysql error: Column count doesn't match value count at row 1

mysql error number: 1136

Date: Friday 03rd of May 2002 11:22:55 PM
Script: http://forums.simon-soft.com/register.php
Referer: http://forums.simon-soft.com/register.php
I got that error when I was trying to make a test user

Show Your Support

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

Comments
  #2  
Old 05-04-2002, 05:27 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are missing at least one value. I looks like either avatarid or hideposts isn't there.
Reply With Quote
  #3  
Old 05-04-2002, 05:39 AM
scsa20's Avatar
scsa20 scsa20 is offline
 
Join Date: Mar 2002
Location: Mars
Posts: 458
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll look it up then, thanks
Reply With Quote
  #4  
Old 05-04-2002, 05:45 AM
scsa20's Avatar
scsa20 scsa20 is offline
 
Join Date: Mar 2002
Location: Mars
Posts: 458
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

never mind, I found it, both avatarid and hidepost. what else could it be (once again, I'm stupid )
Reply With Quote
  #5  
Old 05-04-2002, 08:56 PM
scsa20's Avatar
scsa20 scsa20 is offline
 
Join Date: Mar 2002
Location: Mars
Posts: 458
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okey, I found out what the problem was, I forgot to re-add $hideposts at the end of a line in the register.php file....but now when I go edit someone's account in the admin cp, I get this error:

Quote:
Database error in vBulletin Control Panel 2.2.5:

Invalid SQL: UPDATE user SET away='0',awaydate='',retruedate='0000-00-00',awayreason='',birthday='0000-00-00',options='15',usergroupid='6',username='test',e mail='test@test.com',styleid='2',parentemail='',co ppauser=0,homepage='http://',icq='',aim='',yahoo='',signature='',adminemail=1 ,showemail=1,invisible=0,usertitle='test account',customtitle=1,joindate=UNIX_TIMESTAMP('20 02-05-04 17:45:40'),cookieuser=1,nosessionhash=1,daysprune= '-1',lastvisit=UNIX_TIMESTAMP('2002-05-04 17:45:40'),lastactivity=UNIX_TIMESTAMP('2002-05-04 17:47:05'),lastpost=UNIX_TIMESTAMP('1969-12-31 19:00:00'),posts='0',timezoneoffset='0',country='U nited%20States',emailnotification=0,receivepm='1', emailonpm='0',ipaddress='12.232.111.114',pmpopup=I F(pmpopup=2 AND 0=1,pmpopup,'0') WHERE userid=28
mysql error: Unknown column 'retruedate' in 'field list'

mysql error number: 1054

Date: Saturday 04th of May 2002 05:48:03 PM
Script: http://forums.simon-soft.com/admin/user.php
Referer: http://forums.simon-soft.com/admin/u...edit&userid=28
once agian, what does this mean ??
Reply With Quote
  #6  
Old 05-04-2002, 08:59 PM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you look at your update query you have returndate misspelled as retruedate. There is no "retruedate" field in the user table so you get that error message. Assuming there is a returndate field, it should work after you fix the spelling error.
Reply With Quote
  #7  
Old 05-04-2002, 09:03 PM
scsa20's Avatar
scsa20 scsa20 is offline
 
Join Date: Mar 2002
Location: Mars
Posts: 458
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

found it....just a little spelling error can do all that troble

thank you
Reply With Quote
  #8  
Old 05-05-2002, 01:52 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're welcome.
Reply With Quote
Reply

Thread Tools

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 06:27 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.15878 seconds
  • Memory Usage 2,262KB
  • Queries Executed 21 (?)
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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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