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

#14762
Iris
Participant

It taken me a little while because I had to set-up lightTPD, etc. on my NAS (see sig) but I now have FF stats working. 🙂 Since Google charts was added I first tried v1.15 and was getting the charts but at the top of most charts ther e was an error message for “invalid argument…” that for the most part has gone away with v1.17 but a few remain which I’ll detail here.

Refreshing charts progresses to 100% but then message:

Warning: Invalid argument supplied for foreach() in /shares/mss-hdd/Public/Our Sites/stats/functions.php on line 138

I then get the summary screen with tables and graph but right above the title Last 10 Albums Played the above error is present but for line 72.

Now for each stat:

Tracks, Albums, Genres, Decades appear OK.

Added and Played show error for line 138. Added shows table but no actual graph – the graph window is there. Played only shows graph window.

I was getting more of this with v1.15 but has been cleaned up quite a bit with v1.17. Any suggestions?

Iris