Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.0
Author Message
RenaissanceHero
New Member
New Member



Joined: Mar 16, 2004
Posts: 4

PostPosted: Tue Mar 16, 2004 7:17 pm Reply with quote

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??

Only registered users can see links on this board! Get registered or login!

I thought I saw another thread regarding this issue, but I cannot find it.

Thanks for all your help....I really appreciate it.
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Mar 16, 2004 9:25 pm Reply with quote

Search the forums for "Warning: mysql_fetch_row():" (no quotes and all terms). That will guide you to the resolution.
 
View user's profile Send private message
RenaissanceHero







PostPosted: Fri Mar 19, 2004 4:41 pm Reply with quote

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: 735
Location: Ohio

PostPosted: Fri Apr 22, 2005 1:30 pm Reply with quote

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
 
View user's profile Send private message Visit poster's website ICQ Number
Raven







PostPosted: Fri Apr 22, 2005 4:29 pm Reply with quote

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

PostPosted: Mon May 30, 2005 6:39 pm Reply with quote

Any idea where I can download raven-nuke.sql now? It's not in the downloads section and I need the nuke_iptracking table!!!

_________________
http://minetworks.net
A Technician Community/Reference Place 
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Raven







PostPosted: Mon May 30, 2005 7:37 pm Reply with quote

How about this instead?

Only registered users can see links on this board! Get registered or login!
 
JediStryker







PostPosted: Mon May 30, 2005 8:45 pm Reply with quote

I guess that'll work. <sigh> Wink

Thanks, Raven. All fixed.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.0

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©