myForecast block

Post Reply
Charl
Observer
Observer
Posts: 12
Joined: Fri Jun 28, 2019 7:55 am
Station model: WMR-200
Software: Cumulus

myForecast block

Post by Charl » Fri Jul 19, 2019 7:12 am

Can anyone help with the myForecast block, I've set it up, added my forecast but the icons don't appear on the weather page. www.dullstroomweather.co.za/template/indexDesktop.php

Thanks.

Charl.
Attachments
myF3.jpg
myF3.jpg (26.31 KiB) Viewed 6761 times
myF2.jpg
myF2.jpg (84.44 KiB) Viewed 6761 times
myF1.jpg
myF1.jpg (47.56 KiB) Viewed 6761 times

Charl
Observer
Observer
Posts: 12
Joined: Fri Jun 28, 2019 7:55 am
Station model: WMR-200
Software: Cumulus

Re: myForecast block

Post by Charl » Sun Nov 03, 2019 8:35 am

Finally sorted this problem out, I was filling out the forecast using Microsoft Edge and not Google and that is why the icon was not appearing on the webpage.

ph2
Observer
Observer
Posts: 32
Joined: Fri Sep 25, 2020 4:54 pm
Location: Österreich / Weyregg
Station model: Davis Vantage Pro2
Software: Meteobridge

Re: myForecast block

Post by ph2 » Fri Nov 06, 2020 6:33 pm

That didn't change anything for me, no matter which browser I used. In my opinion, the problem is in the file myForecastBlock.php: Here an if-query is used to search for a file settings.php. If this is not found, then "else" is run through and the script is terminated with the command "die" and there is no second query for settings2.php. For me there isno settings.php, only settings2.php. I changed the first “if” to settings2.php, now it works. Jachym, I think that should be changed in the download files!

Post Reply