SA-MP Forums Archive
Error - 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: Error (/showthread.php?tid=617317)



Error - StR_MaRy - 19.09.2016

hey guys i have those error's in my mysql_log

Код HTML:
[16:09:55 09/19/16] [ERROR] mysql_format - destination size is too small
[16:09:55 09/19/16] [ERROR] CMySQLQuery::Execute - (error #1065) Query was empty (Query: "")
[16:09:55 09/19/16] [WARNING] cache_get_row_count - no active cache
[16:09:55 09/19/16] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
[16:10:00 09/19/16] [ERROR] mysql_format - destination size is too small
[16:10:00 09/19/16] [ERROR] CMySQLQuery::Execute - (error #1065) Query was empty (Query: "")
[16:10:00 09/19/16] [WARNING] cache_get_row_count - no active cache
[16:10:00 09/19/16] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
[16:10:05 09/19/16] [ERROR] mysql_format - destination size is too small
[16:10:05 09/19/16] [ERROR] CMySQLQuery::Execute - (error #1065) Query was empty (Query: "")
[16:10:05 09/19/16] [WARNING] cache_get_row_count - no active cache
[16:10:05 09/19/16] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
and here are the errors in pawno

Код HTML:
cache_get_field_content(i, "playername", playername, handle, sizeof(playername));
   			cache_get_field_content(i, "givername", givername, handle, sizeof(givername));
   			cache_get_field_content(i, "reason", reason, handle, sizeof(reason));
and here is a mysql_format from my original gamemode

Код HTML:
cache_get_field_content(i, "Name", iResult); format(query, 32, iResult);
is different but how should i edit to work

i did this should work ? i am not getting error's but i still could send complaints etc... ?

Код HTML:
cache_get_field_content(i, "playername", playername); format(gQuery, 32, playername);
   			cache_get_field_content(i, "givername", playername); format(gQuery, 32, givername);
   			cache_get_field_content(i, "reason", reason); format(gQuery, 1000, reason);



Re: Error - JordanZaundd - 19.09.2016

Quote:
Originally Posted by StR_MaRy
Посмотреть сообщение
hey guys i have those error's in my mysql_log

Код HTML:
[16:09:55 09/19/16] [ERROR] mysql_format - destination size is too small
[16:09:55 09/19/16] [ERROR] CMySQLQuery::Execute - (error #1065) Query was empty (Query: "")
You didn't format your query correctly, show the mysql_format.