As told numerous times, I lost the complete setup and zip of the WU-history-reports scripts.
I did not have enough time to recreate the old downloads
I copied from my existing working sites and tested it on a fresh install with PHP 8.1.1
Attached a zipped folder with
The shortest readme ever, adapt your _my_settings/frames.php
2.1 copy_into_pwsWD_folder Two scriprts you have to copy into your pwsWD/ folder
2.2 copy_besides_pwsWD_folder Contains 2 folders which you have to copy next to (not inside) the pwsWD folder
I will adapt the description for those users who copied all scripts into the root.
Probably I have to update the scripts a few times, sorry for that.
Sadly that is not possible today. It is on the to-do list.
The code used the old Leuven-Template “rules”, metric (Celsius) uses decimal-comma, imperial (Fahrenheit) uses decimal point.
It will all be decimal-point shortly as the PWS_Dashboard only uses decimal-point.
“ Notice : Undefined index: wind_degrees in /var/www/vejret-balslev.dk/public_html/pwsWD/PWS_livedata.php on line 1137
Warning : Cannot modify header information - headers already sent by (output started at /var/www/vejret-balslev.dk/public_html/pwsWD/PWS_livedata.php:1137) in /var/www/vejret-balslev.dk/public_html/pwsWD/PWS_index2.php on line 101”
This error has no relation to reports or history scripts.
The PWS_livedata.php script processes your weather-station-data.
It seems the data from weatherlink . com is (or was) missing a sensor-value.
When I check the file, the data is there: