vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   How can I fix the register.php code? (https://vborg.vbsupport.ru/showthread.php?t=54020)

groovesalad 06-08-2003 03:58 PM

How can I fix the register.php code?
 
When someone signs up, they see this after hitting submit:

Quote:

There seems to have been a slight problem with the Groove-Salad Message Board database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.
and I get this email:

Quote:

Database error in vBulletin 2.3.0:

Invalid SQL: INSERT INTO useractivation VALUES (NULL,'2069','1055091411','88801190',0)
mysql error: Column count doesn't match value count at row 1

mysql error number: 1136

Date: Sunday 08th of June 2003 09:56:51 AM
Script: http://groove-salad.com/forum/forum/register.php
Referer: http://www.groove-salad.com/forum/register.php

filburt1 06-08-2003 04:02 PM

I believe this happens when you don't properly upgrade vB versions. Did you run the upgrade script in addition to modifying files?

(side note: although I know you didn't write the code, it's bad practice to not specify column names for this very reason, among others.)

groovesalad 06-08-2003 10:12 PM

I ran a hack that didn't work (can't remember which one)....is there any way to take this out of my database?

groovesalad 06-11-2003 11:02 PM

so no one on this board knows?

MentaL 06-12-2003 12:41 AM

reinstall?

Steve Machol 06-12-2003 02:23 AM

Assuming you upgraded to 2.3.0, you failed to run upgrade23.php. Run it and it will add this field.


All times are GMT. The time now is 01:10 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.00997 seconds
  • Memory Usage 1,718KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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