Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

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

Legacy Cumulus 1 release 1.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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Request help with betel_datasummary.php

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Dennisdg
Posts: 221
Joined: Tue 07 Feb 2012 9:42 am
Weather Station: Davis Vantage PRO2
Operating System: Windows 11 Pro 64 Bit
Location: Camberley

Request help with betel_datasummary.php

Post by Dennisdg »

Request some help please.
I have for some years successfully used betel_datasummary.php on my web site, unfortunately for the last few days (5 or 6) it is broken with no error returned. From my drop down menu when selecting records/annual data only my station name and Lat/Long are returned. To me it seems there is an issue with the dayfile.txt on my server. If I remove the dayfile.txt from my server the annual data screen is returned with an un-populated form that displays the calendar/seasons etc.
I have betel.datasummary.ccs, betel_summary.php, betel_languages.php and betel_readDayfile.php and the dayfile.txt all in the same /public_html folder.
My web site host is set to use PHP 5.6. I do have available versions up to 7.3, none of which fix this issue.

This used to work, I haven’t changed any of these files, my host company say they haven’t changed anything either.

Any help will be gratefully received.

Thanks
Dennis

https://g4glp.co.uk

Davis Vantage PRO2
Win 11 Pro 64 bit
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: Request help with betel_datasummary.php

Post by beteljuice »

When I just tried your site the none of the php o/p was there ...

However; you said you got something happening if you 'emptied' dayfile.txt - at a glance I didn't see anything obvious, but if you try (server side ONLY) removing the last 12 or so entries and see if that gives somesort of result.
Image
......................Imagine, what you will KNOW tomorrow !
Dennisdg
Posts: 221
Joined: Tue 07 Feb 2012 9:42 am
Weather Station: Davis Vantage PRO2
Operating System: Windows 11 Pro 64 Bit
Location: Camberley

Re: Request help with betel_datasummary.php

Post by Dennisdg »

On the server I renamed dayfile.txt to dayfile.txt.old then the page displays your un-populated page without the data.
I removed data from 1st Feb in the dayfile.txt, still no joy, just the station name and Lat/Long.
However, removing all the dayfile data and saving it on the server file size 0, the page displays un-populated.
Deleting the file then loading a fresh dayfile.txt (file size 614,106) brings back the same problem.
Dennis

https://g4glp.co.uk

Davis Vantage PRO2
Win 11 Pro 64 bit
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: Request help with betel_datasummary.php

Post by beteljuice »

Very odd ...

OK ... try removing all the data for this year.
Image
......................Imagine, what you will KNOW tomorrow !
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: Request help with betel_datasummary.php

Post by beteljuice »

I've just tried your dayfile.txt on my test page and no problems ! (latest ver. but running php 5.x)

I can only recommend downloading latest versions and trying again ...
Image
......................Imagine, what you will KNOW tomorrow !
Dennisdg
Posts: 221
Joined: Tue 07 Feb 2012 9:42 am
Weather Station: Davis Vantage PRO2
Operating System: Windows 11 Pro 64 Bit
Location: Camberley

Re: Request help with betel_datasummary.php

Post by Dennisdg »

Just gone to bed, got an early start tomorrow at 05.30. Please point me to where I can download the latest versions.
I'll take another go later tomorrow.

Thanks for your help
Dennis

https://g4glp.co.uk

Davis Vantage PRO2
Win 11 Pro 64 bit
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: Request help with betel_datasummary.php

Post by beteljuice »

Yet Another Dayfile Reader

viewtopic.php?f=14&t=11397
Image
......................Imagine, what you will KNOW tomorrow !
Dennisdg
Posts: 221
Joined: Tue 07 Feb 2012 9:42 am
Weather Station: Davis Vantage PRO2
Operating System: Windows 11 Pro 64 Bit
Location: Camberley

Re: Request help with betel_datasummary.php

Post by Dennisdg »

Thanks for that.
Working now, just need some tarting up.
Regards
Dennis

https://g4glp.co.uk

Davis Vantage PRO2
Win 11 Pro 64 bit
User avatar
Super-T
Posts: 906
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Request help with betel_datasummary.php

Post by Super-T »

With the New Year arriving I have noticed that my Betel Datasummary can't move to 2025. Is there an update or can someone modify Betel's data summary PHP to take me forward for another few years?

I should have noticed that before the new year.

https://www.janter.co.nz/weather/betel_datasummary.php
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Request help with betel_datasummary.php

Post by Mapantz »

Isn't it supposed to show the new year when the data has been added at the rollover time?
Image
RayProudfoot
Posts: 3602
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Request help with betel_datasummary.php

Post by RayProudfoot »

It takes at least 30 mins to update after midnight rollover. Perhaps a bit longer with a new year.
Cheers,
Ray, Cheshire.

Image
RayProudfoot
Posts: 3602
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Request help with betel_datasummary.php

Post by RayProudfoot »

On further reflection you’ll not see anything for 2025 until 2 January.
Cheers,
Ray, Cheshire.

Image
User avatar
Super-T
Posts: 906
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Request help with betel_datasummary.php

Post by Super-T »

Thanks. Will see what happens in 2 hours time :-)
You're right I think as it always shows 1 day behind, not instant info.
SamiS
Posts: 510
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Request help with betel_datasummary.php

Post by SamiS »

The dayfile.txt contains data for 2025 only after the 1st day of January has ended and rollover happened, so this delay is kind of mandatory. For those using 9am rollover it will happen even later.
User avatar
Super-T
Posts: 906
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Request help with betel_datasummary.php

Post by Super-T »

All good now. Rolled over to 2025.

Happy New Year
Post Reply