| Author |
Message |
RenaissanceHero New Member


Joined: Mar 16, 2004 Posts: 4
|
Posted:
Tue Mar 16, 2004 7:17 pm |
|
I get this exact warning on the top of my page:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\Program Files\Apache Group\Apache2\htdocs\raven\html\includes\sql_layer.php on line 286
What does this mean??? and how do I fix it??
I thought I saw another thread regarding this issue, but I cannot find it.
Thanks for all your help....I really appreciate it. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 15229 Location: Kansas
|
Posted:
Tue Mar 16, 2004 9:25 pm |
|
Search the forums for "Warning: mysql_fetch_row():" (no quotes and all terms). That will guide you to the resolution. |
|
|
|
 |
RenaissanceHero New Member


Joined: Mar 16, 2004 Posts: 4
|
Posted:
Fri Mar 19, 2004 4:41 pm |
|
so.....with your help raven, I solved my issues here. Firstly,
I went to the sql_layer.php file, and changed lines 285-288
from:
| Code: | case "MySQL":
$row = mysql_fetch_row($res);
return $row;
break;; |
to
| Code: | case "MySQL":
if ($row = mysql_fetch_row($res)) {
return $row;
} else {
print (mysql_error());
}
break;; |
Then it told me that there was an error with my Database, and that I was missing a table. (nuke_iptracking)
Then i used raven-nuke.sql to alter the database....and wholla....perfecto...
Raven...Fantastic SITE!!!! Thanks for the help. |
|
|
|
 |
Donovan Client

Joined: Oct 07, 2003 Posts: 691 Location: Ohio
|
Posted:
Fri Apr 22, 2005 1:30 pm |
|
I am getting this same thing with Raven's WhoisWhere v1.2 but this method doesn't tell me anything. Just the same error as before.
| Quote: | | Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/xxxx/public_html/modules/RWH_WhoIsWhere/index.php on line 76 |
|
|
|
 |
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 15229 Location: Kansas
|
Posted:
Fri Apr 22, 2005 4:29 pm |
|
Make sure that you have followed the README instructions. Verify with phpMyAdmin that you have the table nuke_wiw_m created. Your may not be prefixed with 'nuke'. |
|
|
|
 |
JediStryker Hangin' Around

Joined: Jun 27, 2004 Posts: 38 Location: San Antonio, TX
|
Posted:
Mon May 30, 2005 6:39 pm |
|
Any idea where I can download raven-nuke.sql now? It's not in the downloads section and I need the nuke_iptracking table!!! |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 15229 Location: Kansas
|
Posted:
Mon May 30, 2005 7:37 pm |
|
|
|
 |
JediStryker Hangin' Around

Joined: Jun 27, 2004 Posts: 38 Location: San Antonio, TX
|
Posted:
Mon May 30, 2005 8:45 pm |
|
I guess that'll work. <sigh>
Thanks, Raven. All fixed. |
|
|
|
 |
|
|
|
|