Menu

#3 qss not displaying graph/virus/sources info

open
nobody
None
5
2004-03-10
2004-03-10
No

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

Discussion

  • Acolyte

    Acolyte - 2004-03-24

    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.

     
  • blackprometheus

    blackprometheus - 2004-03-25

    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.

     
  • Acolyte

    Acolyte - 2004-04-04

    Logged In: YES
    user_id=1005341

    I have the same problem as well. I

     
  • Nobody/Anonymous

    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));

     
  • Ed Coyne

    Ed Coyne - 2004-08-28

    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));"

     
  • Nobody/Anonymous

    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]);

     

Log in to post a comment.