» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 43
0 members and 43 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Oral Chelation - initial cleansing of your veins & arteries

Register Now! Contact Us

About this Page
This is a discussion on Recipe module, mysql_fetch_array error within the Nuke 6.5 to 6.9 - Modules forums, part of the PHP-Nuke 6.5 to 6.9 category; Using nuke 6.8 and trying to use the recipe module found at http://www.heartstorm.org/ I get the ...


Go Back   Nukemods Forum » PHP-Nuke 6.5 to 6.9 » Nuke 6.5 to 6.9 - Modules

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-11-2003, 10:48 PM
Junior Member
 
Join Date: Mar 2003
Location: Austin, TX
Posts: 130
Send a message via ICQ to MurphDog Send a message via AIM to MurphDog Send a message via MSN to MurphDog Send a message via Yahoo to MurphDog
Recipe module, mysql_fetch_array error
Using nuke 6.8 and trying to use the recipe module found at http://www.heartstorm.org/ I get the following error

Quote:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/virtual/site156/fst/var/www/html/includes/sql_layer.php on line 342
This goes along with the code
Code:
case "MySQL":
        $row = array();
        $row = mysql_fetch_array($res);
        return $row;
    break;;
I did not have this problem with any earlier version of Nuke. Ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-11-2003, 11:11 PM
Moderator
 
Join Date: Nov 2002
Posts: 737
Can you turn debugging on please, and post the error it gives.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-11-2003, 11:23 PM
Junior Member
 
Join Date: Mar 2003
Location: Austin, TX
Posts: 130
Send a message via ICQ to MurphDog Send a message via AIM to MurphDog Send a message via MSN to MurphDog Send a message via Yahoo to MurphDog
Here you go
Quote:
SQL query: SELECT * FROM nuke_users WHERE uname='Murphy'

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/virtual/site156/fst/var/www/html/includes/sql_layer.php on line 342
SQL query: SELECT * FROM recipes_recipes LIMIT 1
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-11-2003, 11:26 PM
Junior Member
 
Join Date: Mar 2003
Location: Austin, TX
Posts: 130
Send a message via ICQ to MurphDog Send a message via AIM to MurphDog Send a message via MSN to MurphDog Send a message via Yahoo to MurphDog
and this is above the header
Quote:
SQL query: select * from nuke_users
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-11-2003, 11:34 PM
Junior Member
 
