FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Add-on Software › FireStats – Top 40 php script (now with added charts) › Reply To: FireStats – Top 40 php script (now with added charts)
15/12/2007 at 7:29 PM
#14768
sonichouse
Participant
If you were running 1.18, it should show an error message rather than the one displayed.
Can you check the first few lines of QuerytoTable (line 100)
It should say
function QueryToTable($dbh, $query, $output=1, $title=null, $mode=null,$graph=0)
{
$imgDir="img/";
$minScale=0;
$maxScale=10;
// Execute Query
$result=$dbh->query($query);
// Check for valid result set
if(!$result)
{
print("
Unable to execute: $query
");
return;
}