Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.9.1 (build 3096) - 31 October 2020 (please see announcement regarding releases since 3.5.0)
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 the NOAA report and Snow Index drop-down menus to 2030)

Use this Wiki link to Download the Software (Cumulus MX / Cumulus 1 and other related items).

Error livedata.php

Discussion of the Weather34 web site template

Moderators: saratogaWX, weatherist34

Post Reply
Steepleian
Posts: 22
Joined: Sat 29 Mar 2014 7:33 am
Weather Station: WH2650
Operating System: Debian 9
Location: Steeple Claydon
Contact:

Error livedata.php

Post by Steepleian »

Simon,

There is an error in the livedata.php file within the final update (19 November). Its related to the addition of 'Last Hour' in the 'Almanac' section of the rainfall module. I spotted it whilst I was updating the weeWX version which also uses realtime.txt for live data.

Line 111 reads: -

$weather["rain_lasthour"] = $cumulus[49];

It should be: -

$weather["rain_lasthour"] = $cumulus[47];

Updated file is attached: -
livedata.php.zip
Ian
You do not have the required permissions to view the files attached to this post.

weatherist34
Posts: 48
Joined: Wed 13 Apr 2016 11:09 am
Weather Station: Davis Vantage Pro2 Plus
Operating System: OSX High Sierra
Contact:

Re: Error livedata.php

Post by weatherist34 »

hello Ian

thanks fixed and updated download ...many thanks brian

User avatar
ConligWX
Posts: 921
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2 Plus +DFARS
Operating System: Ubuntu 20.04.01 LTS
Location: Bangor, NI
Contact:

Re: Error livedata.php

Post by ConligWX »

Thanks for pointing that out Ian.

Cheers Brian for the update.
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • CumulusMX •

Post Reply