Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 06-05-2003, 08:44 PM
Hobbes's Avatar
Hobbes Hobbes is offline
 
Join Date: Dec 2002
Location: Cali
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Sql error, again

[sql]Database error in vBulletin Control Panel 2.2.6:

Invalid SQL: INSERT INTO usergroup (candeleteusercomments,usergroupid,title,usertitle ,cancontrolpanel,canmodifyprofile,canviewmembers,c anview,showgroup,cansearch,canemail,canpostnew,can move,canopenclose,candeletethread,canreplyown,canr eplyothers,canviewothers,caneditpost,candeletepost ,canusepm,canpostpoll,canvote,canpostattachment,is moderator,canpublicevent,canpublicedit,canthreadra te,cantrackpm,candenypmreceipts,maxbuddypm,maxforw ardpm,canwhosonline,canwhosonlineip,cangetattachme nt)
VALUES (NULL,'Banned Database Error','Data Error',0,1,1,1,0,1,0,0,0,0,0,0,0,1,0,0,1,1,1,1,0,0 ,0,1,0,0,0,0,1,0,1)
mysql error: Column count doesn't match value count at row 1

mysql error number: 1136
[/sql]

*cries*....any idea?
Reply With Quote
  #2  
Old 06-05-2003, 09:00 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're trying to insert more or less values for the number of columns you entered. It also happens to be a bug in my User COmments hack, so see the support thread.
Reply With Quote
  #3  
Old 06-05-2003, 09:35 PM
Hobbes's Avatar
Hobbes Hobbes is offline
 
Join Date: Dec 2002
Location: Cali
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

alright, i fixed what was said in the support thread, but now...

[sql]Database error in vBulletin Control Panel 2.2.6:

Invalid SQL: INSERT INTO usergroup (candeleteusercomments,usergroupid,title,usertitle ,cancontrolpanel,canmodifyprofile,canviewmembers,c anview,showgroup,cansearch,canemail,canpostnew,can move,canopenclose,candeletethread,canreplyown,canr eplyothers,canviewothers,caneditpost,candeletepost ,canusepm,canpostpoll,canvote,canpostattachment,is moderator,cancalendar,canpublicevent,canpublicedit ,canthreadrate,cantrackpm,candenypmreceipts,maxbud dypm,maxforwardpm,canwhosonline,canwhosonlineip,ca ngetattachment)
VALUES (NULL,'Banned Database Error','Data Error',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,, 0,0,0,0,0,0,0,0,0,0)
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '0,0,0,0,0,0,0,0,0,0)' at line 2

mysql error number: 1064[/sql]

*tear*
Reply With Quote
  #4  
Old 06-06-2003, 10:39 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
0,,0,0
between the two , there should be a value
Reply With Quote
  #5  
Old 06-06-2003, 04:11 PM
Hobbes's Avatar
Hobbes Hobbes is offline
 
Join Date: Dec 2002
Location: Cali
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 04:39 AM Xenon said this in Post #4
Code:
0,,0,0
between the two , there should be a value

any idea how to fix that?? < / n00bish >
Reply With Quote
  #6  
Old 06-06-2003, 04:45 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you have to add a value for example 0
Reply With Quote
  #7  
Old 06-06-2003, 05:00 PM
Hobbes's Avatar
Hobbes Hobbes is offline
 
Join Date: Dec 2002
Location: Cali
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

??????? sorry i know nothign
Reply With Quote
  #8  
Old 06-06-2003, 07:28 PM
Hobbes's Avatar
Hobbes Hobbes is offline
 
Join Date: Dec 2002
Location: Cali
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bummmp....how do i add a value


EDIT:

[sql]Database error in vBulletin Control Panel 2.2.6:

Invalid SQL: INSERT INTO usergroup (candeleteusercomments, usergroupid,title,usertitle,cancontrolpanel,canmod ifyprofile,canviewmembers,canview,showgroup,cansea rch,canemail,canpostnew,canmove,canopenclose,cande letethread,canreplyown,canreplyothers,canviewother s,caneditpost,candeletepost,canusepm,canpostpoll,c anvote,canpostattachment,ismoderator,canpubliceven t,canpublicedit,canthreadrate,cantrackpm,candenypm receipts,maxbuddypm,maxforwardpm,canwhosonline,can whosonlineip,cangetattachment)
VALUES (NULL,'Banned Database Error','Data Error',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ,0,0,0,0,0,0,0,0,0)
mysql error: Column count doesn't match value count at row 1

mysql error number: 1136[/sql]
Reply With Quote
Reply

Thread Tools
Display Modes

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 11:48 AM.


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.05405 seconds
  • Memory Usage 2,224KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)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
  • (8)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