vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Registration Problems (https://vborg.vbsupport.ru/showthread.php?t=72530)

Splinteroid 12-05-2004 07:11 PM

Registration Problems
 
Hi, I'm having a bit of difficulty with the forum, when a member registers, once they have validated thier account via e-mail and are linked back to the forum, it immediatly logs them out again and then just will not allow them to log in. It acts as if the members don't exist when I search for them in the admin panel, but then if I try to make a new account with that persons username, it says that member already exists and then links me to thier profile page.

This seems to be the root of the problem although I am not entirely sure:

Database error in vBulletin 2.3.3:

Invalid SQL: SELECT count AS messages FROM privatemessage WHERE userid= AND dateline>1099064842 AND folderid=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 'AND dateline>1099064842 AND folderid=0' at line 1

mysql error number: 1064


I also got this error too although I'm rally not sure if its even related but i'll paste it here anyway just incase (I'm new at all this):

Database error in vBulletin 2.3.3:

Invalid SQL: INSERT INTO userfield (userid,field11,field6,field12,field1,field2,field
3,field4,field10) VALUES (,'','','','','','','','')
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 ''','','','','','','','')' at line 1

mysql error number: 1064


Any help would be much appreciated & thanks in advance.

Zachery 12-05-2004 08:10 PM

Quote:

Originally Posted by Splinteroid
Hi, I'm having a bit of difficulty with the forum, when a member registers, once they have validated thier account via e-mail and are linked back to the forum, it immediatly logs them out again and then just will not allow them to log in. It acts as if the members don't exist when I search for them in the admin panel, but then if I try to make a new account with that persons username, it says that member already exists and then links me to thier profile page.

This seems to be the root of the problem although I am not entirely sure:


Database error in vBulletin 2.3.3:

Invalid SQL: SELECT count AS messages FROM privatemessage WHERE userid= AND dateline>1099064842 AND folderid=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 'AND dateline>1099064842 AND folderid=0' at line 1

mysql error number: 1064



I also got this error too although I'm rally not sure if its even related but i'll paste it here anyway just incase (I'm new at all this):

Database error in vBulletin 2.3.3:

Invalid SQL: INSERT INTO userfield (userid,field11,field6,field12,field1,field2,field
3,field4,field10) VALUES (,'','','','','','','','')
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 ''','','','','','','','')' at line 1

mysql error number: 1064



Any help would be much appreciated & thanks in advance.

There is somthing rwong with your files, try reuploading the original register.php as userid is not being passed along the line.

It would be best to upgrade to vB 2.3.5 for securiy reasons.


All times are GMT. The time now is 03:32 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.01004 seconds
  • Memory Usage 1,720KB
  • 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
  • (2)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