FireStats – Top 40 php script (now with added charts)

FireFly Media Server Firefly Media Server Forums Firefly Media Server Add-on Software FireStats – Top 40 php script (now with added charts)

Viewing 10 posts - 41 through 50 (of 176 total)
  • Author
    Posts
  • #14729
    sonichouse
    Participant

    New version 1.03 is now available.

    Added refresh button to recalculate all chart images.

    See signature for download link.

    /Steve

    #14730
    Anonymous
    Inactive

    what am I doing wrong?
    I can’t see any of the images.. I added the extensions to the php.ini file already..

    for correct handling of special characters (ä,ö,ü in german very common!), you should add the line

    in the firefly.php just before the body – tag, then this works great!

    thnx

    #14731
    sonichouse
    Participant

    The first time you load the page it will not find the images that are generated from each of the menu tabs.

    With version 1.04 I have an option to rebuild all images.

    Visit the decades page, that is the quickest to render.
    Check the topDecades.jpg file has been created.

    /Steve

    #14732
    Anonymous
    Inactive

    actually the rebuilding of the images hangs on 25 %, then nothing happens.. the topDecades.jpg has not been created even after 10 minutes !?

    #14733
    sonichouse
    Participant

    @swissy wrote:

    for correct handling of special characters (ä,ö,ü in german very common!), you should add the line

    in the firefly.php just before the body – tag, then this works great!

    thnx

    thanks, version 1.05 now has this fixed 🙂

    #14734
    sonichouse
    Participant

    @swissy wrote:

    actually the rebuilding of the images hangs on 25 %, then nothing happens.. the topDecades.jpg has not been created even after 10 minutes !?

    Have you installed libChart ?

    If so do the example pages work ?
    Try libchart-1.2/demo/PieChartTest.php

    have you tried turning on error reporting in your php.ini ?

    #14735
    Anonymous
    Inactive

    is not working either…

    i’ll have a closer look at my apache config later. thnx for helping!

    #14736
    sonichouse
    Participant

    @swissy wrote:

    is not working either…

    i’ll have a closer look at my apache config later. thnx for helping!

    No problem, glad to help if it means it actually gets used by somebody.
    The only thing I can think of is GD and FreeType support.

    See http://naku.dohcrew.com/libchart/pages/introduction/gdcheck.php for more info.

    #14737
    mas
    Participant

    Just to say:

    Is working fine here with lighttpd and php-cgi5:

    PHP 5.2.3-1+b1
    lighttpd-1.4.18 (ssl)

    There were indeed a few things to enable in php.ini though (url open through file access must be enabled) and the lighttpd server must have WRITE access in the directories concerned as it writes the chart to the basedir of the script.

    Definitly look at the php.log file. It shows what is going wrong.

    The only slight problem is that its slow on a slug, but I dont think that can be helped:

    This page took 4.366378 seconds to load. (summary)
    This page took 15.977312 seconds to load. (Artist)
    This page took 14.669310 seconds to load. (Genre)
    This page took 13.459053 seconds to load. (Albums)
    This page took 1.608553 seconds to load. (Tracks)
    This page took 2.781499 seconds to load. (Decades)
    This page took 8.203721 seconds to load. (Last added)
    Refresh charts –> ages, ca. 40 secs.

    #14738
    sonichouse
    Participant

    @mas wrote:

    There were indeed a few things to enable in php.ini though (url open through file access must be enabled) and the lighttpd server must have WRITE access in the directories concerned as it writes the chart to the basedir of the script.

    I have changed version 1.06 to write to the img folder.

    @mas wrote:

    Definitly look at the php.log file. It shows what is going wrong.

    The only slight problem is that its slow on a slug, but I dont think that can be helped:

    This page took 4.366378 seconds to load. (summary)
    This page took 15.977312 seconds to load. (Artist)
    This page took 14.669310 seconds to load. (Genre)
    This page took 13.459053 seconds to load. (Albums)
    This page took 1.608553 seconds to load. (Tracks)
    This page took 2.781499 seconds to load. (Decades)
    This page took 8.203721 seconds to load. (Last added)
    Refresh charts –> ages, ca. 40 secs.

    The hit is on the pie chart generation, as you can see the decade one which has the bar chart is much quicker.

Viewing 10 posts - 41 through 50 (of 176 total)
  • The forum ‘Add-on Software’ is closed to new topics and replies.