SA-MP Forums Archive
[ERROR] cache_get_value_index: invalid row ('0') or field ('2') index - 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] cache_get_value_index: invalid row ('0') or field ('2') index (/showthread.php?tid=617217)



[ERROR] cache_get_value_index: invalid row ('0') or field ('2') index - MerryDeer - 17.09.2016

Hi,

I get this in log:

[ERROR] cache_get_value_index: invalid row ('0') or field ('2') index


But no line, or in what query, how i can know where is invalid row?


Re: [ERROR] cache_get_value_index: invalid row ('0') or field ('2') index - Konstantinos - 17.09.2016

Since you cannot compile with -d3 flag to get the exact line, setting DEBUG level in mysql_log is the only way to find the query.


Re: [ERROR] cache_get_value_index: invalid row ('0') or field ('2') index - MerryDeer - 17.09.2016

It's posible get debug in ms?


Re: [ERROR] cache_get_value_index: invalid row ('0') or field ('2') index - Shinja - 17.09.2016

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
setting DEBUG level in mysql_log is the only way to find the query.
Wasn't this fixed in R39-6?
Quote:
  • queries are now printed in some places alongside errors/warnings (thanks to Kar)