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, 64 guest(s) and 1 member(s) that are online.

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

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
mirciu
Nuke Cadet
Nuke Cadet


Joined: Jul 20, 2003
Posts: 8


PostPosted: Wed Jul 23, 2003 1:21 pm Reply with quoteBack to top

Hi,
I've upgraded to Nuke 6.8 from 6.7 and ever since I have the following warning in "Download" module >>>>
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in c:\program files\apache group\apache\htdocs\includes\sql_layer.php on line 238

Address is: http://mirciu.rr.nu/index.php

Any help would be greatly appreciated.

Thank you.
Find all posts by mirciuView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Wed Jul 23, 2003 1:41 pm Reply with quoteBack to top

Read the welcome announcement for how to set SQL DEBUG on. That will tell you what sql statement is causing this. Did you run the 6.7-6.8 upgrade script?

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
mirciu
Nuke Cadet
Nuke Cadet


Joined: Jul 20, 2003
Posts: 8


PostPosted: Wed Jul 23, 2003 2:01 pm Reply with quoteBack to top

Thanks.

Yes, I did run the upgrade67-68.php to begin with. Seeing that the warning was still there, I did a new install too.

- I've read the anouncement and I did a debug but I'm not sure what statement I'm looking for.
This is the query under each download >>> SQL query: SELECT adminid FROM nuke_downloads_editorials WHERE downloadid=7

Unfortunately it doesn't tell me anything.
Find all posts by mirciuView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Wed Jul 23, 2003 2:03 pm Reply with quoteBack to top

Find the one right by the mysql warning message.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Wed Jul 23, 2003 2:05 pm Reply with quoteBack to top

Quote:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\program files\apache group\apache\htdocs\modules\WhereBisDu\wbdtrack.php on line 79
This one is a definite problem!

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
mirciu
Nuke Cadet
Nuke Cadet


Joined: Jul 20, 2003
Posts: 8


PostPosted: Wed Jul 23, 2003 2:33 pm Reply with quoteBack to top

I fixed the one you've found.
The others are still there. And the query was the one I pointed out earlier.
I've given access to downloads now if you want to see ...

Thanks anyway.
Find all posts by mirciuView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Wed Jul 23, 2003 2:47 pm Reply with quoteBack to top

I was only able to get into the Download link 1 time and I saw no errors. I tried again and I got a 404, it timed out.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
mirciu
Nuke Cadet
Nuke Cadet


Joined: Jul 20, 2003
Posts: 8


PostPosted: Wed Jul 23, 2003 2:59 pm Reply with quoteBack to top

You have to go into one of the categories. The warnings are still there.
By the way the engine on my MySQL is "4.0.13-max-debug".
Do you think that may have something to do with it?

Mirciu'
Find all posts by mirciuView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Wed Jul 23, 2003 3:18 pm Reply with quoteBack to top

I need to see it with SQL DEBUG on.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
mirciu
Nuke Cadet
Nuke Cadet


Joined: Jul 20, 2003
Posts: 8


PostPosted: Wed Jul 23, 2003 3:26 pm Reply with quoteBack to top

SQL Debug is ON.
Find all posts by mirciuView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Wed Jul 23, 2003 3:34 pm Reply with quoteBack to top

SELECT adminid FROM nuke_downloads_editorials WHERE downloadid=2

Either the column adminid does not exist in the table nuke_downloads_editorials
or the table does not exist
or there is no downloadid=2

Take that statement, use phpMyAdmin and select your nuke database. Then select the SQL tab and paste that statement in it. You should get the answer to the question then.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
mirciu
Nuke Cadet
Nuke Cadet


Joined: Jul 20, 2003
Posts: 8


PostPosted: Wed Jul 23, 2003 3:40 pm Reply with quoteBack to top

Will do.

Thank you.
Find all posts by mirciuView user's profileSend private message
mirciu
Nuke Cadet
Nuke Cadet


Joined: Jul 20, 2003
Posts: 8


PostPosted: Wed Jul 23, 2003 4:03 pm Reply with quoteBack to top

That worked!

Thank you very much for your help.


Regards,

Mirciu'
Find all posts by mirciuView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Wed Jul 23, 2003 4:06 pm Reply with quoteBack to top

For the benefit of others, what was the error?

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
mirciu
Nuke Cadet
Nuke Cadet


Joined: Jul 20, 2003
Posts: 8


PostPosted: Wed Jul 23, 2003 4:15 pm Reply with quoteBack to top

It seems that I lost a few tables when I upgraded to Nuke 6.8.
The same problem in in Forums.
Find all posts by mirciuView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



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.689 Seconds - 336 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::