Server crashes upon registering [mysql]
#1

Код:
[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.
Reply
#2

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


Forum Jump:


Users browsing this thread: 1 Guest(s)