Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

AnnualDataSummary PHP

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

Re: AnnualDataSummary PHP

Post by freddie »

Looks like all those indexes need defining before you use them. Possibly a restriction imposed by PHP 7?
Freddie
Image
User avatar
dazza1223
Posts: 860
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: AnnualDataSummary PHP

Post by dazza1223 »

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

https://www.davisworthing.co.uk

Image
freddie
Posts: 2433
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: AnnualDataSummary PHP

Post by freddie »

Still think you need to predefine. Any other errors showing?
Freddie
Image
User avatar
dazza1223
Posts: 860
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: AnnualDataSummary PHP

Post by dazza1223 »

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

https://www.davisworthing.co.uk

Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: AnnualDataSummary PHP

Post 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.
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
dazza1223
Posts: 860
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: AnnualDataSummary PHP

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

dazza :D

https://www.davisworthing.co.uk

Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: AnnualDataSummary PHP

Post by beteljuice »

I assume that is a file that Mark created, so ..........
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
dazza1223
Posts: 860
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: AnnualDataSummary PHP

Post by dazza1223 »

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

dazza :D

https://www.davisworthing.co.uk

Image
Post Reply