Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.0.0 build 3050 - 1 May 2019.
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

See the Wiki for downloading either version.

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: 1873
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis Vantage Pro 2+ w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by PaulMy » Fri 26 Oct 2018 3:01 pm

@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

User avatar
beteljuice
Posts: 2605
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: XP SP3 - honest
Location: Dudley, West Midlands, UK

Re: Yet Another Dayfile Reader (PHP)

Post by beteljuice » Fri 26 Oct 2018 9:40 pm

@ 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: 1873
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis Vantage Pro 2+ w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by PaulMy » Fri 26 Oct 2018 10:05 pm

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

User avatar
beteljuice
Posts: 2605
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: XP SP3 - honest
Location: Dudley, West Midlands, UK

Re: Yet Another Dayfile Reader (PHP)

Post by beteljuice » Fri 26 Oct 2018 11:56 pm

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 » Thu 31 Jan 2019 10:39 am

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: 2605
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: XP SP3 - honest
Location: Dudley, West Midlands, UK

Re: Yet Another Dayfile Reader (PHP)

Post by beteljuice » 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 ....
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 » Thu 31 Jan 2019 4:03 pm

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: 2605
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: XP SP3 - honest
Location: Dudley, West Midlands, UK

Re: Yet Another Dayfile Reader (PHP)

Post by beteljuice » Thu 31 Jan 2019 4:42 pm

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 » Thu 31 Jan 2019 7:40 pm

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: 2605
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: XP SP3 - honest
Location: Dudley, West Midlands, UK

Re: Yet Another Dayfile Reader (PHP)

Post by beteljuice » Thu 31 Jan 2019 9:17 pm

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: 73
Joined: Mon 30 Jan 2012 5:09 pm
Weather Station: Davis Vantage Pro 2 Cabled
Operating System: Windows 10
Location: Central Florida USA
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by sperry russ » Wed 27 Feb 2019 2:49 am

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: 2605
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: XP SP3 - honest
Location: Dudley, West Midlands, UK

Re: Yet Another Dayfile Reader (PHP)

Post by beteljuice » Wed 27 Feb 2019 4:22 am

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: 73
Joined: Mon 30 Jan 2012 5:09 pm
Weather Station: Davis Vantage Pro 2 Cabled
Operating System: Windows 10
Location: Central Florida USA
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by sperry russ » Wed 27 Feb 2019 4:45 am

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: 449
Joined: Mon 28 Nov 2011 2:13 am
Weather Station: Davis VP2 with DFARS
Operating System: RPi Raspbian (Stretch)
Location: Ferny Grove, Brisbane, Australia
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by Matt.j5b » Tue 04 Jun 2019 11:54 am

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

User avatar
beteljuice
Posts: 2605
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: XP SP3 - honest
Location: Dudley, West Midlands, UK

Re: Yet Another Dayfile Reader (PHP)

Post by beteljuice » Tue 04 Jun 2019 12:41 pm

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