Solved!
The problem is that some values from weewx are empty, causing 
number_forma() function to fails (expect first argument to be a float, 
receiving a string (empty).
I've solved casting the first argument to float, descpiste the value 
(w34CombinedData.php):

$weather["temp_indoor_trend"] = number_format(floatval($weewxrt[22]), 1) - 
number_format(floatval($weewxapi[70]), 1);
$weather["temp_humidity_trend"] = number_format(floatval($weewxrt[23]), 1) 
- number_format(floatval($weewxapi[71]), 1);



Em terça-feira, 17 de maio de 2022 às 23:18:09 UTC-3, vince escreveu:

> (This thread) 
> <https://groups.google.com/g/weewx-user/c/9sZ9ewL0MK8/m/Cyr_L1TbAAAJ> seems 
> to indicate you are likely missing a php prerequisite - perhaps the sockets 
> stuff (?)
>
> On Tuesday, May 17, 2022 at 5:29:47 PM UTC-7 jmc...@gmail.com wrote:
>
>> Hi!
>>
>> Is there any way to debug weather34 skin?
>>
>> I have weewx running for a couple of years with beltchertown skin and no 
>> problems at all. I'm running weewx 4.8.0 on Debian 11 with php8.1 and 
>> apache.
>>
>> Weewx still running fine with all data (from past 2 years and current 
>> data), weather34 installers runs fine and no error/problem....but just a 
>> blank page while trying to open html report.
>> Apache shows no errors, just a blank page on dev console (from browser).
>>
>> Also, weewx shows no error while doing report generation.
>>
>> What else can I do to debug this problem? I'm kind lost here.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b55f432c-062c-477e-b0c9-383aa02472a8n%40googlegroups.com.

Reply via email to