Miscellaneous Debris > Tech Corner
check-fetch-times.php
jachen:
Hi
Cannot interpret the result below runnin g check-fetch-times.php:
URL: https://api.weather.com/v3/wx/forecast/daily/5day?format=json&units=m&language=en_EN&apiKey=-redacted-&geocode=
Cache: ./cache/WC-forecast-0-m-en.txt
curl fetching 'https://api.weather.com/v3/wx/forecast/daily/5day?format=json&units=m&language=en_EN&apiKey=-redacted-&geocode='
HTTP stats: RC=400 dest=2a02:26f0:f3:59b::3282 port=443 (from sce=2a00:1128:1:1::18:194)
Times: dns=0.003 conn=0.003 pxfer=0.165 get=0.106 total=0.271 secs
headers returned:
HTTP/2 400
Any ideas?
Jasiu:
Can you post a link to your website?
jachen:
https://meteo.widen-online.ch/
Jasiu:
1)
view-source:https://meteo.widen-online.ch/check-fetch-times.php<b>Notice</b>: Undefined index: WUID = IAARGAUW3 in <b>/home/httpd/vhosts/widen-online.ch/meteo.widen-online.ch/Settings.php</b> on line <b>180</b><br />
Line 180 of Settings.php (https://meteo.widen-online.ch/check-fetch-times.php?show=settings)
--- Code: ---$SITE['WUID = IAARGAUW3']; // your Wunderground PWS ID
--- End code ---
This should be:
--- Code: ---$SITE['WUID'] = 'IAARGAUW3'; // your Wunderground PWS ID
--- End code ---
2) You are running an old version of Settings.php. Download the latest version and merge your changes with it.
jachen:
Thank you Sir!
Did not realize Settings.php updates since check-fetch-times.php?show=versions did not indicate as 'not current'.
But you are right. Should be 1.05.
What is easiest way to merge? Any recommendations?
Navigation
[0] Message Index
[#] Next page
Go to full version