Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.0.0 build 3050 - 1 May 2019.
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

See the Wiki for downloading either version.

AnnualDataSummary PHP

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
freddie
Posts: 430
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2
Operating System: GNU/Linux (Ubuntu 18.04)
Location: Dorrington, Shropshire
Contact:

Re: AnnualDataSummary PHP

Post by freddie » Wed 30 Jan 2019 10:54 pm

Looks like all those indexes need defining before you use them. Possibly a restriction imposed by PHP 7?
Freddie
Image

User avatar
dazza1223
Posts: 503
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Vue
Operating System: raspberry pi 3 +
Location: Worthing
Contact:

Re: AnnualDataSummary PHP

Post by dazza1223 » Wed 30 Jan 2019 10:59 pm

hi freddie um i did downgrade to php.5.6 to see if it was that but it still the same ?
Have fun and keep learning

dazza :D

freddie
Posts: 430
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2
Operating System: GNU/Linux (Ubuntu 18.04)
Location: Dorrington, Shropshire
Contact:

Re: AnnualDataSummary PHP

Post by freddie » Wed 30 Jan 2019 11:32 pm

Still think you need to predefine. Any other errors showing?
Freddie
Image

User avatar
dazza1223
Posts: 503
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Vue
Operating System: raspberry pi 3 +
Location: Worthing
Contact:

Re: AnnualDataSummary PHP

Post by dazza1223 » Wed 30 Jan 2019 11:43 pm

no that all the errors the the thing is ive tryed so meany ways but it still the same
Have fun and keep learning

dazza :D

User avatar
beteljuice
Posts: 2593
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: XP SP3 - honest
Location: Dudley, West Midlands, UK

Re: AnnualDataSummary PHP

Post by beteljuice » Thu 31 Jan 2019 1:54 am

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.
Image
......................Imagine, what you will KNOW tomorrow !

User avatar
dazza1223
Posts: 503
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Vue
Operating System: raspberry pi 3 +
Location: Worthing
Contact:

Re: AnnualDataSummary PHP

Post by dazza1223 » Thu 31 Jan 2019 10:09 am

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?
Have fun and keep learning

dazza :D

User avatar
beteljuice
Posts: 2593
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: XP SP3 - honest
Location: Dudley, West Midlands, UK

Re: AnnualDataSummary PHP

Post by beteljuice » Thu 31 Jan 2019 1:50 pm

I assume that is a file that Mark created, so ..........
Image
......................Imagine, what you will KNOW tomorrow !

User avatar
dazza1223
Posts: 503
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Vue
Operating System: raspberry pi 3 +
Location: Worthing
Contact:

Re: AnnualDataSummary PHP

Post by dazza1223 » Thu 31 Jan 2019 1:52 pm

yh i got it from his site but i dint get the LanguagesSQL.php file ?
Have fun and keep learning

dazza :D

Post Reply