Hi ,
few days ago my datacenter support suggested me to use litespeed instead of apache and as we tried i'm happy with it . speed is great and pages loads much faster . but in one of our websites we have database connection errors !
we have few rewrite rules for these websites , first i thought those lines are the reasons and i removed them but still we get errors :
and here are the lines (18 & 27):
Any help would be more than great .
thanks
few days ago my datacenter support suggested me to use litespeed instead of apache and as we tried i'm happy with it . speed is great and pages loads much faster . but in one of our websites we have database connection errors !
we have few rewrite rules for these websites , first i thought those lines are the reasons and i removed them but still we get errors :
Warning: mysql_query() [function.mysql-query]: Unable to save result set in /home/mechoddl/public_html/admin/user.php on line 18
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/u/public_html/admin/user.php on line 18
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/u/public_html/admin/user.php on line 27
Failed to connect to databases, contact
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/u/public_html/admin/user.php on line 18
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/u/public_html/admin/user.php on line 27
Failed to connect to databases, contact
$dls = mysql_fetch_array(mysql_query("SELECT * FROM downloads WHERE reports='0'"));
$view = mysql_fetch_array(mysql_query("SELECT * FROM downloads ORDER BY date DESC"));
$view = mysql_fetch_array(mysql_query("SELECT * FROM downloads ORDER BY date DESC"));
thanks