Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

MySql error?

Discussion in 'Database Discussion' started by johandre, Dec 22, 2013.

  1. johandre

    johandre Registered

    Joined:
    Dec 22, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    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
     
    #1 johandre, Dec 22, 2013
    Last edited by a moderator: Dec 23, 2013
  2. monkey64

    monkey64 Well-Known Member

    Joined:
    Nov 6, 2011
    Messages:
    94
    Likes Received:
    3
    Trophy Points:
    58
    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?
     
  3. johandre

    johandre Registered

    Joined:
    Dec 22, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    How do I fix the issue?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,870
    Likes Received:
    1,811
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    This sounds like an issue with your script. Please consult with the developer of your script, or the support methods outlined by the developer for assistance with this issue.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice