Page 32 of 55

Re: Yet Another Dayfile Reader (PHP)

Posted: Fri 26 Oct 2018 3:01 pm
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

Re: Yet Another Dayfile Reader (PHP)

Posted: Fri 26 Oct 2018 9:40 pm
by beteljuice
@ paulmy

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

.ca seems to work ... .com looks like the paths or "betelURL" are wrong :?

Re: Yet Another Dayfile Reader (PHP)

Posted: Fri 26 Oct 2018 10:05 pm
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

Re: Yet Another Dayfile Reader (PHP)

Posted: Fri 26 Oct 2018 11:56 pm
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 ......

Re: Yet Another Dayfile Reader (PHP)

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

Re: Yet Another Dayfile Reader (PHP)

Posted: Thu 31 Jan 2019 2:08 pm
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 ....

Re: Yet Another Dayfile Reader (PHP)

Posted: Thu 31 Jan 2019 4:03 pm
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!

Re: Yet Another Dayfile Reader (PHP)

Posted: Thu 31 Jan 2019 4:42 pm
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:

Re: Yet Another Dayfile Reader (PHP)

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

Re: Yet Another Dayfile Reader (PHP)

Posted: Thu 31 Jan 2019 9:17 pm
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 !!!

Re: Yet Another Dayfile Reader (PHP)

Posted: Wed 27 Feb 2019 2:49 am
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!

Re: Yet Another Dayfile Reader (PHP)

Posted: Wed 27 Feb 2019 4:22 am
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:

Re: Yet Another Dayfile Reader (PHP)

Posted: Wed 27 Feb 2019 4:45 am
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.

Re: Yet Another Dayfile Reader (PHP)

Posted: Tue 04 Jun 2019 11:54 am
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

Re: Yet Another Dayfile Reader (PHP)

Posted: Tue 04 Jun 2019 12:41 pm
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 ?