Wxsim not working in forecast block under php 8
-
- Observer
- Posts: 40
- Joined: Tue Sep 05, 2017 10:55 am
- Location: Ballaugh
- Station model: Davis VP2
- Software: Weather Display
- Contact:
Wxsim not working in forecast block under php 8
i tried php 8 last night with template updates for php 8 but the forecast block was not displaying the wxsim forecast the other forecast displayed ok when selected
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Wxsim not working in forecast block under php 8
This should fix php 8.0 compatibility: www.davidefabbri.net/files/forecast_9.3.zip
-
- Observer
- Posts: 40
- Joined: Tue Sep 05, 2017 10:55 am
- Location: Ballaugh
- Station model: Davis VP2
- Software: Weather Display
- Contact:
Re: Wxsim not working in forecast block under php 8
ok have put on my local synology unit which has 8.0 on that is now working
http://ballaugh.no-ip.biz:59202/templat ... esktop.php
thank you
http://ballaugh.no-ip.biz:59202/templat ... esktop.php
thank you
-
- Observer
- Posts: 40
- Joined: Tue Sep 05, 2017 10:55 am
- Location: Ballaugh
- Station model: Davis VP2
- Software: Weather Display
- Contact:
Re: Wxsim not working in forecast block under php 8
although working some of the icons on the wxsim forecast are a bit strange on http://ballaugh.no-ip.biz:59202/templat ... esktop.php using php 8.0 compared to https://www.hc-iom.co.uk/template/indexDesktop.php which is still using php 7.4
is there something i need to look for to correct
is there something i need to look for to correct
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Wxsim not working in forecast block under php 8
This should fix the icon problem: www.davidefabbri.net/files/forecast_9.4.zip
A user on the forum noticed that the block has a few problems with wxsim forecasts:
- it does not show the rain icons
- translation in other languages incomplete
- the block doesn't handle incomplete forecasts
- the icons are a mix of two different sets
I started working on these ( and other ) points, but it is still a work in progress...
A user on the forum noticed that the block has a few problems with wxsim forecasts:
- it does not show the rain icons
- translation in other languages incomplete
- the block doesn't handle incomplete forecasts
- the icons are a mix of two different sets
I started working on these ( and other ) points, but it is still a work in progress...
-
- Observer
- Posts: 40
- Joined: Tue Sep 05, 2017 10:55 am
- Location: Ballaugh
- Station model: Davis VP2
- Software: Weather Display
- Contact:
Re: Wxsim not working in forecast block under php 8
have put the updated files on the local synology unit http://ballaugh.no-ip.biz:59202/templat ... esktop.php but sadly it has not sorted the strange icons
-
- Observer
- Posts: 40
- Joined: Tue Sep 05, 2017 10:55 am
- Location: Ballaugh
- Station model: Davis VP2
- Software: Weather Display
- Contact:
Re: Wxsim not working in forecast block under php 8
i think i have worked out why the icons are wrong for wxsim
the latest.csv has 2 columns with conditions in and the script is is reading column F (WX Type 2) for the conditions icon but it should be reading column E (WX Type 1) for the icons
have tried looking in the scripts but have not seen how to change it to ref column E instead of column F
the latest.csv has 2 columns with conditions in and the script is is reading column F (WX Type 2) for the conditions icon but it should be reading column E (WX Type 1) for the icons
have tried looking in the scripts but have not seen how to change it to ref column E instead of column F