PDA

View Full Version : What's up with this?


Dan
11-26-2004, 04:20 PM
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/_____/public_html/nuke/includes/sql_layer.php on line 238

I tried to install a top sites into my php-nuke but I keep getting this... Do you guys know what's wrong?

mahangee
11-26-2004, 04:54 PM
It simply means that the mysql_num_rows function cannot hook on to a mysql_query to perform its function on.

I know have fixed this error on my own code before but never php nuke. If you post the offending line of code, and the variables it is trying to query I might be able to help :D

Dan
11-26-2004, 06:19 PM
I don't know what it's trying to query.. I could send you the whole file... Mabye you could find it.

mahangee
11-26-2004, 06:26 PM
Sure email it to me mahangee at gmail dot com

EDIT: There is nothing I can do, its a error to do with your DB and such. Please check that you have a database set up and such. Other than that thats all I can help. Sorry.

Dan
11-26-2004, 10:52 PM
Thanks for your help.