Page 1 of 1
Tempertaure Graph unit display problem
Posted: Wed 19 Nov 2008 9:04 am
by gwheelo
All the Temp.php graphs are displaying a curious tempertaure quantity. Can anyone help. I have uploaded fresh copies of GraphSettings.php and temp.php to my website with no improvement. Could this be a problem with my realtime.txt file.
I have included a sample of the temp graph and realtime.txt.
GW
Re: Tempertaure Graph unit display problem
Posted: Wed 19 Nov 2008 7:30 pm
by pinto
I was trying to find a solution for you, but I think it has to do with some server setting.
But...
in temp.php is a line
Code: Select all
$SITE['tempunit'] = "°" . ret_value("tempunit");
BTW it does display OK with the debug parameter
you can try to change to
Code: Select all
$SITE['tempunit'] = "°" . ret_value("tempunit");
(it is the degrees symbol on your keybord)
But I don't know if it does work for you.
I did try it on my workstation (on WAMP) and for me it does work
Re: Tempertaure Graph unit display problem
Posted: Wed 19 Nov 2008 9:41 pm
by gwheelo
$SITE['tempunit'] = "° " . ret_value("tempunit");
Fixed the problem! Brilliant! Did the same for indoor and dewpoint graphs - and everything is humming.
I wonder why no one else has had the problem?
Thanks for the help!