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 4017) - 17 March 2024

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 drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Yet Another Dayfile Reader (PHP)

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

Moderator: daj

User avatar
PaulMy
Posts: 3775
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 »

@beteljuice
I have the v.7.1 running in both
http://www.komokaweather.ca/betel_datasummary.php (Saratoga)
and http://www.komokaweather.com/weather/be ... maryCU.php (Cumulus)
and only one set of files ;)

I had quite a bit of problem getting the paths correct in betel_readDayfile.php and betel_dayfile_languages.php so that it would work for both sites with one set of files, and with the great help from far down south it got resolved.

But then there was the never ending browser and caching issue on my old Windows8 weather computer and that had impact on testing path changes, I still can't get it to show perfect in IE10 and FF and have tried clearing cache dozens of times. Works fine in Chrome on this computer.
Everything looks good on a Windows 10 computer with Edge, FF and Chrome.
Thanks BCJK

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

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

Post by beteljuice »

@ paulmy

Both sites are taking an age to load .....

.ca seems to work ... .com looks like the paths or "betelURL" are wrong :?
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
PaulMy
Posts: 3775
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 »

All seem ok to me and loads in 2-3 sec on new call on new devivce.

Maybe my browser issue moved to yours :lol:

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

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

Post by beteljuice »

Hmm .... BOTH pages ARE working, but ATM I'm getting intermittent loooong delays for anything on your sites (even upto browser 'time-out') - perhaps it's something to do with 'BREXIT' or Donald Trump, or The Russians or ......
Image
......................Imagine, what you will KNOW tomorrow !
philipg
Posts: 6
Joined: Mon 25 Aug 2014 4:11 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Hamilton, New Zealand
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by philipg »

Hey, I have 7.1 running on mine and a friends webpage but having issues with it overlapping the buttons and the table, still works but doesn't look right.. Thinking a possible conflict with the style.css for weather blues and betel_datasummary.css yet cannot find it.
Please help.. absolutely love this forum.

http://hamiltoncityweather.co.nz/summary.php
http://taupiriweather.co.nz/summary.php
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: Yet Another Dayfile Reader (PHP)

Post by beteljuice »

Are you using the tweaked meteo900_betel_datasummary.css style sheet ?

... although that was created by joewith, I don't know what differences there are ....
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
joewith
Posts: 29
Joined: Fri 18 May 2012 4:33 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10 Pro
Location: Aurora, Colorado, USA
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by joewith »

Yes, in my version I did modify somewhat the betel_datasummary.css file and called it meteo900_betel_datasummary.css which is included in the 7.1 version.

The url to my page is https://www.tigerdenweb.com/tigerdenwx/ ... 0_V7_1.php and have tried it on several browsers (Firefox, IE, and Chrome) where it seems to work at least for me.

So I would try that to see if that helps!
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: Yet Another Dayfile Reader (PHP)

Post by beteljuice »

Hi Joe ...

Nice to see you are still 'operating'.

Great to see the 7.1 ver working properly in your WBY page. :clap:
Image
......................Imagine, what you will KNOW tomorrow !
philipg
Posts: 6
Joined: Mon 25 Aug 2014 4:11 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Hamilton, New Zealand
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by philipg »

beteljuice wrote: Thu 31 Jan 2019 2:08 pm Are you using the tweaked meteo900_betel_datasummary.css style sheet ?

... although that was created by joewith, I don't know what differences there are ....
I did try meteo900_betel_datasummary.css with no luck I thought, however just tryed it again and the format is perfect.. :clap:
Only thing I can think of is I didn't delete the original betel_datasummary.css lasttime and it must of still been reading it.. :groan:

Thank you so much for getting back, absolutely love the script.. was just what I was looking for.
Image
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: Yet Another Dayfile Reader (PHP)

Post by beteljuice »

There you go.

Someone in the Americas tweaks some English code and helps someone in New Zealand who is using a French template ...

... Great stuff !!!
Image
......................Imagine, what you will KNOW tomorrow !
sperry russ
Posts: 89
Joined: Mon 30 Jan 2012 5:09 pm
Weather Station: Davis Vantage Pro 2 Cabled
Operating System: Windows 7
Location: Central Florida USA
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by sperry russ »

I have been experimenting with vps hosting and could not figure out why my dayfile reader would not work. After racking my brains I realized that the host is running php 7.1. Then came to the forum and found out that you had updated it for 7.1.

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

Post by beteljuice »

Just goes to show that you should be a regular visitor to the forum to stay on top of things !!

Or .......

Depending on where you are, at the bottom of the page there will either be a direct link to 'subscribe' or a 'topic tools' icon where you can set subscribe ON.

... but that will only show notifications when you visit unless you have set your user profile to mail you with notifactions.

...... clear as mud :roll:
Last edited by beteljuice on Wed 27 Feb 2019 4:57 am, edited 1 time in total.
Image
......................Imagine, what you will KNOW tomorrow !
sperry russ
Posts: 89
Joined: Mon 30 Jan 2012 5:09 pm
Weather Station: Davis Vantage Pro 2 Cabled
Operating System: Windows 7
Location: Central Florida USA
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by sperry russ »

I am actually subscribed to this topic. But the reader has worked so good I haven't paid attention to any of the notifications about it. Should have paid a little more attention, would have saved me some work!

Thanks again.
Matt.j5b
Posts: 512
Joined: Mon 28 Nov 2011 2:13 am
Weather Station: Davis VP2/ WLL with DFARS
Operating System: RPi Raspbian (Buster)
Location: Ferny Grove, Brisbane, Australia
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by Matt.j5b »

I have been building a new website and I can't get this script to work. When I load either the holding page for the php script or the php script, all I get is blank output. I have the dayfile uploaded to the PHP enabled server with the correct path, along with the css and langauge file. On my computer I been using XAMMP and the script works correctly when I set this up in the same way.

Any ideas?

Test holding page: https://fernygroveweather.com/test/annu ... ummary.php
php script location: https://fernygroveweather.com/test/bete ... ayfile.php
Regards, Matt of Brisbane, Australia
Ferny Grove Weather
Image
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: Yet Another Dayfile Reader (PHP)

Post by beteljuice »

the beteljuice is in hospital ATM, so very limited support or attention span :o

Uncomment the appropriate error reporting at the top of teadDayfile.php.

I can see your dayfile where the prog thinks it should be, but quadruple check filepaths in all php pages anyway.
(and permissions)

It has to be something silly - do have any php error logs that help ?
Image
......................Imagine, what you will KNOW tomorrow !
Post Reply