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

Yet Another Dayfile Reader (PHP)

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

Moderator: daj

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: Yet Another Dayfile Reader (PHP)

Post by RayProudfoot »

Same here. Just a blank page with links to other pages.
Cheers,
Ray, Cheshire.

Image
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by water01 »

My dayfile reader still working AOK.
David
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: Yet Another Dayfile Reader (PHP)

Post by Super-T »

Interesting that Ray has the same problem.
link for me hasn't changed:- https://www.janter.co.nz/weather/betel_datasummary.php so I guess that perhaps my ISP has changed something. I'll have to try running locally.
I always blame MS updates whenever something like this happens :-)
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by HansR »

To me Ray's summary page displays OK, @Super-T's does not (blank page)
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
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: Yet Another Dayfile Reader (PHP)

Post by Super-T »

I've done a query to my ISP as I can't see that I have changed anything. May the ISP has done an update.
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: Yet Another Dayfile Reader (PHP)

Post by RayProudfoot »

Terry,

Viewing page source for your data summary shows href as href="700betel_datasummary.css"

Mine is href="betel_datasummary.css"

Is that relevant?
Last edited by RayProudfoot on Mon 01 Jul 2024 9:05 am, edited 2 times in total.
Cheers,
Ray, Cheshire.

Image
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by water01 »

If you run an F12 diagnostic on the page it is failing with a 404 not found for favicon.ico, which may cause the page not to load.

Suggest you put a favicon.ico in correct spot.

I agree with Hans Ray's page is displaying correctly.
David
Image
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by HansR »

water01 wrote: Mon 01 Jul 2024 8:04 am If you run an F12 diagnostic on the page it is failing with a 404 not found for favicon.ico, which may cause the page not to load.
Nothing on a 404 for favicon.ico when I load the page.
And beside that: I don't think failing to load an element blocks the whole page to load in HTML.

If I look at the page source I would say the PHP processing goes wrong somewhere.
Can you check the errorlog?
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
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: Yet Another Dayfile Reader (PHP)

Post by Super-T »

Good try Ray. I took off the 700 but still not loading the page completely. :-( I have no idea why it was named with the 700 in front. I haven't touched the page for so long. Nothing back from my ISP yet.

I reloaded the betel stuff from my backup but that didn't fix the problem.

Where would I find the error log Hans?

checkserver.php works ok
https://www.janter.co.nz/weather/checkserver.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: Yet Another Dayfile Reader (PHP)

Post by Mapantz »

Put this in in the data summary php page, at the top

Code: Select all

error_reporting(E_ALL);
ini_set('display_errors', '1');
Post the link to your data summary page.

I think there's errors due to being on PHP 8.1
Image
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by PaulMy »

I have no idea why it was named with the 700 in front.
I haven't used this version for a long time... but from the HowTo:

Code: Select all

################################################################################   
### FOR beteljuice's "yet another dayfile reader" HowTo ## file version 1.4.4 ##
################################################################################   
After downloading the .zip you will need some files but which ones?
A working system needs 4 files plus the 4 graphics plus access to the
   dayfile.txt file which Cumulus uploads each night.

1. betel_dayfile_languages.php
2. betel_readDayfile.php
3. a .css file - see below.
4. a basic.php - also see below
5. the 4 season graphic filesThere are 3 .css files to choose from;
   wide   - betel_datasummary.css
   medium - 750betel_datasummary.css
   narrow - 700betel_datasummary.css
and 3 basic.php files to match

Only you can decide which is best for you and you can try them all.
The sample scripts below assume the chosen width of .css file has been renamed
   to betel_datasummary.css but you can change it to the original if you prefer.
Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
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: Yet Another Dayfile Reader (PHP)

Post by RayProudfoot »

@PaulMy, so the 700 in front of the php file was fine. We can ignore that.

I searched on how to determine what version of PHP my site is running. v7.0.33 according to this...

https://www.cheadlehulmeweather.co.uk/version.php

If Terry's site isn't loading the data and is running PHP v8 that could be the reason. Is that version forced on users or can he revert to v7? A help desk call should clarify that.
Cheers,
Ray, Cheshire.

Image
User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by ConligWX »

Super-T wrote: Sun 30 Jun 2024 11:16 pm Interesting that Ray has the same problem.
link for me hasn't changed:- https://www.janter.co.nz/weather/betel_datasummary.php so I guess that perhaps my ISP has changed something. I'll have to try running locally.
I always blame MS updates whenever something like this happens :-)
i see this when going to that url and looking at inspect.

Failed to load resource: the server responded with a status of 404 (Not Found)
favicon.ico:1
Failed to load resource: the server responded with a status of 404 (Not Found)
700betel_datasummary.css:1
Failed to load resource: the server responded with a status of 404 (Not Found)

so where is the "700betel_datasummary.css" file?


Screenshot 2024-07-02 122309.png
You do not have the required permissions to view the files attached to this post.
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by water01 »

The source should be edited to remove the 700 as CSS file supplied by beteljuice at the time was "betel_datasummary.css" and saved back to the server.
David
Image
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: Yet Another Dayfile Reader (PHP)

Post by Mapantz »

He already tried changing the css and said it didn't work.
Image
Post Reply