Mysql
#5

Quote:

Can you show a copy of the MySQL Log?

Код:
[16:37:46] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[16:37:46] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[16:37:46] [DEBUG] CMySQLConnection::Connect - connection was successful
[16:37:46] [DEBUG] CMySQLConnection::Connect - connection was successful
[16:37:46] [DEBUG] CMySQLConnection::Connect - connection was successful
[16:37:46] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[16:37:46] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[16:38:09] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM `accounts` WHERE Username = 'Test'", callback: "Check", format: "i"
[16:38:09] [DEBUG] CMySQLQuery::Execute[Check] - starting query execution
[16:38:09] [DEBUG] CMySQLQuery::Execute[Check] - query was successfully executed within 0.581 milliseconds
[16:38:09] [DEBUG] CMySQLResult::CMySQLResult() - constructor called
[16:38:09] [DEBUG] Calling callback "Check"..
[16:38:09] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called
Quote:

you use invalid function for check if player is registered or not, you must use, cache_num_rows() or cache_get_row_count() function.

I tried withg cache_get_row_count() but same
Reply


Messages In This Thread
Mysql - by MikE1990 - 29.11.2014, 13:42
Re: Mysql - by Chilli9434 - 29.11.2014, 13:46
Re: Mysql - by Galletziz - 29.11.2014, 13:47
Re: Mysql - by Galletziz - 29.11.2014, 13:50
Re: Mysql - by MikE1990 - 29.11.2014, 13:53
Re: Mysql - by MikE1990 - 29.11.2014, 16:33
Re: Mysql - by Galletziz - 29.11.2014, 16:47
Re: Mysql - by MikE1990 - 29.11.2014, 16:59
Re: Mysql - by Raweresh - 29.11.2014, 17:06
Re: Mysql - by MikE1990 - 29.11.2014, 17:27

Forum Jump:


Users browsing this thread: 3 Guest(s)