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, 82 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 - Top Module Problem [ ]
 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
Mindl3ss
Guest






PostPosted: Thu May 08, 2003 10:46 am Reply with quoteBack to top

Code:
nothing
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/salman/public_html/nuke/includes/sql_layer.php on line 238

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/salman/public_html/nuke/includes/sql_layer.php on line 238


Code:
10 most commented stories


Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/salman/public_html/nuke/includes/sql_layer.php on line 238

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/salman/public_html/nuke/includes/sql_layer.php on line 238

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/salman/public_html/nuke/includes/sql_layer.php on line 238


<hr>
errors in the Top10 Module :< it was fine before i uploaded the files i downloaded from nukecops.com any help???

i do have the old top files on my hard disk if you say i will upload them again

Reply Soon[/code]
Find all posts by Anonymous
Mindl3ss
Guest






PostPosted: Sat May 10, 2003 8:49 am Reply with quoteBack to top

hello any help??
Find all posts by Anonymous
Cyberclark
Elite Nuker
Elite Nuker


Joined: Nov 20, 2002
Posts: 237


PostPosted: Sat May 10, 2003 9:03 am Reply with quoteBack to top

Be sure to read the Welcome thread it has a lot of great troubleshooting info.

The info that would help you is this section of that thead.


Quote:
sql_layer.php Debug

Open sql_layer.php go to line 300 and change:

chatserv wrote:

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


To the following:
chatserv wrote:

case "MySQL":
if ($row = mysql_fetch_row($res)) {
return $row;
} else {
print (mysql_error());
}
break;;


Upload the changed file, go back to your site and in the error message you should now see a better error report.


Basically the error messages you listed could be 1 of 100's of things, we would need more detailed error messages to be able to help troubleshoot your issue.
Find all posts by CyberclarkView user's profileSend private message
Mindl3ss
Sergeant
Sergeant


Joined: May 10, 2003
Posts: 148

Location: Karachi, Pakistan

PostPosted: Sat May 17, 2003 8:14 am Reply with quoteBack to top

Quote:
10 most active categories



SQL query: select artid, secid, title, content, counter from nuke_seccont order by counter DESC limit 0, 10
SQL query: select uname, user_posts from nuke_users where uname<>'Anonymous' order by user_posts DESC limit 0, 10

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/salman/public_html/nuke/includes/sql_layer.php on line 238
SQL query: select uname, user_regdate from nuke_users where uname<>'Anonymous' order by uid DESC limit 0, 10

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/salman/public_html/nuke/includes/sql_layer.php on line 238
SQL query: select uname, counter from nuke_users where counter > '0' order by counter DESC limit 0, 10

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/salman/public_html/nuke/includes/sql_layer.php on line 238
SQL query: select * from nuke_poll_desc


Quote:
10 most recent Watched forum threads

· 1: General » Where Are Guys G0n3??
· 2: General » Mehrtaab here.....
· 3: General » Kazaa
· 4: General » Introduce Your Self Here!


SQL query: select id, name, hits from nuke_community_cool order by hits DESC limit 0, 10

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/salman/public_html/nuke/includes/sql_layer.php on line 238
SQL query: select id, name, hits from nuke_community order by hits DESC limit 0, 10

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/salman/public_html/nuke/includes/sql_layer.php on line 238
SQL query: select COUNT(theme) as cnt, theme from nuke_users group by theme order by cnt DESC limit 0, 10


url : http://smwebs.2ya.com/modules.php?name=Top
Debug Mode is Also On

any help Very Happy

_________________
Normal people ... believe that if it ain't broke, don't fix it. Engineers believe that if it ain't broke, it doesn't have enough features yet.
Find all posts by Mindl3ssView user's profileSend private messageSend e-mailVisit poster's websiteYahoo MessengerMSN Messenger
Mindl3ss
Sergeant
Sergeant


Joined: May 10, 2003
Posts: 148

Location: Karachi, Pakistan

PostPosted: Sat May 17, 2003 8:17 am Reply with quoteBack to top

Quote:
10 most active categories



SQL query: select artid, secid, title, content, counter from nuke_seccont order by counter DESC limit 0, 10
SQL query: select uname, user_posts from nuke_users where uname<>'Anonymous' order by user_posts DESC limit 0, 10

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/salman/public_html/nuke/includes/sql_layer.php on line 238
SQL query: select uname, user_regdate from nuke_users where uname<>'Anonymous' order by uid DESC limit 0, 10

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/salman/public_html/nuke/includes/sql_layer.php on line 238
SQL query: select uname, counter from nuke_users where counter > '0' order by counter DESC limit 0, 10

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/salman/public_html/nuke/includes/sql_layer.php on line 238
SQL query: select * from nuke_poll_desc


Quote:
10 most recent Watched forum threads

· 1: General » Where Are Guys G0n3??
· 2: General » Mehrtaab here.....
· 3: General » Kazaa
· 4: General » Introduce Your Self Here!


SQL query: select id, name, hits from nuke_community_cool order by hits DESC limit 0, 10

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/salman/public_html/nuke/includes/sql_layer.php on line 238
SQL query: select id, name, hits from nuke_community order by hits DESC limit 0, 10

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/salman/public_html/nuke/includes/sql_layer.php on line 238
SQL query: select COUNT(theme) as cnt, theme from nuke_users group by theme order by cnt DESC limit 0, 10


url : http://smwebs.2ya.com/modules.php?name=Top
Debug Mode is Also On

i tried to change uname to username but i guess it didnt helped..

any help Very Happy

_________________
Normal people ... believe that if it ain't broke, don't fix it. Engineers believe that if it ain't broke, it doesn't have enough features yet.
Find all posts by Mindl3ssView user's profileSend private messageSend e-mailVisit poster's websiteYahoo MessengerMSN Messenger
Mindl3ss
Sergeant
Sergeant


Joined: May 10, 2003
Posts: 148

Location: Karachi, Pakistan

PostPosted: Sat May 17, 2003 8:26 am Reply with quoteBack to top

i made one more step now... i changed the uid's to user_id now it shows only two errors:

Quote:
10 most recent Watched forum threads

· 1: General » Where Are Guys G0n3??
· 2: General » Mehrtaab here.....
· 3: General » Kazaa
· 4: General » Introduce Your Self Here!


SQL query: select id, name, hits from nuke_community_cool order by hits DESC limit 0, 10

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/salman/public_html/nuke/includes/sql_layer.php on line 238
SQL query: select id, name, hits from nuke_community order by hits DESC limit 0, 10

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/salman/public_html/nuke/includes/sql_layer.php on line 238
SQL query: select COUNT(theme) as cnt, theme from nuke_users group by theme order by cnt DESC limit 0, 10


Welp!

_________________
Normal people ... believe that if it ain't broke, don't fix it. Engineers believe that if it ain't broke, it doesn't have enough features yet.
Find all posts by Mindl3ssView user's profileSend private messageSend e-mailVisit poster's websiteYahoo MessengerMSN Messenger
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.563 Seconds - 276 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::