04.08.2016, 12:32
Same problem
[14:26:07] SAVE1
[14:26:07] SAVE2
how to do ?
Код HTML:
[14:33:45] [DEBUG] CMySQLConnection::Disconnect - connection was closed [14:33:45] [DEBUG] CMySQLHandle::~CMySQLHandle - deconstructor called [14:33:49] [DEBUG] mysql_connect - host: "localhost", user: "root", database: "samp", password: "****", port: 3306, autoreconnect: true, pool_size: 2 [14:33:49] [DEBUG] CMySQLHandle::Create - creating new connection.. [14:33:49] [DEBUG] CMySQLHandle::CMySQLHandle - constructor called [14:33:49] [DEBUG] CMySQLHandle::Create - connection created (id: 1) [14:33:49] [DEBUG] CMySQLConnection::Connect - establishing connection to database... [14:33:49] [DEBUG] CMySQLConnection::Connect - connection was successful [14:33:49] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled [14:33:49] [DEBUG] mysql_errno - connection: 1 [14:33:49] [DEBUG] CMySQLConnection::Connect - establishing connection to database... [14:33:49] [DEBUG] CMySQLConnection::Connect - establishing connection to database... [14:33:49] [DEBUG] CMySQLConnection::Connect - establishing connection to database... [14:33:49] [DEBUG] CMySQLConnection::Connect - connection was successful [14:33:49] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled [14:33:49] [DEBUG] CMySQLConnection::Connect - connection was successful [14:33:49] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled [14:33:49] [DEBUG] CMySQLConnection::Connect - connection was successful [14:33:49] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled [14:34:30] [DEBUG] mysql_format - connection: 1, len: 128, format: "SELECT `pass`, `ID` FROM `comptes` WHERE `pseudo` = '%e' LIMIT 1" [14:34:30] [DEBUG] mysql_tquery - connection: 1, query: "SELECT `pass`, `ID` FROM `comptes` WHERE `pseudo` = 'Malcom Saka", callback: "VerificationCompte", format: "i" [14:34:30] [DEBUG] CMySQLQuery::Execute[VerificationCompte] - starting query execution [14:34:30] [DEBUG] CMySQLQuery::Execute[VerificationCompte] - query was successfully executed within 0.536 milliseconds [14:34:30] [DEBUG] CMySQLResult::CMySQLResult() - constructor called [14:34:30] [DEBUG] Calling callback "VerificationCompte".. [14:34:30] [DEBUG] cache_get_data - connection: 1 [14:34:30] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called [14:34:37] [DEBUG] mysql_format - connection: 1, len: 250, format: "INSERT INTO `comptes` (`pseudo`, `pass`) VALUES ('%e', '%e')" [14:34:37] [DEBUG] mysql_tquery - connection: 1, query: "INSERT INTO `comptes` (`pseudo`, `pass`) VALUES ('Malcom Sakafay", callback: "CreationCompte", format: "i" [14:34:37] [DEBUG] CMySQLQuery::Execute[CreationCompte] - starting query execution [14:34:37] [DEBUG] CMySQLQuery::Execute[CreationCompte] - query was successfully executed within 3.525 milliseconds [14:34:37] [DEBUG] CMySQLResult::CMySQLResult() - constructor called [14:34:37] [DEBUG] Calling callback "CreationCompte".. [14:34:37] [DEBUG] cache_insert_id - connection: 1 [14:34:37] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called [14:34:42] [DEBUG] mysql_format - connection: 1, len: 2500, format: "UPDATE `comptes` SET `admin` = %d,`sexe` = %d,`age` = %d,`register` = %d,`tuto` = %d,`ip` = '%e',`skin` = %d,`faction` = %d,`ran..." [14:34:42] [DEBUG] mysql_query - connection: 1, query: "UPDATE `comptes` SET `admin` = 0,`sexe` = 1,`age` = 23,`register", use_cache: false [14:34:42] [DEBUG] CMySQLQuery::Execute - starting query execution [14:34:42] [ERROR] CMySQLQuery::Execute - (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 '`ID` = 13' at line 1
[14:26:07] SAVE2
how to do ?