Quote:
Originally Posted by BR3TT
PHP Code:
[18:25:04] [DEBUG] mysql_tquery - connection: 1, query: "INSERT INTO `accounts` (`Username`, `Password`, `IP`, `Admin`, `", callback: "OnAccountRegister", format: "i"
[18:25:04] [DEBUG] CMySQLQuery::Execute[OnAccountRegister] - starting query execution
[18:25:04] [ERROR] CMySQLQuery::Execute[OnAccountRegister] - (error #1064) 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
[18:25:04] [DEBUG] CMySQLQuery::Execute[OnAccountRegister] - error will be triggered in OnQueryError
|
It is possibly the size of the query variable, which is not big enough.
Change its size from 300 to 512.
PHP Code:
new
query[512];