The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
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. |
|
#2
|
||||
|
||||
|
|
|
#3
|
||||
|
||||
|
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 |
|
#4
|
||||
|
||||
|
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); |
|
#5
|
|||
|
|||
|
(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. |
|
#6
|
||||
|
||||
|
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:
|
|
#7
|
||||
|
||||
|
[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 |
|
#8
|
||||
|
||||
|
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 |
|
#9
|
||||
|
||||
|
fixed had to change this " ' " with this " . " in the chat software
users config file |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|