Warning message : mysql_fetch_row error. (Details Inside)

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Warning message : mysql_fetch_row error. (Details Inside)
Donovan
CZ Active Member
 Codezwiz Site Donator
usa.gif ohio.gif
Occupation: Web Developer
Gender: Male
Fav. Sports Team: St Louis Cardinals
Status: Offline
Joined: Dec 03, 2003
0.02 posts per day
Posts: 160
Points: 9,216
   
Started getting this error on my boards. It's happened twice tonight, and knocks us out for 10 - 15 minutes.

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

This is referenced at several places in sql_layer.php on different lines.



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
Sounds like the MYSQL ask your host if there is anything going on with it. Maybe your overloading it and its shutting down. They will know.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: Warning message : mysql_fetch_row error. (Details Inside
SoftTag
CZ Super Newbie
 Codezwiz Site Donator
SoftTag has been a member for over 20 year's 20 Year Member
usa.gif newmexico.gif
Age: 35
Gender: Male
Status: Offline
Joined: Jun 30, 2004
0.01 posts per day
Posts: 44
Points: 5,366
   
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /usr/home/ryanorr/public_html/includes/sql_layer.php on line 286



Im gettign this too everytime I go to admin preferences... it just started not sure if Its on other pages. Dan at Kewlio says nothing wrong between me and them

The entire preferences comes up but it comes up empty



Back to top Reply with quote
#4   re: Warning message : mysql_fetch_row error. (Details Inside
CStingray78
CZ Super Newbie
usa.gif maryland.gif
Occupation: IT Consultant
Age: 43
Gender: Male
Website:
Status: Offline
Joined: Dec 24, 2003
0.01 posts per day
Posts: 58
Points: 4,878
AIM Address   
I was reading about this error, and the most likely cause is a misnamed table. I think right in nuke 7.2 and above, the references to nuke_faqAnswer and nuke_faqCategories changed to lower case 'a' and lowercase 'c'.

Find the 2 FAQ tables in the nuke database (nuke_faqanswer and nuke_faqcategories) and make sure the "C" in categories and the "A" in answers are capitalised.

ALTER TABLE `nuke_faqanswer` RENAME `nuke_faqAnswer`
ALTER TABLE `nuke_faqcategories` RENAME `nuke_faqCategories`


or try the reverse:
ALTER TABLE `nuke_faqAnswer` RENAME `nuke_faqanswer`
ALTER TABLE `nuke_faqCategories` RENAME `nuke_faqcategories`


See if that helps.

Tom



_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#5   re: Warning message : mysql_fetch_row error. (Details Inside
SoftTag
CZ Super Newbie
 Codezwiz Site Donator
SoftTag has been a member for over 20 year's 20 Year Member
usa.gif newmexico.gif
Age: 35
Gender: Male
Status: Offline
Joined: Jun 30, 2004
0.01 posts per day
Posts: 44
Points: 5,366
   
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /usr/home/ryanorr/public_html/includes/sql_layer.php on line 286



Im gettign this too everytime I go to admin preferences... it just started not sure if Its on other pages. Dan at Kewlio says nothing wrong between me and them

The entire preferences comes up but it comes up empty

Actually faqanswer and faqAnswer are both in the database as well as the other, but exactly what would that have to do with admin preferences?

There is no call to either in the sql_layer.php



Back to top Reply with quote
#6   re: Warning message : mysql_fetch_row error. (Details Inside
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
This might help you:
[ Register or login to view links on this board. ]

From what I read, it's not a fix, but it will at least help you determine further what's actually causing the error.



Back to top Reply with quote
#7   re: Warning message : mysql_fetch_row error. (Details Inside
SoftTag
CZ Super Newbie
 Codezwiz Site Donator
SoftTag has been a member for over 20 year's 20 Year Member
usa.gif newmexico.gif
Age: 35
Gender: Male
Status: Offline
Joined: Jun 30, 2004
0.01 posts per day
Posts: 44
Points: 5,366
   
****To my knowledge this concerns phpnuke 7.3 and its fixes only****

Thanks kelly, that is already in version 7.3... but I did find the answer.

I was just told on another site to look for this issue:



Also make sure all your mod files match this code: Code:
if (eregi("auth.php", $_SERVER['SCRIPT_NAME'])) {
Header("Location: index.php");
die();



I found this in admin/modules/setting.php

That is the error NOT the fix. Yet I'm told the fix is the opposite. icon_rolleyes.gif I changed it back to PHP_SELF it works fine now.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum