Page 5 of 5

Re: AnnualDataSummary PHP

Posted: Wed 30 Jan 2019 10:54 pm
by freddie
Looks like all those indexes need defining before you use them. Possibly a restriction imposed by PHP 7?

Re: AnnualDataSummary PHP

Posted: Wed 30 Jan 2019 10:59 pm
by dazza1223
hi freddie um i did downgrade to php.5.6 to see if it was that but it still the same ?

Re: AnnualDataSummary PHP

Posted: Wed 30 Jan 2019 11:32 pm
by freddie
Still think you need to predefine. Any other errors showing?

Re: AnnualDataSummary PHP

Posted: Wed 30 Jan 2019 11:43 pm
by dazza1223
no that all the errors the the thing is ive tryed so meany ways but it still the same

Re: AnnualDataSummary PHP

Posted: Thu 31 Jan 2019 1:54 am
by beteljuice
I think the last error you have is here:

Code: Select all

        } // END year walk
        // now do overall month averages - not for wind direction - too ambitous!
        // Not for total rain days - only display sum
        if ($dataset !== 'domWindDir') {   <<<<<<<<<< $dataset instead of $dataSet
            if ($dataSet === 'totRainDays') {
                $decimals = 1;
            }
The others I suspect may be a problem with your datasummary/LanguagesSQL.php either being corrupted or not having those entries in.

Re: AnnualDataSummary PHP

Posted: Thu 31 Jan 2019 10:09 am
by dazza1223
hi beteljuice um i think i know what the matter as when mark gave me the link


https://weather.wilmslowastro.com/datas ... torfmiland

i dont think i have the LanguagesSQL.php one as i think i downloaded it but im not two sure that it was LanguagesSQL.php one so is there a way of downloading that one? I might be rong?

Re: AnnualDataSummary PHP

Posted: Thu 31 Jan 2019 1:50 pm
by beteljuice
I assume that is a file that Mark created, so ..........

Re: AnnualDataSummary PHP

Posted: Thu 31 Jan 2019 1:52 pm
by dazza1223
yh i got it from his site but i dint get the LanguagesSQL.php file ?