raykichi / teamspeak3-vbulletin-integration

Automatically exported from code.google.com/p/teamspeak3-vbulletin-integration
0 stars 0 forks source link

Cannot set Unique ID - MySQL error #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When trying to set a unique ID for my user in vbulletin 
(teamspeak.php?do=setuid), i get a MySQL Error

Invalid SQL:
SELECT neots_uid FROM vb3_user WHERE userid=;

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

In Teamspeak.php , on or around line 191,   
'user'              => TYPE_NOCLEAN,
Appears to be conflicting with some other variable elsewhere, causing the mysql 
error above.

I changed all references in the dosetid section from user to ts_user, and the 
reference in the template neo_ts_setuid_bit and the MySQL error is gone.

However, i now get Teamspeak Error 512: invalid clientID , when submitting a 
valid Unique ID. 

Original issue reported on code.google.com by bjorn.so...@gmail.com on 29 Oct 2011 at 5:56