cache_get_data - no active cache
#1

Umm I Use MySQL R31.
Code:
Код:
public OnAccountCheck(playerid)
{
	SendClientMessage(playerid, WHITE, "[DEBUG]: Mau #3");
    new string[125];
	if(playerid != INVALID_PLAYER_ID) {

		new rows, fields;
		cache_get_data(rows, fields, handle);
		  if(rows) {
			cache_get_row(0,2,PlayerInfo[playerid][pKey],handle, 128);
			format(string, sizeof(string), "Selamat Datang Kembali Di %s, %s.", SERVER_NAME, PlayerName(playerid));
			SendClientMessage(playerid, GREY, string);
            SendClientMessage(playerid, WHITE, "[DEBUG]: Show Dialog Login");
			SendClientMessage(playerid, WHITE, "That name is currently registered, please log into your account.");
			ShowMainMenuDialog(playerid, 1);
		}
		else {
			format(string, sizeof(string), "Selamat Datang Di %s, %s.", SERVER_NAME, PlayerName(playerid));
			SendClientMessage(playerid, GREY, string);
            SendClientMessage(playerid, WHITE, "[DEBUG]: Show Dialog Register");
			SendClientMessage(playerid, WHITE, "That name is currently not registered.");
			SendClientMessage(playerid, WHITE, "If you wish to register, please input your password in the box below.");
			ShowMainMenuDialog(playerid, 2);
		}
	}
	return 1;
}
MySQL Log
Код:
[20:15:11] [WARNING] cache_get_data - no active cache
[20:15:11] [WARNING] cache_get_data - no active cache
[20:15:11] [WARNING] cache_get_data - no active cache
[20:15:11] [WARNING] cache_get_data - no active cache
[20:15:11] [WARNING] cache_get_data - no active cache
[20:15:11] [WARNING] cache_get_data - no active cache
[20:15:11] [WARNING] cache_get_data - no active cache
[20:15:11] [WARNING] cache_get_data - no active cache
[20:15:11] [WARNING] cache_get_data - no active cache
[20:15:11] [WARNING] cache_get_data - no active cache
[20:15:11] [WARNING] cache_get_data - no active cache
[20:15:11] [WARNING] cache_get_data - no active cache
[20:15:11] [WARNING] cache_get_data - no active cache
[20:15:11] [WARNING] cache_get_data - no active cache
[20:15:11] [WARNING] cache_get_data - no active cache
[20:15:11] [WARNING] cache_get_data - no active cache
[20:15:11] [WARNING] cache_get_data - no active cache
[20:15:11] [WARNING] cache_get_data - no active cache
[20:15:11] [WARNING] cache_get_data - no active cache
[20:15:11] [WARNING] cache_get_data - no active cache
[20:16:09] [ERROR] mysql_tquery - callback parameter count does not match format specifier length
[20:16:09] [WARNING] cache_get_data - no active cache
[20:16:18] [ERROR] mysql_tquery - callback parameter count does not match format specifier length
[20:16:18] [WARNING] cache_get_data - no active cache
[20:16:43] [ERROR] mysql_tquery - callback parameter count does not match format specifier length
[20:16:43] [WARNING] cache_get_data - no active cache
[20:17:20] [ERROR] mysql_tquery - callback parameter count does not match format specifier length
[20:17:20] [WARNING] cache_get_data - no active cache
[20:18:41] [ERROR] mysql_tquery - callback parameter count does not match format specifier length
[20:18:41] [WARNING] cache_get_data - no active cache
[20:19:13] [ERROR] mysql_tquery - callback parameter count does not match format specifier length
[20:19:13] [WARNING] cache_get_data - no active cache
[20:19:27] [ERROR] mysql_tquery - callback parameter count does not match format specifier length
[20:19:27] [WARNING] cache_get_data - no active cache
Please help me to solve this problem.Thank You
Reply
#2

Bump
Reply
#3

Bump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)