FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Add-on Software › FireStats – Top 40 php script (now with added charts)
- This topic has 175 replies, 17 voices, and was last updated 15 years, 11 months ago by wwarren.
-
AuthorPosts
-
03/12/2007 at 1:26 AM #14729sonichouseParticipant
New version 1.03 is now available.
Added refresh button to recalculate all chart images.
See signature for download link.
/Steve
06/12/2007 at 2:17 PM #14730AnonymousInactivewhat 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
06/12/2007 at 2:21 PM #14731sonichouseParticipantThe 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
06/12/2007 at 2:30 PM #14732AnonymousInactiveactually the rebuilding of the images hangs on 25 %, then nothing happens.. the topDecades.jpg has not been created even after 10 minutes !?
06/12/2007 at 2:33 PM #14733sonichouseParticipant@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 🙂
06/12/2007 at 2:37 PM #14734sonichouseParticipant@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.phphave you tried turning on error reporting in your php.ini ?
06/12/2007 at 2:48 PM #14735AnonymousInactiveis not working either…
i’ll have a closer look at my apache config later. thnx for helping!
06/12/2007 at 2:56 PM #14736sonichouseParticipant@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.
06/12/2007 at 6:29 PM #14737masParticipantJust 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.06/12/2007 at 7:07 PM #14738sonichouseParticipant@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.
-
AuthorPosts
- The forum ‘Add-on Software’ is closed to new topics and replies.