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

#14769
Iris
Participant

@sonichouse wrote:

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;
}

No it doesn’t – I even re-downloaded.

And, Functions.PHP at the top defines the version variable as 1.17?

Maybe upload a fresh zip.

Iris