Page 49 of 102
Re: Weather34 Aurora Version(english supported only)
Posted: Sun May 16, 2021 3:06 pm
by weatherist34
super it just needed a UTF8 php header line sorry should have thought of that earlier. anyway have a good day .brian
Re: Weather34 Aurora Version(english supported only)
Posted: Sun May 16, 2021 3:19 pm
by prestwickwx
weatherist34 wrote: ↑Sun May 16, 2021 3:06 pm
super it just needed a UTF8 php header line sorry should have thought of that earlier. anyway have a good day .brian
Have fun with the new Mac! I am going to have to update at some point. Still have a old Mini running High Sierra.
Chuck
Re: Weather34 Aurora Version(english supported only)
Posted: Mon May 17, 2021 7:11 am
by vortexya
Love the new forecast layout, very nice.
Re: Weather34 Aurora Version(english supported only)
Posted: Tue May 18, 2021 7:15 pm
by jmontamat
Hello.
I also like the new forecast presentation.
A little bug in chartforecast.php
else if ($wuskydayUV1>=5)echo "<span style='hsl(34, 98%, 49%)'>".
for :
else if ($wuskydayUV1>=5)echo "<span style='color:hsl(34, 98%, 49%)'>".
Thanks
Re: Weather34 Aurora Version(english supported only)
Posted: Wed May 19, 2021 7:00 am
by weatherist34
good morning Josep
thanks all fixed and simplified the using color phrases from css file master still uses HSL method but now simple phrase <orange> etc
Code: Select all
<?php //UVINDEX
if ($wuskydayUV1>0){
echo "UVINDEX ";
if ($wuskydayUV1>10)echo "<purple>". number_format($wuskydayUV1,0)."</purple><br>";
else if ($wuskydayUV1>=8)echo "<red>". number_format($wuskydayUV1,0)."</red><br>";
else if ($wuskydayUV1>=5)echo "<orange>". number_format($wuskydayUV1,0)."</orange><br>";
else if ($wuskydayUV1>=3)echo "<yellow'>". number_format($wuskydayUV1,0)."</yellow><br>";
else if ($wuskydayUV1>0)echo "<green>". number_format($wuskydayUV1,0)."</green><br>";}
?>
Download Update 19th May 2021
* Fix missing UV color style Ref Josep (07:56)
@vortexya glad you like it , please remind me what I have to fix for you, Ive forgot was it moonrise etc ?
Re: Weather34 Aurora Version(english supported only)
Posted: Wed May 19, 2021 4:01 pm
by prestwickwx
weatherist34 wrote: ↑Sun May 16, 2021 3:06 pm
super it just needed a UTF8 php header line sorry should have thought of that earlier. anyway have a good day .brian
Hi Brian,
Just updated to the latest and the odd character in the Forecast temperature returned. Here is what I found looking at the Header:
This code in line 1 produces the odd character:
Code: Select all
<?php include_once('updaterwu.php');include('wudata.php');header('Content-Type: text/html; charset=utf-8');?>
This order removes the odd character:
Code: Select all
<?php header('Content-Type: text/html; charset=utf-8');include_once('updaterwu.php');include('wudata.php');?>
Looks like the Content-Type being first is preferred by Chrome and Safari.
Strange
Chuck
Re: Weather34 Aurora Version(english supported only)
Posted: Wed May 19, 2021 4:17 pm
by weatherist34
hello chuck
it feels like working blind cant see any discrepancies locally here on two localhost servers, or ICDSOFT server so im baffled .look later see if i can reproduce but so far i haven’t been able too. perhaps it needs code “if error echo pour a beer come back tomorrow “

Re: Weather34 Aurora Version(english supported only)
Posted: Wed May 19, 2021 4:27 pm
by prestwickwx
weatherist34 wrote: ↑Wed May 19, 2021 4:17 pm
hello chuck
it feels like working blind cant see any discrepancies locally here on two localhost servers, or ICDSOFT server so im baffled .look later see if i can reproduce but so far i haven’t been able too. perhaps it needs code “if error echo pour a beer come back tomorrow “
A good Stout or pint of Ale always solves the problem.
It may be something that is configured slightly different on your ICDSOFT server vs mine - I am sure we are in different data centers.
I reversed the order and everything is fine.
Cheers,
Chuck
Update - I am thinking it might be the .htaccess file on the webserver. Perhaps yours includes a line AddDefaultCharset UTF-8 in the file.
Chuck
Re: Weather34 Aurora Version(english supported only)
Posted: Wed May 19, 2021 4:47 pm
by weatherist34
may be thats the answer having the utf header 1st
Re: Weather34 Aurora Version(english supported only)
Posted: Wed May 19, 2021 5:34 pm
by weatherist34
hmm I dont use a modified htaccess on local server. I updated GITHUB/Download according to your idea, I still couldn't replicate locally in browser safari, chrome, firefox (Mac OS).also contains some other minor adjustments .here is what I see locally

- browfc.jpg (104 KiB) Viewed 3530 times
Download Update 19th May 2021
* Contains all updates since March 1st
* SET HEADER UTF-8 Ref Chuck (18:21)
* Forceload new SVG icons (18:21)
* Fix missing UV color style Ref Josep (07:56)
Re: Weather34 Aurora Version(english supported only)
Posted: Wed May 19, 2021 5:52 pm
by prestwickwx
Brian,
Ok. Must be some unique conf. on my server. As soon as I reverse it, Chrome and Safari show the odd character - Firefox is fine.
I also checked my php.ini for default_charset = "utf-8"; and I don't have that line.
Best wishes!
Chuck
Re: Weather34 Aurora Version(english supported only)
Posted: Fri May 21, 2021 9:46 am
by jmontamat
Good morning Brian.
Would it be possible to correct this superposition by shifting the temperature value?
Thanks.
Re: Weather34 Aurora Version(english supported only)
Posted: Fri May 21, 2021 10:18 am
by weatherist34
Good morning Josep
no problem all done just add a z-index has the position is from the master css files shifting it would also push other out of sync.
css is straight forward [data-title]{z-index:9999}
Download Update 21st May 2021
* Contains all updates since March 1st
* Icon text overlay Z-index Ref Josep (11:13)
* UVINDEX 3 color correction (10:52)
* Updates night icons appearance (08:32)
Re: Weather34 Aurora Version(english supported only)
Posted: Fri May 21, 2021 10:26 am
by jmontamat
Thanks Brian very attentive as always.

Re: Weather34 Aurora Version(english supported only)
Posted: Sun May 23, 2021 3:37 pm
by prestwickwx
Hi Brian,
Hope all is well.
Just noticed a minor issue. The Forecast being reported seems to be slightly different on the Indoor page than on the others. Different source maybe?

- Capture.PNG (153.86 KiB) Viewed 3375 times

- Capture1.PNG (202.22 KiB) Viewed 3375 times
Best wishes,
Chuck