Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - 28 November 2014
Latest Cumulus MX release v3.0.0 build 3046 - 02 January 2019. See the Wiki for download

Error livedata.php

Discussion of the Weather34 web site template

Moderators: saratogaWX, weatherist34

Post Reply
Steepleian
Posts: 36
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 » Tue 20 Nov 2018 7:48 pm

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: 103
Joined: Wed 13 Apr 2016 11:09 am
Weather Station: Davis Vantage Pro2+Solar
Operating System: OSX High Sierra
Location: Istanbul
Contact:

Re: Error livedata.php

Post by weatherist34 » Wed 21 Nov 2018 8:05 am

hello Ian

thanks fixed and updated download ...many thanks brian

User avatar
ConligWX
Posts: 745
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: MeteoBridge Nano SD
Location: Bangor, NI
Contact:

Re: Error livedata.php

Post by ConligWX » Wed 21 Nov 2018 6:59 pm

Thanks for pointing that out Ian.

Cheers Brian for the update.
Regards Simon

https://www.conligwx.org
https://twitter.com/conligwx
Davis Vantage Pro2 Plus - Meteobrige Nano SD + Saratoga Templates

Post Reply