SA-MP Forums Archive
Server crashes upon registering [mysql] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Server crashes upon registering [mysql] (/showthread.php?tid=580374)



Server crashes upon registering [mysql] - Capua - 04.07.2015

Код:
[23:31:00] [DEBUG] mysql_escape_string - source: "blabla", connection: 1, max_len: 512
[23:31:00] [DEBUG] mysql_tquery - connection: 1, query: "INSERT INTO `users` (name, salt, pass, register_ip, reg_date) VA", callback: "OnAccountCreate", format: "d"
[23:31:00] [DEBUG] CMySQLQuery::CMySQLQuery() - constructor called
[23:31:00] [DEBUG] mysql_tquery - scheduling query "INSERT INTO `users` (name, salt, pass, register_ip, reg_date) VALUES ('Capua', 'J14ow081rvNRN79aH12YJYb0Xq32', 'E7553D387189DF33CCFDE5E97F20F4AE79BE8B32009DD12D37FBFFBA4EAB19A0FEBA506FB3623DF5D217A3884E51526BB06AAB1E8BBE546F4FB737EE8EB3', '***.***.***.***', '4-7-2015 23:31:0')"..
[23:31:00] [DEBUG] CMySQLQuery::Execute[OnAccountCreate(d)] - starting query execution
[23:31:00] [DEBUG] CMySQLQuery::Execute[OnAccountCreate(d)] - query was successful
[23:31:00] [DEBUG] CMySQLResult::CMySQLResult() - constructor called
[23:31:00] [DEBUG] CMySQLQuery::Execute[OnAccountCreate(d)] - data being passed to ProcessCallbacks()
[23:31:00] [DEBUG] Calling callback "OnAccountCreate"..
[23:31:00] [DEBUG] cache_insert_id - connection: 1
[23:31:00] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called
[23:31:00] [DEBUG] CMySQLQuery::~CMySQLQuery() - deconstructor called
The code should be all fine as it worked well 5 months ago. Just now it doesn't work anymore.


Re: Server crashes upon registering [mysql] - Lynn - 04.07.2015

Make sure your tables match your SQL Query.
Otherwise it will crash.