php 8.0 summary5.7 not displaying

spd2612
Forecaster
Forecaster
Posts: 165
Joined: Thu Jan 23, 2020 4:00 pm
Location: Fort Myers
Station model: WS-5000/GW1100
Software: ECOWITT Plugin
Contact:

php 8.0 summary5.7 not displaying

Post by spd2612 » Mon Sep 19, 2022 11:33 pm

I am running php 8.0 everything seems good so far but am unable to get my summery to display
It just spins in the block the cache files are updateing and running some tests I am getting below any ideas here

json decoded blockInfo=Array ( [version] => 5.7 [name] => Summary [namespace] => summary [variables] => Array ( [0] => Array ( [variable] => myLocation [desc] => Go to https://www.yr.no/storage/lookup/English.csv.zip, search for your location and then copy the second column, it will look for example something like this: lat=41.89193&lon=12.51133&altitude=20 ( or provide your own coordinates ). [default] => lat=41.89193&lon=12.51133&altitude=20 ) ) )
if key_exists(variables
if file_exists(settings.php
edit settings.php
installed

AND

https://hurricanepub.com/admin/blockSet ... ast&errors

Warning: Undefined variable $blockInfo in E:\hurricanepub\admin\blockSettings.php on line 42

Warning: Trying to access array offset on value of type null in E:\hurricanepub\admin\blockSettings.php on line 42

Warning: foreach() argument must be of type array|object, null given in E:\hurricanepub\admin\blockSettings.php on line 42

Warning: Undefined variable $blockInfo in E:\hurricanepub\admin\blockSettings.php on line 76

Warning: Trying to access array offset on value of type null in E:\hurricanepub\admin\blockSettings.php on line 76
Settings
Version:
Warning: Undefined variable $blockInfo in E:\hurricanepub\admin\blockSettings.php on line 79

Warning: Trying to access array offset on value of type null in E:\hurricanepub\admin\blockSettings.php on line 79
0.0

Warning: Undefined variable $blockInfo in E:\hurricanepub\admin\blockSettings.php on line 82

Warning: Trying to access array offset on value of type null in E:\hurricanepub\admin\blockSettings.php on line 82

Warning: foreach() argument must be of type array|object, null given in E:\hurricanepub\admin\blockSettings.php on line 82
Image

Ambient Weather WS-5000
Ultrasonic Anemometer
Thermo-Hygrometer Sensor WH31E
Soil Moisture Sensor WH31SM
Lightning Detection WH31L

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: php 8.0 summary5.7 not displaying

Post by davidefa » Tue Sep 20, 2022 9:48 pm

If you execute:

Code: Select all

https://hurricanepub.com/homepage/blocks/summary/summaryBlock.php?errors
you can see a few warning and an error reported:

Code: Select all

Warning: file_get_contents(https://api.met.no/weatherapi/locationforecast/2.0/compact?lat=26.62168&lon=-81.84059&altitude=3): Failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 2161
Warning: Trying to access array offset on value of type null in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 1649
Warning: Trying to access array offset on value of type null in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 1649
Fatal error: Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, null given in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php:1649 Stack trace: #0 {main} thrown in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 1649
The first warning shows that for some reason reading from https://api.met.no fails on your server ( don't know why this happen, as it works correctly in my browser, but noticed that met.no is a little bit 'peaky' sometime ) .
The attached block should avoid the subsequent fatal error ( but you should still have no forecast )
Attachments
summary_5.7a.zip
(109.93 KiB) Downloaded 30 times
Image

spd2612
Forecaster
Forecaster
Posts: 165
Joined: Thu Jan 23, 2020 4:00 pm
Location: Fort Myers
Station model: WS-5000/GW1100
Software: ECOWITT Plugin
Contact:

Re: php 8.0 summary5.7 not displaying

Post by spd2612 » Tue Sep 20, 2022 10:08 pm

Thank you so much for that It did the trick
Forcast is coming up and has data I will keep a eye on it
I am also having a small issue with radarUS causing my desktopindex page to come up insecure
I changed all the HTTP to HTTPS in radarUSBlock.php but it still comes up as launching
insecure image 'http://radar.weather.gov/ridge/standard/KAMX_loop.gif'. as you can see its still http
These have all been changed https://radar.weather.gov/ridge/lite/"+ ... "_loop.gif
Any Ideas there ?

I had to drop the Diary but I will get over that I guess
Image

Ambient Weather WS-5000
Ultrasonic Anemometer
Thermo-Hygrometer Sensor WH31E
Soil Moisture Sensor WH31SM
Lightning Detection WH31L

spd2612
Forecaster
Forecaster
Posts: 165
Joined: Thu Jan 23, 2020 4:00 pm
Location: Fort Myers
Station model: WS-5000/GW1100
Software: ECOWITT Plugin
Contact:

Re: php 8.0 summary5.7 not displaying

Post by spd2612 » Tue Sep 20, 2022 10:49 pm

Damn worked for a little while and then went back to spinning

checked errors and here is what I got

Code: Select all

Warning: file_get_contents(https://api.met.no/weatherapi/locationforecast/2.0/compact?lat=26.62168&lon=-81.84059&altitude=3): Failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 2161

Warning: Trying to access array offset on value of type null in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 1649

Warning: Trying to access array offset on value of type null in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 1649

Warning: Trying to access array offset on value of type null in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 1650

Warning: Trying to access array offset on value of type null in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 1650

Warning: Trying to access array offset on value of type null in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 1650

Warning: Trying to access array offset on value of type null in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 1650

Warning: Undefined variable $forecasts in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 1730

Warning: Undefined variable $measurementStrings in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 2048

Fatal error: Uncaught TypeError: array_rand(): Argument #1 ($array) must be of type array, null given in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php:2048 Stack trace: #0 E:\hurricanepub\homepage\blocks\summary\summaryBlock.php(2048): array_rand() #1 {main} thrown in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 2048
Image

Ambient Weather WS-5000
Ultrasonic Anemometer
Thermo-Hygrometer Sensor WH31E
Soil Moisture Sensor WH31SM
Lightning Detection WH31L

spd2612
Forecaster
Forecaster
Posts: 165
Joined: Thu Jan 23, 2020 4:00 pm
Location: Fort Myers
Station model: WS-5000/GW1100
Software: ECOWITT Plugin
Contact:

Re: php 8.0 summary5.7 not displaying

Post by spd2612 » Thu Sep 22, 2022 10:05 pm

57a is installed but summary will not load, getting a fatal error
I have tryed everything here, I did run some tests running without FastCGI and got it to load but that breaks a bunch of things
The errors it produces are below

Code: Select all

Warning: file_get_contents(https://api.met.no/weatherapi/locationforecast/2.0/compact?lat=26.62168&lon=-81.84059&altitude=3): Failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 2161

Warning: Trying to access array offset on value of type null in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 1649

Warning: Trying to access array offset on value of type null in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 1649

Warning: Trying to access array offset on value of type null in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 1650

Warning: Trying to access array offset on value of type null in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 1650

Warning: Trying to access array offset on value of type null in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 1650

Warning: Trying to access array offset on value of type null in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 1650

Warning: Undefined variable $forecasts in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 1730

Warning: Undefined variable $measurementStrings in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 2048

Fatal error: Uncaught TypeError: array_rand(): Argument #1 ($array) must be of type array, null given in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php:2048 Stack trace: #0 E:\hurricanepub\homepage\blocks\summary\summaryBlock.php(2048): array_rand() #1 {main} thrown in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 2048
If I install SummaryBlock 57 I get less errors

Code: Select all

Fatal error: Uncaught ValueError: fread(): Argument #2 ($length) must be greater than 0 in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php:1628 Stack trace: #0 E:\hurricanepub\homepage\blocks\summary\summaryBlock.php(1628): fread() #1 {main} thrown in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 1628
Image

Ambient Weather WS-5000
Ultrasonic Anemometer
Thermo-Hygrometer Sensor WH31E
Soil Moisture Sensor WH31SM
Lightning Detection WH31L

spd2612
Forecaster
Forecaster
Posts: 165
Joined: Thu Jan 23, 2020 4:00 pm
Location: Fort Myers
Station model: WS-5000/GW1100
Software: ECOWITT Plugin
Contact:

Re: php 8.0 summary5.7 not displaying

Post by spd2612 » Sat Sep 24, 2022 2:14 pm

Changed to PHP 8.1 still getting same fatal error with Summary 5.7

Code: Select all

Fatal error: Uncaught ValueError: fread(): Argument #2 ($length) must be greater than 0 in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php:1628 Stack trace: #0 E:\hurricanepub\homepage\blocks\summary\summaryBlock.php(1628): fread() #1 {main} thrown in E:\hurricanepub\homepage\blocks\summary\summaryBlock.php on line 1628
Anyone know how to solve this I know someone has to be running meteotemplate with summary block on iis10
Image

Ambient Weather WS-5000
Ultrasonic Anemometer
Thermo-Hygrometer Sensor WH31E
Soil Moisture Sensor WH31SM
Lightning Detection WH31L

andyk1
Professional
Professional
Posts: 431
Joined: Tue Feb 27, 2018 10:56 pm
Location: OKLAHOMA, USA
Station model: Ecowitt WS90
Software: Meteobridge/GW2000B
Contact:

Re: php 8.0 summary5.7 not displaying

Post by andyk1 » Sat Sep 24, 2022 5:07 pm

I can't get php 8.0 or 8.1 to work at all. Added all the modes but get blank screen (No error codes or anything) when I activate php 8.0 or 8.1 on my host ionos.com (formally 1and1)
Image

spd2612
Forecaster
Forecaster
Posts: 165
Joined: Thu Jan 23, 2020 4:00 pm
Location: Fort Myers
Station model: WS-5000/GW1100
Software: ECOWITT Plugin
Contact:

Re: php 8.0 summary5.7 not displaying

Post by spd2612 » Sat Sep 24, 2022 5:14 pm

Run this but change it to your path you will get errors

https://your web site/homepage/blocks/summary/summaryBlock.php?errors
Image

Ambient Weather WS-5000
Ultrasonic Anemometer
Thermo-Hygrometer Sensor WH31E
Soil Moisture Sensor WH31SM
Lightning Detection WH31L

andyk1
Professional
Professional
Posts: 431
Joined: Tue Feb 27, 2018 10:56 pm
Location: OKLAHOMA, USA
Station model: Ecowitt WS90
Software: Meteobridge/GW2000B
Contact:

Re: php 8.0 summary5.7 not displaying

Post by andyk1 » Sat Sep 24, 2022 5:56 pm

WHOOOOOA Here's the result. But the block appears to work.


Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; moonPhase has a deprecated constructor in /homepages/37/d726071500/htdocs/wx/scripts/functions.php on line 1099

Notice: Undefined variable: moonToday in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 255

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 255

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Undefined index: next_1_hours in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678

Notice: Trying to access array offset on value of type null in /homepages/37/d726071500/htdocs/wx/homepage/blocks/summary/summaryBlock.php on line 1678
Today

Current conditions

Forecast

Station data

Tomorrow

Outlook

Today is Saturday 24 September. The Sun rises today at 7.19 AM and sets at 7.23 PM, which means the day is 2 minutes shorter than yesterday. Moon rise is at 5.55 AM, set at 7.08 PM. The current Moon illumination is 1.4% (waning crescent).

It is currently 82.5°F with a WSW wind blowing at 0.7 mph and gusts of 3.4 mph. So far no precipitation has been observed today. The current pressure is 30.00 inHg and steady. The humidity is now 48 % and dew point and apparent temperature 61.1°F and 85.8°F.

Temperatures this afternoon will be about 89°F and cloudy. from WSW with a speed of around 9 mph. In the evening today we expect cloudy and temperatures around 90°F. from WSW at 10 mph.

Tomorrow morning the forecasted weather condition is fair and temperatures around 87°F. from SSW with a speed of 5 mph. Later in the morning tomorrow, the temperatures are expected to decrease by approximately 11° to 76°F. from SSE with a speed of 5 mph. The temperatures in the afternoon should decrease by approximately 3° to 73°F and clear sky. from NNW with a speed of roughly 7 mph. Tomorrow evening and night we expect clear sky and temperatures will increase by about 12° to approximately 85°F. from NNE at 13 mph.

On Monday temperatures will range between 60 and 82°F. Clear sky early in the morning, then clear sky, clear sky later in the afternoon and clear sky towards the end of the day. No rain is forecasted. in the first half of the day from NNE of approximately 5 mph, then later in the day at a speed of around 4 mph from NW.

Then on Tuesday, the average temperature are forecasted to decrease to 70°F. Expected daily highs of approximately 78°F and lows 59°F, clear sky in the morning, clear sky in the afternoon and evening and then partly cloudy. early in the day from ENE of about 5 mph, then towards the end of the day at a speed of around 4 mph from ESE.

On Wednesday, the average temperature will increase by about 2° to approximately 72°F. Forecasted daily maximum 82°F and minimum 62°F, clear sky in the morning, fair in the afternoon and evening and then clear sky. early in the day from ESE of about 6 mph, then towards the end of the day at a speed of about 6 mph from ESE.

Even later on Thursday, the average temperature are forecasted to decrease by 2° to 70°F. Expected daily maximum 78°F and minimum 60°F, clear sky in the morning, fair later in the day and then cloudy. in the first half of the day from E of 9 mph, then later in the day at a speed of about 8 mph from SE.

Almost a week from now on Friday, the average temperature are going to drop by 2° to 68°F. Expected daily highs of around 77°F and lows 59°F, clear sky in the morning, fair towards the end of the day and then clear sky. in the first half of the day from SE of about 8 mph, then in the second half of the day at a speed of approximately 6 mph from SSE.

Week from today on Saturday, the average temperature are expected to rise about 1° reaching approximately 69°F. Expected daily highs of roughly 82°F and lows 56°F, clear sky in the morning, clear sky towards the end of the day and then clear sky. in the morning from ESE of around 4 mph, then in the second half of the day at a speed of roughly 5 mph from ENE.

So far the maximum temperature today has been 83.1°F and minimum 72.5°F, with an average of 76.5°F. This is 4.0°F more than yesterday, when the average was 72.5°F (max 92.8° and min 54.7°F). The long-term average for the station on this day is 72.6°F. Absolute maximum of 93.0°F was measured in 2012, while the absolute minimum in 2020 (53.6°F). Therefore so far, today is 4.0° above the long-term average for 24 September. Overall monthly maximum temperature so far was 97.3°, measured on the 21 at 4.20 PM. The minimum temperature for September 2022 is 50.7°, observed on the 12 at 5.05 AM. September 2022 with an average temperature of 76.3 °F is currently 2.3°F above the long-term average for September (74.0°F). The maximum temperature ever measured in September is 104.6°F and this was in 2012. In contrast, in 2022, the temperature dropped as low as 0.0°F.

Neither today nor yesterday there was any rain observed. Since the 1st of this month, the cumulative rainfall is 1.70 in. The maximum daily precipitation in September 2022 is 0.88 in, measured on the 4. In general, the average daily precipitation in September is 0.22 in and overall September average total precipitation is 6.43 in. This month's daily average of 0.07 in is therefore below the daily average 0.22 for September. Highest measured total rainfall in September is 50.26 in, which was in 2013. In contrast, the lowest total September precipitation was measured in 2011 when it was only 0.79 in. Maximum daily precipitation for this month is currently 5.59 in, a value measured on Sep 7, 2013,Sep 11, 2013.

Today's humidity ranges between 46.4 and 71.8 %. Yesterday's overall minimum was 33.1 and maximum 87.2 %. The average humidity in September 2022 is currently 65.7 %, while the average for this month in general is 65.7 %. For this day (24 September) in particular then, the general average is 62 % (today's average 60.8 %, yesterday's 62.3 %).

Lowest pressure observed today was 29.92 and highest 30.01 inHg. Yesterday it was between 29.89 and 30.08 inHg. The average pressure in September 2022 is currently 29.99 inHg, in general the long-term average for this month is 30.00 inHg. 24 September in particular has an average of 30.00 inHg (today's average 29.96 inHg, yesterday's 29.99 inHg).

Strongest wind gust today was 13.7 mph, observed at 9.05 AM. Yesterday it was 20.6 mph. The average wind speed in September 2022 is currently 2.5, with average wind gust being 6.2 mph, in general the long-term average for this month is 3.1 in case of the average wind speed, the average wind gust is 5.6 mph. 24 September in particular has an average wind speed of 2.8 mph and gust of 4.9 mph (today's average 2.7 mph for wind speed and 6.5 mph for wind gust, yesterday the average wind speed was 2.9 mph and wind gust 7.0 mph). The absolute highest wind gust measured this month so far has been 22.8 mph on 16 September at 5.00 PM, when looking at September as such, the maximum wind gust measured is 33.4 mph, value observed at 12.49 PM on 6 September 2010.

Tomorrow, on Sunday 25 September, the Sun will rise at 7.20 AM and set at 7.21 PM, which means the day is 3 minutes shorter than today. Moon rise tomorrow is at 6.57 AM and set at 7.34 PM.

The long-term average temperature for 25 September is 72.9°F (for today it is 72.6°F). The highest temperature ever measured on this day is 93.3°F (25-09-2019) and the absolute minimum observed since the beginning of measurements has been 52.3°F (25-09-2009). Apparent temperature ranges between 49.1°F and 100.9°F.

The average daily precipitation is 0.04 in, absolute maximum being 0.28 in (2016) and minimum 0.00 in (more occasions2008
2009
2010
2011
2013
2014
2019
2020
2021).

Humidity on 24 September in general is on average 61.7% and dew point 57.0°F. Wind speed average is 3.2 mph and highest recorded value for 25 September is 23.3 mph.

The long-term average temperature for next week is 70.2°F. The highest temperature ever measured during this week is 93.3°F (25-09-2019) and the absolute minimum measured since the beginning of measurements has been 45.9°F (more occasions27-09-2010
27-09-2010
27-09-2010). Highest apparent temperature recorded was as high as 100.9°F, on the other end of the scale the feels like temperature can drop down to even 43.5°F.

The average daily precipitation is 0.10 in, absolute maximum being 2.54 in (Sep 27, 2012) and minimum 0.00 in (more occasionsSep 25, 2008
Sep 26, 2008
Sep 27, 2008
Sep 28, 2008
Sep 30, 2008
Oct 1, 2008
Sep 25, 2009
Sep 26, 2009
Sep 27, 2009
Sep 28, 2009
Sep 29, 2009
Sep 30, 2009
Oct 1, 2009
Sep 25, 2010
Sep 26, 2010
Sep 27, 2010
Sep 28, 2010
Sep 29, 2010
Sep 30, 2010
Oct 1, 2010
Sep 25, 2011
Sep 26, 2011
Sep 27, 2011
Sep 28, 2011
Sep 29, 2011
Sep 30, 2011
Oct 1, 2011
Sep 28, 2012
Sep 29, 2012
Sep 30, 2012
Sep 25, 2013
Sep 26, 2013
Sep 27, 2013
Sep 28, 2013
Sep 29, 2013
Sep 30, 2013
Oct 1, 2013
Sep 25, 2014
Sep 26, 2014
Sep 27, 2014
Sep 28, 2014
Sep 29, 2014
Sep 30, 2014
Oct 1, 2014
Sep 27, 2015
Sep 28, 2015
Sep 29, 2015
Sep 30, 2015
Sep 26, 2016
Sep 28, 2016
Sep 29, 2016
Sep 30, 2016
Oct 1, 2016
Sep 29, 2017
Sep 30, 2017
Oct 1, 2017
Sep 28, 2018
Sep 29, 2018
Sep 30, 2018
Oct 1, 2018
Sep 25, 2019
Sep 27, 2019
Sep 29, 2019
Sep 30, 2019
Oct 1, 2019
Sep 25, 2020
Sep 26, 2020
Sep 27, 2020
Sep 28, 2020
Sep 29, 2020
Sep 30, 2020
Oct 1, 2020
Sep 25, 2021
Sep 26, 2021
Sep 27, 2021
Sep 28, 2021
Sep 29, 2021).

Humidity throughout the following 7 days in general is on average 62.0% and dew point 54.6°F. Average wind speed for this period is 2.8 mph with gusts of up to 33.4 mph.
Image

spd2612
Forecaster
Forecaster
Posts: 165
Joined: Thu Jan 23, 2020 4:00 pm
Location: Fort Myers
Station model: WS-5000/GW1100
Software: ECOWITT Plugin
Contact:

Re: php 8.0 summary5.7 not displaying

Post by spd2612 » Sat Sep 24, 2022 8:08 pm

Is that php8.0 or 8.1 And which version of the summary block are you using?
Image

Ambient Weather WS-5000
Ultrasonic Anemometer
Thermo-Hygrometer Sensor WH31E
Soil Moisture Sensor WH31SM
Lightning Detection WH31L

andyk1
Professional
Professional
Posts: 431
Joined: Tue Feb 27, 2018 10:56 pm
Location: OKLAHOMA, USA
Station model: Ecowitt WS90
Software: Meteobridge/GW2000B
Contact:

Re: php 8.0 summary5.7 not displaying

Post by andyk1 » Sat Sep 24, 2022 8:23 pm

No, it's php7.4 Can't get 8.0 or 8.1 to work.
Image

andyk1
Professional
Professional
Posts: 431
Joined: Tue Feb 27, 2018 10:56 pm
Location: OKLAHOMA, USA
Station model: Ecowitt WS90
Software: Meteobridge/GW2000B
Contact:

Re: php 8.0 summary5.7 not displaying

Post by andyk1 » Sat Sep 24, 2022 8:40 pm

Would love to learn one day how you do the time lapse. Software and camera.
Image

spd2612
Forecaster
Forecaster
Posts: 165
Joined: Thu Jan 23, 2020 4:00 pm
Location: Fort Myers
Station model: WS-5000/GW1100
Software: ECOWITT Plugin
Contact:

Re: php 8.0 summary5.7 not displaying

Post by spd2612 » Sat Sep 24, 2022 8:43 pm

Summaryblock is the only thing I can not get to work in PHP8.0
I am still beeting my head against the wall
If I can find another template I will change 7.4 is going out of service soon and I have to keep my servers up to date
I think someone has gotten it to work but they are not chiming in
Image

Ambient Weather WS-5000
Ultrasonic Anemometer
Thermo-Hygrometer Sensor WH31E
Soil Moisture Sensor WH31SM
Lightning Detection WH31L

andyk1
Professional
Professional
Posts: 431
Joined: Tue Feb 27, 2018 10:56 pm
Location: OKLAHOMA, USA
Station model: Ecowitt WS90
Software: Meteobridge/GW2000B
Contact:

Re: php 8.0 summary5.7 not displaying

Post by andyk1 » Sun Sep 25, 2022 11:45 am

Yep.
Image

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: php 8.0 summary5.7 not displaying

Post by davidefa » Tue Sep 27, 2022 4:07 pm

@spd2612
What provider are you using ( I see you are on IIS server )?
Image

spd2612
Forecaster
Forecaster
Posts: 165
Joined: Thu Jan 23, 2020 4:00 pm
Location: Fort Myers
Station model: WS-5000/GW1100
Software: ECOWITT Plugin
Contact:

Re: php 8.0 summary5.7 not displaying

Post by spd2612 » Tue Sep 27, 2022 4:10 pm

No provider I have my own racks 2019 windows server all my servers run on esxi 7 so they are in a virtual environment to
Image

Ambient Weather WS-5000
Ultrasonic Anemometer
Thermo-Hygrometer Sensor WH31E
Soil Moisture Sensor WH31SM
Lightning Detection WH31L

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: php 8.0 summary5.7 not displaying

Post by davidefa » Tue Sep 27, 2022 4:33 pm

Could you provide me an 'access' to your server ( a folder, a subdomain with ftp r/w access ) so I can test directly on your server?
Image

spd2612
Forecaster
Forecaster
Posts: 165
Joined: Thu Jan 23, 2020 4:00 pm
Location: Fort Myers
Station model: WS-5000/GW1100
Software: ECOWITT Plugin
Contact:

Re: php 8.0 summary5.7 not displaying

Post by spd2612 » Tue Sep 27, 2022 5:34 pm

I can give you ftp access will that help

I sent you a PM
Image

Ambient Weather WS-5000
Ultrasonic Anemometer
Thermo-Hygrometer Sensor WH31E
Soil Moisture Sensor WH31SM
Lightning Detection WH31L

spd2612
Forecaster
Forecaster
Posts: 165
Joined: Thu Jan 23, 2020 4:00 pm
Location: Fort Myers
Station model: WS-5000/GW1100
Software: ECOWITT Plugin
Contact:

Re: php 8.0 summary5.7 not displaying

Post by spd2612 » Tue Sep 27, 2022 10:30 pm

@Davidefa
Just realized you are in Italy I am in SW Florida and we have a major Hurricane bearing down on us and should be almost here when you get up
You should still be able to get to my server I do have backup generators
Image

Ambient Weather WS-5000
Ultrasonic Anemometer
Thermo-Hygrometer Sensor WH31E
Soil Moisture Sensor WH31SM
Lightning Detection WH31L

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: php 8.0 summary5.7 not displaying

Post by davidefa » Wed Sep 28, 2022 2:26 pm

Hope you are doing well ( quite windy today down there : - (

This is the error reported by curl ( when retrieving forecasts from met.no ):

Code: Select all

curl error=SSL certificate problem: unable to get local issuer certificate
This is due to the fact that you have a self signed ssl certificate ( added an option to disable this check )
It should be ok now:
https://hurricanepub.com/indexFull.php?block=summary
Image

andyk1
Professional
Professional
Posts: 431
Joined: Tue Feb 27, 2018 10:56 pm
Location: OKLAHOMA, USA
Station model: Ecowitt WS90
Software: Meteobridge/GW2000B
Contact:

Re: php 8.0 summary5.7 not displaying

Post by andyk1 » Wed Sep 28, 2022 3:39 pm

spd2612 wrote: Tue Sep 27, 2022 10:30 pm @Davidefa
Just realized you are in Italy I am in SW Florida and we have a major Hurricane bearing down on us and should be almost here when you get up
You should still be able to get to my server I do have backup generators
Have close friends and family in Ft Myers, Tampa, Ocala area. Am watching your site nearly constantly for the Live feed, Weather, Wind and Rain amounts. Am praying for all of you.
Image

spd2612
Forecaster
Forecaster
Posts: 165
Joined: Thu Jan 23, 2020 4:00 pm
Location: Fort Myers
Station model: WS-5000/GW1100
Software: ECOWITT Plugin
Contact:

Re: php 8.0 summary5.7 not displaying

Post by spd2612 » Wed Sep 28, 2022 3:50 pm

Thank you not sure what you mean, Its not self signed it's R-3 thru lets encrypt
But what ever! it does work
Thank you so much
I dont understand why it would go from URL: https://hurricanepub.com/homepage/block ... yBlock.php

And still work at URL:https://hurricanepub.com/indexFull.php?block=summary

I put it on the main page and ran setup works nicely

Oh and the eye is just coming in 2 mph short of a cat 5 (155MPH)and the largest most dangerous storm FL has had
Going to get real here very shortly
Image

Ambient Weather WS-5000
Ultrasonic Anemometer
Thermo-Hygrometer Sensor WH31E
Soil Moisture Sensor WH31SM
Lightning Detection WH31L

andyk1
Professional
Professional
Posts: 431
Joined: Tue Feb 27, 2018 10:56 pm
Location: OKLAHOMA, USA
Station model: Ecowitt WS90
Software: Meteobridge/GW2000B
Contact:

Re: php 8.0 summary5.7 not displaying

Post by andyk1 » Wed Sep 28, 2022 3:58 pm

I have always had trouble with let's encrypt. I ended up changing to a paid certificate through my host and it fixed that problem. I'm going to take a guess here and say you are using lets encrypt through an Asus router? What is your elevation out of curiosity.
Image

spd2612
Forecaster
Forecaster
Posts: 165
Joined: Thu Jan 23, 2020 4:00 pm
Location: Fort Myers
Station model: WS-5000/GW1100
Software: ECOWITT Plugin
Contact:

Re: php 8.0 summary5.7 not displaying

Post by spd2612 » Wed Sep 28, 2022 4:16 pm

My elevation is 8 feet
Yea I know thats bad

My Lets encrypt runs thru certify the web on a 2019 server
Image

Ambient Weather WS-5000
Ultrasonic Anemometer
Thermo-Hygrometer Sensor WH31E
Soil Moisture Sensor WH31SM
Lightning Detection WH31L

andyk1
Professional
Professional
Posts: 431
Joined: Tue Feb 27, 2018 10:56 pm
Location: OKLAHOMA, USA
Station model: Ecowitt WS90
Software: Meteobridge/GW2000B
Contact:

Re: php 8.0 summary5.7 not displaying

Post by andyk1 » Wed Sep 28, 2022 4:28 pm

spd2612 wrote: Wed Sep 28, 2022 4:16 pm My elevation is 8 feet
Yea I know that's bad
Yeah, That's bad. Whats a close lat-long if you don't mind. Watching the news in your area and your live cam. Praying for all of you.
Image

Post Reply