vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Register User Error? (https://vborg.vbsupport.ru/showthread.php?t=23335)

webhost 07-21-2001 11:29 PM

This came up when this user tried to register is there a fix?

Database error: Invalid SQL: SELECT room FROM c_users WHERE username='Pie'oh'pah' LIMIT 1
MySQL error: 1064 (You have an error in your SQL syntax near 'oh'pah' LIMIT 1' at line 1)
Session halted.

Steve Machol 07-21-2001 11:54 PM

This might help:

http://www.vbulletin.com/forum/showt...threadid=20215

webhost 07-22-2001 12:04 AM

Thanks I added it to sessions.php, I have asked the user to login in again. We will see if that is the fix. Thanks Again.
Calendar hack just about complete.

Joey

webhost 07-22-2001 01:19 AM

Made change above still get same error?

Any Ideas?

edit

ran this query I will wait to see if it fixed it. I believe it has.

UPDATE user SET ignorelist=TRIM(ignorelist);

Mike Sullivan 07-22-2001 02:15 AM

(Moving to hacks forum as that's quite obviously not from vB)

Make sure you're running the username through addslashes() before attempting to validate it against the database.

webhost 07-22-2001 02:18 AM

ED I don't know what you mean a user just tried to register on my board and that is the error he got. I don't know why he got it. He just did. Not my fault


Quote:

that's quite obviously not from vB)
The query I ran I found on vbulletin

Steve Machol 07-22-2001 02:20 AM

[QUOTE]Originally posted by webhost
ED I don't know what you mean a user just tried to register on my board and that is the error he got. I don't know why he got it. He just did. Not my fault

webhost 07-22-2001 02:23 AM

Yes My apology I looked at it again and see c_users in the error message. That goes with that Chat hack I put in.
I stand corrected and humbled.

Joey

webhost 07-22-2001 09:43 AM

fixed had to change this " ' " with this " . " in the chat software
users config file


All times are GMT. The time now is 07:27 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.01560 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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