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]
Mindl3ss Guest
Posted:
Sat May 10, 2003 8:49 am
hello any help??
Cyberclark Elite Nuker
Joined: Nov 20, 2002
Posts: 237
Posted:
Sat May 10, 2003 9:03 am
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.
Mindl3ss Sergeant
Joined: May 10, 2003
Posts: 148
Location: Karachi, Pakistan
Posted:
Sat May 17, 2003 8:14 am
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
_________________ 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.
Mindl3ss Sergeant
Joined: May 10, 2003
Posts: 148
Location: Karachi, Pakistan
Posted:
Sat May 17, 2003 8:17 am
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
i tried to change uname to username but i guess it didnt helped..
any help
_________________ 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.
Mindl3ss Sergeant
Joined: May 10, 2003
Posts: 148
Location: Karachi, Pakistan
Posted:
Sat May 17, 2003 8:26 am
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.
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