vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Need help! (https://vborg.vbsupport.ru/showthread.php?t=53995)

Dan 06-08-2003 12:13 AM

Need help!
 
I was informed by one of my members friends can't register at my site and I get this in the mail.

Quote:

Database error in vBulletin 2.3.0:

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,starlevel,stari mg) VALUES
NULL,'FewynTest','74c358ae3c5a35e6322fd9ae96360d95 ','fewyn@halodex.com','1','','0','http://','','','','','1','1','0','Gamer','1055034878','1' ,'-1','1055034878','1055034878','3','0','1','1','0',' 15','0','-1','1','69.47.35.154','0','0','1','33')
mysql error: You have an error in your SQL syntax near 'NULL,'FewynTest','74c358ae3c5a35e6322fd9ae96360d9 5','fewyn@halodex.com','1','','' at line 2

mysql error number: 1064

Date: Saturday 07th of June 2003 09:14:38 PM
Script: http://www.eternalgamers.com/forums/forums/register.php
Referer: http://www.eternalgamers.com/forums/register.php

filburt1 06-08-2003 12:26 AM

Note the line break at the end of the first line of the query where "yahoo" is broken.

Rufus69 06-08-2003 01:03 AM

Meh, I would try to fix it, but either I don't have have db access or I forgot how get in. :P

filburt1 06-08-2003 01:29 AM

Look in register.php for the query, it's probably broken there (unless your e-mail client is just adding a linebreak).

Rufus69 06-08-2003 02:01 AM

I forgot the ftp password. :P I'll look for the txt that has it later, if dan doesn't fix it first.

Rufus69 06-08-2003 01:19 PM

Hmm..I'm thinking it just put a line break in, becaus eI looked at it, but no break.

TECK 06-08-2003 01:53 PM

Yes, that's the 50chars setting to break a line in VB.
Your query is wrong because you are missing a bracket. A query should have the shape:
[sql]$DB_site->query( "INSERT INTO table ( column1 , column2 ) VALUES ( 'data1' , 'data2' )" );[/sql]

Rufus69 06-08-2003 03:43 PM

hm ok, thanks.


All times are GMT. The time now is 06:31 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.01127 seconds
  • Memory Usage 1,721KB
  • 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
  • (8)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