[21:01:03] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('0')
#1

So i have to find a way to solve or to search the problem about this errors xD If someone have some clues... please post here.

pawn Code:
[21:01:03] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('0')
Reply
#2

http://forum.sa-mp.com/showpost.php?...postcount=4496
Found this with the first search on ******.
Anyhow,as said in the link,the issue is in the query,if you cannot find the problem - you can post the query here,and maybe we could find a solution. (somehow,someway)
Reply
#3

I don't have any clue about the error so neighter the code line xD but i will try to use your information.
Reply
#4

Above the line will display the query.
Reply
#5

I don't have any "query" displayed..
Reply
#6

Any other ideas ?
Reply
#7

We have to look to see that cache_get_field_content_int problem ...
To find it quickly, copy it right after you finish the included libraries:
Quote:

stock bug_get_field_content_int (row, const field_name[], connectionHandle = 1)
{
printf ( "row = %i | field_name = %s", row, field_name );
return cache_get_field_content_int (row, field_name, connectionHandle);
}

#if defined _ALS_get_field_content_int
#undef get_field_content_int
#else
#define _ALS_get_field_content_int
#endif
#define get_field_content_int bug_get_field_content_int

A to print all the callings of get_field_content_int, so you can find out about where is the error.
Reply
#8

I have the same problem
Reply
#9

I have the same problem
Reply
#10

same
Reply
#11

same
Reply
#12

Sorry for bumping, but I also have the same problem
Code:
[20:08:36 08/09/17] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index (\'0\') (Query: "SELECT `ID` FROM `players` WHERE `name` = \'Mark_Banger\' LIMIT 1")
[20:08:36 08/09/17] [ERROR] cache_get_field_content_int - invalid datatype
This is from the server script:
Code:
SQLSave(playerid);
		mysql_format(sqlGameConnection, saveQuery, sizeof(saveQuery), "SELECT `ID` FROM `players` WHERE `name` = \'%e\' LIMIT 1", PlayerName(playerid));
		mysql_tquery(sqlGameConnection, saveQuery, "SetPlayerID", "d", playerid);
		printf("mysql_tquery SetPlayerID");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)