vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   SQL error 1136 with Forum.PHP (https://vborg.vbsupport.ru/showthread.php?t=42154)

TalkHardRandy 08-11-2002 04:15 AM

SQL error 1136 with Forum.PHP
 
Okay, I have resolved this but I need to understand why I was getting it in the first place.

I attempted to add a forum to by board & recieve the following error:

Quote:

mysql error: Column count doesn't match value count at row 1

mysql error number: 1136

script: http://www.talkhardonline.com/forum/...dmin/forum.php
All I had added was a single hack which threw an extra value in there. Once I removed that, it worked again. I have talked with the hack creator who says they didn't have any problems with theirs. And as a test, I removed another value, place his back into it, and ran the query again - IT WORKED!

Is there a limit on the number of values you can pass via a MySQL query within PHP? And does that question even make sense?

MrLister 08-11-2002 04:58 AM

Are you sure that the query was valid?

TalkHardRandy 08-11-2002 05:36 AM

I ran it straight from the database too... it was the same syntax and everything... I'm looking for the exact wording right now...

Logician 08-23-2002 09:08 AM

probably your first modification was incorrect (missing/extra , or smt.).. Nothing to worry about..


All times are GMT. The time now is 07:08 AM.

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.00948 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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