We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16360
    • 15 Posts
    Hi, I have one of a hell problem. I get lots of warnings after login to manager:

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/sitez/ftp/site1/manager/includes/user_settings.inc.php on line 18

    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/sitez/ftp/site1/manager/includes/user_settings.inc.php on line 20

    Cannot modify header information - headers already sent by (output started at /home/sitez/ftp/site1/manager/includes/user_settings.inc.php:18) in /home/sitez/ftp/site1/manager/index.php on line 169

    mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/sitez/ftp/site1/manager/frames/nodes.php on line 127

    Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/sitez/ftp/site1/manager/frames/nodes.php on line 134

    Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/sitez/ftp/site1/manager/frames/nodes.php on line 76

    --------------


    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in home/sitez/ftp/site1/manager/actions/welcome.static.php on line 87

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in home/sitez/ftp/site1/manager/actions/welcome.static.php on line 143


    The thing is a bit weird because I have few websites on this server and all of them have these errors ;/.

    * PHP 5.2.13,
    * MySQL 5.0.90,
    * Apache 2.0.63.

    After that I have installed clear 1.0.5 evo

    and have these two:

    mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/sitez/ftp/temp_site/manager/actions/welcome.static.php on line 104

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/sitez/ftp/temp_site/manager/actions/welcome.static.php on line 160

    In this case manager works, but loads a long time - I have no idea what the hell hapened because I didn`t change anything from firday - that day evrything was working fine :/

    Appreciate the help.
      • 16360
      • 15 Posts
      Figured it out - cause of this warnings was bad configuration of php.