PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
paranor
Worker
Worker


Joined: Aug 28, 2003
Posts: 227

PostPosted: Wed Dec 03, 2003 10:50 pm Reply with quote Back to top

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/strapha/public_html/includes/sql_layer.php on line 286

Line 286 is the "$row = mysql_fetch_row($res);" command below in the case "MySQL'; area.

And I have done anything to the tables. At least on purpose. Wink

Any suggestions on what to check?

Quote:

function sql_fetch_row(&$res, $nr=0)
{
global $dbtype;
switch ($dbtype) {

case "MySQL":
$row = mysql_fetch_row($res);
return $row;
break;;

case "mSQL":
$row = msql_fetch_row($res);
return $row;
break;;

View user's profile Send private message
BigDaddyEBK
New Member
New Member


Joined: Nov 21, 2003
Posts: 5
Location: La Mesa, CA(suburb of San Diego)

PostPosted: Thu Dec 04, 2003 12:34 am Reply with quote Back to top

I think this link might help you!!
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger ICQ Number
paranor
Worker
Worker


Joined: Aug 28, 2003
Posts: 227

PostPosted: Thu Dec 04, 2003 8:11 pm Reply with quote Back to top

I can never find anything on nukecops. maybe I'm being too complicated on my query.

It does look like 'uid" got in the footer file. How is the big question.

And now I can't remember where I read that I should look in the footer file.

SHEESH!
Smile
View user's profile Send private message
scottr
PHP-Portal Project


Joined: Jan 21, 2003
Posts: 41
Location: Southern California

PostPosted: Thu Dec 04, 2003 9:05 pm Reply with quote Back to top

the search function on nukecops and probably others doesn't work too well.
use google like this:

site:nukecops.com stuff your looking for
or
site:nukecops.com "stuff your looking for"

depending on what you're looking for.
View user's profile Send private message Visit poster's website Yahoo Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Dec 05, 2003 12:20 am Reply with quote Back to top

BigDaddyEBK wrote:
I think this link might help you!!
While I appreciate your willingness to help. NC is a great resource, but there are reasons why other help sites exist. Instead of redirecting people, please just post the solution in your own words.


Last edited by Raven on Fri Dec 05, 2003 12:36 am; edited 2 times in total
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Dec 05, 2003 12:22 am Reply with quote Back to top

paranor wrote:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/strapha/public_html/includes/sql_layer.php on line 286

Line 286 is the "$row = mysql_fetch_row($res);" command below in the case "MySQL'; area.

And I have done anything to the tables. At least on purpose. Wink

Any suggestions on what to check?

Quote:

function sql_fetch_row(&$res, $nr=0)
{
global $dbtype;
switch ($dbtype) {

case "MySQL":
$row = mysql_fetch_row($res);
return $row;
break;;

case "mSQL":
$row = msql_fetch_row($res);
return $row;
break;;

Turn sql_debug to ON in sql_layer.php. Then you will find the source sql that is the problem. uid and uname are usually the issues and renaming them to user_id and username will clear up most problems.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
paranor
Worker
Worker


Joined: Aug 28, 2003
Posts: 227

PostPosted: Fri Dec 05, 2003 6:48 am Reply with quote Back to top

I understood what to do via the nukecops site.

I checked out the footer.php and it looked like it was running a check on if you have private messages or not. My guess it would display it at the bottom of your browser - like your site. I copied back the footer.php I was using and all is well.
View user's profile Send private message
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum