SA-MP Forums Archive
[ERROR] cache_get_row_int - invalid data type - 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_row_int - invalid data type (/showthread.php?tid=675323)



[ERROR] cache_get_row_int - invalid data type - PrednizoN - 09.05.2020

what exactly is the problem?


Code:
[16:49:28] [ERROR] cache_get_row_int - invalid data type
[16:50:18] [ERROR] cache_get_row_int - invalid data type
[16:51:11] [ERROR] cache_get_row_int - invalid data type
[16:53:10] [ERROR] cache_get_row_int - invalid data type
[16:56:42] [ERROR] cache_get_row_int - invalid data type
[16:57:23] [ERROR] cache_get_row_int - invalid data type
[16:58:04] [ERROR] cache_get_row_int - invalid data type
[16:59:23] [ERROR] cache_get_row_int - invalid data type
[17:00:51] [ERROR] cache_get_row_int - invalid data type
[17:00:59] [ERROR] cache_get_row_int - invalid data type
[17:01:36] [ERROR] cache_get_row_int - invalid data type
[17:01:44] [ERROR] cache_get_row_int - invalid data type
[17:02:14] [ERROR] cache_get_row_int - invalid data type
[17:03:42] [ERROR] cache_get_row_int - invalid data type
[17:06:13] [ERROR] cache_get_row_int - invalid data type
[17:09:26] [ERROR] cache_get_row_int - invalid data type
[17:10:33] [ERROR] cache_get_row_int - invalid data type
[17:11:26] [ERROR] cache_get_row_int - invalid data type
[17:11:30] [ERROR] cache_get_row_int - invalid data type
[17:12:31] [ERROR] cache_get_row_int - invalid data type
[17:13:46] [ERROR] cache_get_row_int - invalid data type
[17:15:23] [ERROR] cache_get_row_int - invalid data type
[17:15:26] [ERROR] cache_get_row_int - invalid data type
[17:16:22] [ERROR] cache_get_row_int - invalid data type
[17:18:39] [ERROR] cache_get_row_int - invalid data type
[17:19:49] [ERROR] cache_get_row_int - invalid data type
[17:20:14] [ERROR] cache_get_row_int - invalid data type
[17:22:33] [ERROR] cache_get_row_int - invalid data type
[17:23:35] [ERROR] cache_get_row_int - invalid data type



Re: [ERROR] cache_get_row_int - invalid data type - Calisthenics - 09.05.2020

Trying to fetch data that is not integer.


Re: [ERROR] cache_get_row_int - invalid data type - PrednizoN - 09.05.2020

Quote:
Originally Posted by Calisthenics
View Post
Trying to fetch data that is not integer.
What should I do to solve this problem?


Re: [ERROR] cache_get_row_int - invalid data type - Adamoneoone - 09.05.2020

He told you the issue, you are trying to fetch data using the wrong function. If you're trying to get floats, use
Quote:

cache_get_row_float

if you're trying to get a string
Quote:

cache_get_row




Re: [ERROR] cache_get_row_int - invalid data type - PrednizoN - 10.05.2020

Quote:
Originally Posted by Adamoneoone
View Post
He told you the issue, you are trying to fetch data using the wrong function. If you're trying to get floats, use if you're trying to get a string
I tried to change them, but I get errors everywhere. I have little experience with mysql. I need detailed help: /


Re: [ERROR] cache_get_row_int - invalid data type - BaFFyJunior - 10.05.2020

Why don't you use cache_get_field_content?
https://sampwiki.blast.hk/wiki/MySQL/R3...ld_content_int
https://sampwiki.blast.hk/wiki/MySQL/R33#cache_get_row_int
Show use the lines where you get those errors.


Re: [ERROR] cache_get_row_int - invalid data type - Proxus - 10.05.2020

Quote:
Originally Posted by BaFFyJunior
View Post
Why don't you use cache_get_field_content?
https://sampwiki.blast.hk/wiki/MySQL/R3...ld_content_int
https://sampwiki.blast.hk/wiki/MySQL/R33#cache_get_row_int
Show use the lines where you get those errors.
Why are you telling him to use an outdated version of MySQL? R33 is outdated, use R40 instead.


Re: [ERROR] cache_get_row_int - invalid data type - BaFFyJunior - 10.05.2020

Quote:
Originally Posted by Proxus
View Post
Why are you telling him to use an outdated version of MySQL? R33 is outdated, use R40 instead.
He could be using mysql r39-6.


Re: [ERROR] cache_get_row_int - invalid data type - jasperschellekens - 10.05.2020

Quote:
Originally Posted by Proxus
View Post
Why are you telling him to use an outdated version of MySQL? R33 is outdated, use R40 instead.
Because this person has no Idea and is posting bullshit everywhere


Re: [ERROR] cache_get_row_int - invalid data type - BaFFyJunior - 10.05.2020

Quote:
Originally Posted by jasperschellekens
View Post
Because this person has no Idea and is posting bullshit everywhere
=)) Yeah, of course ) If he has that version of mysql I should suggest him to update an entire system for 1 problem? ))