You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 71 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - FAQ mysql_fetch_row(): error [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Darkmere
Nuke Cadet
Nuke Cadet


Joined: Feb 18, 2004
Posts: 3


PostPosted: Wed Feb 18, 2004 5:39 pm Reply with quoteBack to top

I am having a very similar problem that I havent been able to find an answer to. When I log into my admin.php - where the menu buttons should be I get a list of the same error:

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

I tried using the version of sql_layer.php shown above but that just changes the error to line 288 - no help.

Any other suggestions? Could it be somewhere in another file a problem exists? Thanks.
Find all posts by DarkmereView user's profileSend private message
Peanut Gallery
Guest






PostPosted: Wed Feb 18, 2004 6:01 pm Reply with quoteBack to top

From memory there was a problem was with capitalisation in the database, 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`


HTH
Cheers
Find all posts by Anonymous
Darkmere
Nuke Cadet
Nuke Cadet


Joined: Feb 18, 2004
Posts: 3


PostPosted: Wed Feb 18, 2004 6:16 pm Reply with quoteBack to top

For me though, it is more then that.
I put up two screen shots on another domain from my admin.php page.
First is where the grahpical buttons should be (you can see two at the bottom)
Second is the info below the buttons (notice the _NAME for everything, maybe this gives a clue to whats wrong?)
http://www.romscripts.com/scr.jpg
http://www.romscripts.com/scr2.jpg

Im completley lost, please assist Smile

-B
Find all posts by DarkmereView user's profileSend private message
Peanut Gallery
Guest






PostPosted: Thu Feb 19, 2004 2:22 am Reply with quoteBack to top

Hi

It might be an idea to turn debug on in your sql_layer.php and check out what the query is asking for then you can track down which file its affecting.

Sometimes the query is missing a
Quote:
$
or the variabe name is different depending what version of nuke you are running.


About line 181 on nuke 7
Quote:
$sql_debug = 1;
Find all posts by Anonymous
Darkmere
Nuke Cadet
Nuke Cadet


Joined: Feb 18, 2004
Posts: 3


PostPosted: Thu Feb 19, 2004 10:23 am Reply with quoteBack to top

Ok, I turned debug on and this is the message I got back:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/residen1/public_html/nuke/includes/sql_layer.php on line 288
Access DeniedSQL query: select radmincontent, radminsuper from nuke_authors where aid='***'

*** was where my admin user name was.

Now don't flame me, because I am completly new to PHPnuke, but I'm not sure what it means. I'm going to poke around in the authors file after I post this, but any extra help would be great!

Thanks,
Find all posts by DarkmereView user's profileSend private message
DrKiSa
Guest






PostPosted: Thu Feb 19, 2004 4:12 pm Reply with quoteBack to top

Hya..

I've read almost every question about this topic, but i can't seem to find the answer for my problem.. So here it is.:

When i try to edit or create/add a new block i get the following message:
*i am using the new sql_layer.php posted previously in this topic..*

Edit Block

Unknown column 'subscription' in 'field list'

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in *\includes\sql_layer.php on line 288
Unknown column 'subscription' in 'field list'

This error message is about a missing column.. but i can't find 'field list'.. so how can i look for this? other then searching and not finding it Wink

I am hosting on a Windows 2003 Server, with apache, MySQL, phpnuke 7.1 and phpadmin..

Thx in advance!
KiSa
http://drkisa.ww-ei.nl
Find all posts by Anonymous
Peanut Gallery
Guest






PostPosted: Thu Feb 19, 2004 6:39 pm Reply with quoteBack to top

Darkmere wrote:
Ok, I turned debug on and this is the message I got back:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/residen1/public_html/nuke/includes/sql_layer.php on line 288
Access DeniedSQL query: select radmincontent, radminsuper from nuke_authors where aid='***'

*** was where my admin user name was.

Now don't flame me, because I am completly new to PHPnuke, but I'm not sure what it means. I'm going to poke around in the authors file after I post this, but any extra help would be great!

Thanks,


Hi
There is a reference to that query in your html/admin/modules/content.php about Line 17, mine looks like this

$result = sql_query("select radmincontent, radminsuper from ".$prefix."_authors where aid='$aid'", $dbi);

It might pay to check that out

Cheers
Find all posts by Anonymous
Guest







PostPosted: Mon Jun 14, 2004 5:09 am Reply with quoteBack to top

yeee haaaa EXCELLENT thread the second post fixed it up smoooooooth thanks guys! Very Happy
Find all posts by Anonymous
dmccarty
Nuke Soldier
Nuke Soldier


Joined: Jun 11, 2003
Posts: 24

Location: Oklahoma City, OK

PostPosted: Mon Jul 12, 2004 7:49 pm Reply with quoteBack to top

once again, NC to the rescue. Thanks folks you make nuking a piece of cake.

_________________
Second Best is First Loser
Find all posts by dmccartyView user's profileSend private message
Guest







PostPosted: Tue Mar 22, 2005 1:09 am Reply with quoteBack to top

Hi guys I installed wb block manager also and I don't get any errors. When I go to add blocks to the modules, nothing changes. Everything is the same. Anyone getting this problem? I'm not sure I installed .sql right. I uploaded it and I see the code display and it says successfull upload or something and then I just log out. Any help would be nice.
Find all posts by Anonymous
Guest







PostPosted: Mon Apr 18, 2005 2:14 am Reply with quoteBack to top

ResidentIdler wrote:
I am having a very similar problem that I havent been able to find an answer to. When I log into my admin.php - where the menu buttons should be I get a list of the same error:

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

I tried using the version of sql_layer.php shown above but that just changes the error to line 288 - no help.

Any other suggestions? Could it be somewhere in another file a problem exists? Thanks.
Find all posts by Anonymous
Sindy
Guest






PostPosted: Thu Sep 29, 2005 6:22 am Reply with quoteBack to top

DELETED
Find all posts by Anonymous
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.printer-friendly view
View previous topic Log in to check your private messages View next topic
You can post new topics in this forum
You can 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.243 Seconds - 386 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::