Account not registering into MySQL
#1

Well, I got too many error for mysql.
[ERROR] CMySQLQuery::Execute[] - (error #1366) Incorrect integer value: '' for column 'FactionID' at row 1
Help!
Reply
#2

My crystal ball says you have a file called mysql_log.txt. It also says that in that file you will probably find something along the lines of "syntax error".
Reply
#3

[ERROR] CMySQLQuery::Execute[] - (error #1366) Incorrect integer value: '' for column 'FactionID' at row 1
What's wrong here?
Reply
#4

Show the query, please. (In the script)
Reply
#5

Код HTML:
cache_get_field_content(0, "FactionID", iGet, MySQLPipeline); PlayerInfo[playerid][playerteam] = strval(iGet);
and
Код HTML:
cache_get_field_content(row, "FactionID", iGet, MySQLPipeline); VehicleInfo[vid][vFaction] = strval(iGet);
Reply
#6

Try:

pawn Код:
variable = cache_get_field_content_int(0, "FactionID", MySQLPipeline);
and

pawn Код:
variable = cache_get_field_content_int(row, "FactionID", MySQLPipeline);
For the SQL error, I have no idea really. Try changing it from "SMALLINT" to "INT" to see if that does anything at all, and change it from "2" to "11" for testing.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)