Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

error in yesterday's temperatures

Discussion of Ken True's web site templates

Moderator: saratogaWX

Post Reply
josebp
Posts: 65
Joined: Tue 13 Apr 2010 11:37 am
Weather Station: Davis Vantage Pro2
Operating System: WINDOWS 10
Location: Sevilla, España
Contact:

error in yesterday's temperatures

Post by josebp »

Hi, I have changed the ajax-dashboard.php to Version 1.30 - 14-May-2020.
I must have made a mistake and I can't get the decimals in yesterday's temperatures.
No idea where I went wrong.
Thanks, and sorry for any inconvenience.
Greetings,
Jose Ramon
www.tiempoensevilla.es
------------------------------
Hola, he cambiado el ajax-dashboard.php a la Version 1.30 - 14-May-2020.
Me he debido de equivocar y no me salen los decimales en las temperaturas de ayer.
Ni idea dónde me he equivocado.
Gracias y perdonar las molestias.
Saludos,
José Ramón
Image
User avatar
ConligWX
Posts: 1570
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: error in yesterday's temperatures

Post by ConligWX »

in that file look for:

Code: Select all

$decimalComma = false;  // set to true to process numbers with a comma for a decimal point
change to:

Code: Select all

$decimalComma = true;  // set to true to process numbers with a comma for a decimal point
I am guessing since it looks like your CUtags.php contains a "," (comma) as the decimal point.

see if that helps
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
josebp
Posts: 65
Joined: Tue 13 Apr 2010 11:37 am
Weather Station: Davis Vantage Pro2
Operating System: WINDOWS 10
Location: Sevilla, España
Contact:

Re: error in yesterday's temperatures

Post by josebp »

Thanks ConlinWX but I don't think that's it since it only fails in yesterday's temperatures.
I have returned to the previous dashboard and I no longer have that problem.
Ken will have the solution, he is the boss
Thanks.
Regards,
Jose Ramon
Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: error in yesterday's temperatures

Post by beteljuice »

Seems to be fixed ??
Image
......................Imagine, what you will KNOW tomorrow !
josebp
Posts: 65
Joined: Tue 13 Apr 2010 11:37 am
Weather Station: Davis Vantage Pro2
Operating System: WINDOWS 10
Location: Sevilla, España
Contact:

Re: error in yesterday's temperatures

Post by josebp »

No Beteljuice, I went back to the previous version
Thanks.
Regards,
Jose Ramon
Image
Post Reply