qss not displaying graph/virus/sources info
Brought to you by:
kwak
I'm new to qss. I'm running the latest version of qss, ver
2.02, on rh9, with apache. The problem I'm having is that
when I load index.php I have the following problems:
The 'graphs' section is blank. There's a question mark
where the image should be.
The 'viruses' and 'sources' sections are all one color.
Probably a config problem. Would appreciate some help.
Thanks
Logged In: YES
user_id=1005341
I had the same problem and fixed it by making the following
changes.
Make the top of getGraph.php look like this:
<?PHP
$data = $_GET['data'];
$t = $_GET['t'];
Make the top of getGraph1.php look like this:
<?PHP
$s = $_GET['s'];
$data = $_GET['data'];
Hope this helps.
Logged In: YES
user_id=994102
Tim,
Thanks. Your fix worked, except for one thing. In the sources
section, one of the sources gives percentage but no source.
Logged In: YES
user_id=1005341
I have the same problem as well. I
Logged In: NO
Alter into index.php
# Calc the date timestamp
$date = date("d/m/Y",$val[0]);
//$date = explode(" ",$date]);
$dateT = $date[0];
$date[0] = $date[1];
$date[1] = $dateT;
$date = strtotime(implode("/",$date));
Logged In: YES
user_id=1112243
this did not solve the problem for me, It throws errors.
namely:"
Warning: implode(): Bad arguments. in index.php on line 109"
a bunch of times line 109 is as follows:
"$date = strtotime(implode("/",$date));"
Logged In: NO
Comment out the entire date stamp code and replace with:
# Calc the date timestamp
#$date = explode("/",$val[0]);
#$date = date("d/m/y",$val[0]);
#$dateT = $date[0];
#$date[0] = $date[1];
#$date[1] = $dateT;
#$date = strtotime(implode("/",$date));
$date = strtotime($val[0]);