Join Date: Mar 2003
Location: Austin, TX
Posts: 130
Send a message via ICQ to MurphDog Send a message via AIM to MurphDog Send a message via MSN to MurphDog Send a message via Yahoo to MurphDog
Debugger run after 2 blocks installed...
Ok, I'm at this point where I just deleted everything, removed the db and started over. I've added only 2 blocks, the Site Visitor w/ avatar (same as nukemods) and the Admin Login (#2) from NSN. I've edited the language file just fine. Another change I made was to the weblink/download images to work with the theme.

I then decide to turn the debug on (mostly cuz I didn't think about it at the beginning. and I get the following on the left column under the modules block whether or not my user account is logged in.

Quote:
SQL query: DELETE FROM nuke_users WHERE time < '1057989247'
SQL query: SELECT time FROM nuke_session WHERE uname='Murphy'
SQL query: UPDATE nuke_session SET uname='Murphy', time='1057990147', host_addr='66.68.68.104', guest='' WHERE uname='Murphy'
SQL query: select username from nuke_users order by user_id DESC limit 0, 1
SQL query: select user_id from nuke_users where username != 'Anonymous'
SQL query: SELECT uname, guest FROM nuke_session where guest=0
SQL query: select user_from from nuke_users where username='Murphy'
SQL query: SELECT user_id FROM nuke_users where username='Murphy'
SQL query: SELECT COUNT(user_id) AS userCount from nuke_users WHERE user_regdate LIKE '%Jul%12%2003%'
SQL query: SELECT COUNT(user_id) AS userCount from nuke_users WHERE user_regdate LIKE '%Jul%11%2003%'
SQL query: SELECT uname FROM nuke_session where guest=1
SQL query: SELECT uname FROM nuke_session where guest=0
SQL query: select user_id from nuke_users where username='Murphy'
SQL query: select privmsgs_type from nuke_bbprivmsgs where privmsgs_to_userid='2' AND (privmsgs_type='1' or privmsgs_type='5')
SQL query: select privmsgs_type from nuke_bbprivmsgs where privmsgs_to_userid='2' AND (privmsgs_type='0')
SQL query: SELECT user_id FROM nuke_users where username='Murphy'
I get this in the Banners Admin screen
Quote:
Current Active Banners
SQL query: select bid, cid, imptotal, impmade, clicks, imageurl, date, type, active from nuke_banner order by bid
and
Quote:
Advertising Clients
SQL query: select cid, name, contact, email from nuke_bannerclient order by cid

A bunch of lines that look like this above the Blocks Admin table (still works though)
Quote:
SQL query: select bid, bkey, title, url, bposition, weight, active, blanguage, blockfile, view from nuke_blocks order by bposition, weight
SQL query: select bid from nuke_blocks where weight='0' AND bposition='l'
SQL query: select bid from nuke_blocks where weight='2' AND bposition='l'
The Content Manager has these lines in various places
Quote:
SQL query: select * from nuke_pages order by pid
SQL query: select cid, title from nuke_pages_categories order by title
SQL query: select cid, title from nuke_pages_categories order by title
Here's the Module's Admin screen
Quote:
SQL query: select mid from nuke_modules where title='Addon_Sample'
SQL query: select mid from nuke_modules where title='AvantGo'
SQL query: select mid from nuke_modules where title='Content'
SQL query: select mid from nuke_modules where title='Downloads'
SQL query: select mid from nuke_modules where title='Encyclopedia'
SQL query: select mid from nuke_modules where title='FAQ'
SQL query: select mid from nuke_modules where title='Feedback'
SQL query: select mid from nuke_modules where title='Forums'
SQL query: select mid from nuke_modules where title='Journal'
SQL query: select mid from nuke_modules where title='Members_List'
SQL query: select mid from nuke_modules where title='News'
SQL query: select mid from nuke_modules where title='Private_Messages'
SQL query: select mid from nuke_modules where title='Recommend_Us'
SQL query: select mid from nuke_modules where title='Reviews'
SQL query: select mid from nuke_modules where title='Search'
SQL query: select mid from nuke_modules where title='Sections'
SQL query: select mid from nuke_modules where title='Statistics'
SQL query: select mid from nuke_modules where title='Stories_Archive'
SQL query: select mid from nuke_modules where title='Submit_News'
SQL query: select mid from nuke_modules where title='Surveys'
SQL query: select mid from nuke_modules where title='Top'
SQL query: select mid from nuke_modules where title='Topics'
SQL query: select mid from nuke_modules where title='WebMail'
SQL query: select mid from nuke_modules where title='Web_Links'
SQL query: select mid from nuke_modules where title='Your_Account'
SQL query: select title from nuke_modules
I'm tired of copy/pasting but I think you get the idea.
Are these things I should be worried about? Or should I just turn off the debugger?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-12-2003, 09:57 AM
Moderator
 
Join Date: Nov 2002
Posts: 737
You can turn it off, it was just to see a more complete error for the warning you were getting in recipes.

btw.. you don't have to completely delete things to make the errors go away, Just disable them

Does 6.8 use uname or username? If it doesn't use uname that could the problem with recipes.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-12-2003, 01:48 PM
Junior Member
 
Join Date: Mar 2003
Location: Austin, TX
Posts: 130
Send a message via ICQ to MurphDog Send a message via AIM to MurphDog Send a message via MSN to MurphDog Send a message via Yahoo to MurphDog
not sure, where's the best place to find out? Sorry if it should be obvious. Too much on my brain right now.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-12-2003, 01:57 PM
Moderator
 
Join Date: Nov 2002
Posts: 737
You could try the change log. I'm sorry I don't have 6.8 so I can't look myself. I do have the module you're using.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-12-2003, 02:00 PM
Junior Member
 
Join Date: Mar 2003
Location: Austin, TX
Posts: 130
Send a message via ICQ to MurphDog Send a message via AIM to MurphDog Send a message via MSN to MurphDog Send a message via Yahoo to MurphDog
Nope, doesn't indicte a change to that other than version 6.5
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 07-12-2003, 02:25 PM
Moderator
 
Join Date: Nov 2002
Posts: 737
What vs of recipes do you have? 1.4.1 or an older vs.

I had the older vs and just downloaded the newer one. It shouldn't make a difference anyway because it is supposed to be compatible with 6.0 and 6.5. Maybe send Shaun an email and find out if he has tested it on 6.8, he may already be aware of the problem, but wont be making another public release until the next final of nuke is released.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
403 Module Error.. Sog Nuke 7.x - Modules 2 05-22-2006 04:43 AM
Admin module error? NaptownNicka Nuke 7.x - Modules 9 05-03-2005 11:49 PM
HUGE Module Error Kristic Nuke 6.5 to 6.9 - Modules 3 07-14-2003 02:31 PM
Getting an error on REVIEW MODULE - can anyone help poncho Nuke 6.5 to 6.9 - Modules 1 05-25-2003 01:54 AM
Recipe Module Suzie Purged Topics 2 12-19-2002 04:18 PM


All times are GMT -5. The time now is 11:24 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31