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

#14716
sonichouse
Participant

@blamm wrote:

Cracked it.

$DSN=”sqlite:C:/Program Files/Firefly Media Server/songs3.db”

Now I get charts but with nothing in them. Playing with smart playlists suggest my DB has no playcounts.

Good news.

Check the path to libchart in functions.php.

Try changing

include "./libchart-1.2/libchart/classes/libchart.php";

to

require_once "./libchart-1.2/libchart/classes/libchart.php";

this will then error if not found.