Page 49 of 55
Re: Yet Another Dayfile Reader (PHP)
Posted: Wed 01 Jul 2020 11:43 pm
by Phil23
It's the alt one I'm running ATM. Seems that the ea one doesn't report Calendar Support.
Re: Yet Another Dayfile Reader (PHP)
Posted: Thu 02 Jul 2020 2:26 am
by beteljuice
Knock, knock ....
As we have seen from your other problems, they have not correctly / fully installed the latest php version.
It's for your host to fix.
Re: Yet Another Dayfile Reader (PHP)
Posted: Thu 02 Jul 2020 6:00 am
by Phil23
beteljuice wrote: ↑Thu 02 Jul 2020 2:26 am
Knock, knock ....
All messages received not......
I'm guilty of writing post & not hitting submit.
But Hey, I blame clients & the phone for that.
Think one of my replies was "pending" for a few hours & I missed other responses.
Have notified Host & in the meantime am using one of the "ea" builds/
Thanks.
Re: Yet Another Dayfile Reader (PHP)
Posted: Thu 03 Dec 2020 9:19 pm
by Phil23
Just opened
http://weather.inverellit.com/datasummary.php to look at November's rainfall.
I see 3 days & it reports 4; there's a mystery 0.2mm getting into the total as an extra day somewhere......
Any thoughts. Not sure if mines current either.
Edit:- Ignore, I'm staring blind this morning......
didn't see the 0.2mm on the 22nd as it wasn't shaded in.
Re: Yet Another Dayfile Reader (PHP)
Posted: Tue 12 Jan 2021 8:43 am
by flort
I just installed this Dayfile Reader and am very impressed with the functionality and depth of information displayed. I have one query though -
In the Seasonal View it shows my Dataset is incomplete for February 2017, however, there is nothing missing when I look at the Daily View.
Seasonal View.jpg
Feb 17.jpg
If you want to look at the website it is
http://flor.byethost24.com/weather/index.htm
Thanks.
UPDATE 7.1.4 *** Yet Another Dayfile Reader (PHP)
Posted: Tue 12 Jan 2021 11:21 pm
by beteljuice
UPDATE - ver 7.1.4
First of all, apologies to everyone - the beteljuice did do a bugfix for the above post, and updated the cookies code as promised
viewtopic.php?p=142901#p142901 ... but never got round to 'publishing' them
Edit: For Information ONLY
Minor modification to main betel_readDayfile.php -
Don't forget to back-up your existing copy first - it has all your user vars you've tweaked !!!
If you would prefer to modify the file youself (simples !)
... and ...
Code: Select all
// approx line #1675
foreach($displayUOM as $key => $val){
//$script .= " document.cookie = 'theseUOM[".$key."] =".$val."; '+expires;\n";
$script .= " document.cookie = 'theseUOM[".$key."] =".$val."; '+expires+'; sameSite=lax;'\n";
}
All files available in first post.
Re: Yet Another Dayfile Reader (PHP)
Posted: Wed 13 Jan 2021 5:53 am
by flort
Thanks for posting the fix. I have applied it and February 2017 now shows as a complete dataset, however, this current month (January 2021) no longer shows as incomplete. Is this able to be corrected?
Re: Yet Another Dayfile Reader (PHP)
Posted: Wed 13 Jan 2021 7:02 am
by griffo42
flort wrote: ↑Wed 13 Jan 2021 5:53 am
Thanks for posting the fix. I have applied it and February 2017 now shows as a complete dataset, however, this current month (January 2021) no longer shows as incomplete. Is this able to be corrected?
In addition to that requested by flort, the Note at the foot of the seasonal table is not there. Also, my first month Mar 2011 which is incomplete is not marked with and asterisk.
Keith
Re: Yet Another Dayfile Reader (PHP)
Posted: Wed 13 Jan 2021 11:49 am
by beteljuice
Re: Yet Another Dayfile Reader (PHP)
Posted: Wed 13 Jan 2021 6:38 pm
by meteosangonera
Thank you very much beteljuice!
I love your script.
Re: Yet Another Dayfile Reader (PHP)
Posted: Thu 14 Jan 2021 5:43 am
by flort
I installed the update but it still didn't work. I searched through the file and found the same variable listed on lines 1399, 1444 and 1530. I changed them so all variables read $dayCnt and it now works correctly.
Re: Yet Another Dayfile Reader (PHP)
Posted: Thu 14 Jan 2021 5:58 am
by beteljuice
flort wrote: ↑Thu 14 Jan 2021 5:43 am
I installed the update but it still didn't work. I searched through the file and found the same variable listed on lines 1399, 1444 and 1530. I changed them so all variables read $dayCnt and it now works correctly.
Thank you flort - the beteljuice again apologises for being lackadaisical, but I have just suddenly 'lost' a dear friend and drinking buddy of more than 20 years.
Suspect heart attack after recovering from Covid acquired at his Mother In Laws funeral (Cancer).
His widows in a right state ....
I'll re-post when I redo the coding - hopefully correctly this time (What I actually meant to do was to correct that var to $daycnt and not the camelCase entry
)
Re: V 7.1.4 Update - Yet Another Dayfile Reader (PHP)
Posted: Thu 14 Jan 2021 12:02 pm
by beteljuice
V 7.1.4 Update
Hopefully the beteljuice has now correctly edited the main file
correctly [tsk .. bad grammar]
Don't forget to back-up your existing copy first - it has all your user vars you've tweaked !!!
Files in first post ...
Re: Yet Another Dayfile Reader (PHP)
Posted: Thu 14 Jan 2021 3:44 pm
by PaulMy
, but I have just suddenly 'lost' a dear friend and drinking buddy of more than 20 years.
Sorry to hear such sad news. Trust you will continue to be safe and healthy.
Sincerely,
Paul
Re: Yet Another Dayfile Reader (PHP)
Posted: Thu 14 Jan 2021 10:50 pm
by flort
I have installed the update and can confirm everything is working as expected. Thanks again.