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 4019) - 03 April 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

Request help with betel_datasummary.php

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

Moderator: daj

Post Reply
Dennisdg
Posts: 220
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: 220
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: 220
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: 220
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
Post Reply