johandre

Registered
Dec 22, 2013
2
0
1
cPanel Access Level
Website Owner
Hello,
I almost dont got any kinds of skills in CPanel or how to use a mysql database.
And I have a error on my website with the MySql base which I dont understand.
Can anyone please tell me how to fix the error here is the website and a text of the error I am getting.

Website: [Removed URL]
Error
"[23-Dec-2013 08:15:15 Europe/Moscow] PHP Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/powercra/public_html/Banned/index.php on line 286"

I got a error log full with thoose messages spammed
 
Last edited by a moderator:

monkey64

Well-Known Member
Nov 6, 2011
100
4
68
cPanel Access Level
Root Administrator
Hello

This has nothing to do with CPanel since it is an issue with your PHP code.

The mysql_query is returning a boolean value meaning the sql query is probably failing and you're getting a false returned rather than a mysql resource.

Have you checked your query or run it manually?
 

johandre

Registered
Dec 22, 2013
2
0
1
cPanel Access Level
Website Owner
Hello

This has nothing to do with CPanel since it is an issue with your PHP code.

The mysql_query is returning a boolean value meaning the sql query is probably failing and you're getting a false returned rather than a mysql resource.

Have you checked your query or run it manually?
How do I fix the issue?