What’s wrong here?
this comes up when I click on the Wundeground report
/Mark H
@ALL Always post the link to your website
@ALL When having problems first switch on the error reporting which normally is switched off.
The problem the OP refers to has nothing to do with WU-Reports, but it shows there as default those scripts have error-reporting switched on.
It is a general problem on all pages on the website as the load-files script can not access a folder to store the wu-data.
https://www.vejret-balslev.dk/pwsWD/PWS_load_files.php?test
Warning: filemtime() [function.filemtime]: stat failed for /var/www/vejret-balslev.dk/public_html/pwsWD/chartswudata/rzerc4d4YMD.txt
in /var/www/vejret-balslev.dk/public_html/pwsWD/PWS_load_files.php on line 65
@Mark7000 You have selected
Probably if you restore the chartswudata folder the load-files script can store the data.
Succes,
Wim
How do I recover the chartswudata file?
That chartswudata/ is an empty folder from the original download.
If you do not have the .zip any more, download the full version again, unzip at your desktop and upload the empty folder to your website.
Succes,
Wim
There is a lot of information here on this forum.
Sorry I can not be clearer then this.
Succes,
Wim
I see no error-messages when I visit and test it on your website.
I have no idea yet why it is not working at your phone.
I attach a screenshot of the scripts running stand-alone and in the dashboard.
Full error-reporting was set to on in both cases
. . ./pwsWD/_test.php?test=PWS_wureports.php&lang=en-uk#
. . .pwsWD/_test.php?frame=Reports_at_WU&theme=dark&lang=en-uk&units=scandinavia
Try switching to, for example, “season detail” and you will see that the error appears.
ToDo
I will take a look later today / tomorrow why the notices appear by checking your downloaded data.
You will have to make sure that tyhe scripts can access the pwsWD/chartswudata/ folder
Succes,
Wim
<br />
<b>Warning</b>: filemtime() [<a href='http://php.net/manual/en/function.filemtime'>function.filemtime</a>]:
stat failed for /var/www/vejret-balslev.dk/public_html/pwsWD/chartswudata/rzerc4d4YMD.txt in
<b>/var/www/vejret-balslev.dk/public_html/pwsWD/PWS_load_files.php</b> on line <b>65</b><br />
<br />
<b>Warning</b>: filemtime() [<a href='http://php.net/manual/en/function.filemtime'>function.filemtime</a>]:
stat failed for /var/www/vejret-balslev.dk/public_html/pwsWD/chartswudata/rzerc4d4YM.txt in
<b>/var/www/vejret-balslev.dk/public_html/pwsWD/PWS_load_files.php</b> on line <b>65</b><br />
<br />
<b>Warning</b>: filemtime() [<a href='http://php.net/manual/en/function.filemtime'>function.filemtime</a>]:
stat failed for /var/www/vejret-balslev.dk/public_html/pwsWD/chartswudata/rzerc4d4Y.txt in
<b>/var/www/vejret-balslev.dk/public_html/pwsWD/PWS_load_files.php</b> on line <b>65</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /var/www/vejret-balslev.dk/public_html/pwsWD/PWS_load_files.php:65)
in <b>/var/www/vejret-balslev.dk/public_html/pwsWD/PWS_index2.php</b> on line <b>101</b><br />
<br />
<b>Notice</b>: Undefined index: wind_ten_min_gust_mph in <b>/var/www/vejret-balslev.dk/public_html/pwsWD/PWS_livedata.php</b> on line <b>1149</b><br />
<br />
<b>Notice</b>: Undefined index: wind_ten_min_avg_mph in <b>/var/www/vejret-balslev.dk/public_html/pwsWD/PWS_livedata.php</b> on line <b>1150</b><br />
<br />
<b>Notice</b>: Undefined index: wind_degrees in <b>/var/www/vejret-balslev.dk/public_html/pwsWD/PWS_livedata.php</b> on line <b>1157</b><br />
<br />
<b>Notice</b>: Undefined index: windchill_f in <b>/var/www/vejret-balslev.dk/public_html/pwsWD/PWS_livedata.php</b> on line <b>1192</b><br />
<br />
<b>Notice</b>: Undefined index: windchill_day_low_f in <b>/var/www/vejret-balslev.dk/public_html/pwsWD/PWS_livedata.php</b> on line <b>1193</b><br />
<br />
<b>Notice</b>: Undefined index: windchill_day_low_time in <b>/var/www/vejret-balslev.dk/public_html/pwsWD/PWS_livedata.php</b> on line <b>1194</b><br />
<br />
<b>Notice</b>: Undefined index: wind_mph in <b>/var/www/vejret-balslev.dk/public_html/pwsWD/PWS_livedata.php</b> on line <b>1280</b><br />
<br />
<b>Notice</b>: Undefined index: wind_ten_min_avg_mph in <b>/var/www/vejret-balslev.dk/public_html/pwsWD/PWS_livedata.php</b> on line <b>1281</b><br />
<br />
<b>Notice</b>: Undefined index: wind_ten_min_gust_mph in <b>/var/www/vejret-balslev.dk/public_html/pwsWD/PWS_livedata.php</b> on line <b>1282</b><br />
<br />
<b>Notice</b>: Undefined index: wind_degrees in <b>/var/www/vejret-balslev.dk/public_html/pwsWD/PWS_livedata.php</b> on line <b>1306</b><br />
Weatherlink .com is not reporting any windspeed for your station.
Only the month HL values are there, check yourself.
Probably your startion wind-sensor failed.
No thanks for wasting my time.
Wim
P.S. At 09:30 UTC this is the data for your station:
[credit] => Davis Instruments Corp.
[credit_URL] => http://www.davisnet.com
[disclaimer_url] => http://www.davisnet.com/about/terms.asp
[copyright_url] => http://www.davisnet.com/about/terms.asp
.
.
.
[dewpoint_c] => 10.0
[dewpoint_f] => 50.0
[dewpoint_string] => 50.0 F (10.0 C)
[heat_index_c] => 12.2
[heat_index_f] => 54.0
[heat_index_string] => 54.0 F (12.2 C)
[location] => Fredericia, Region of Southern Denmark, Denmark
[latitude] => 55.5648658
[longitude] => 9.7634854
[observation_time] => Last Updated on Oct 21 2024, 11:19 am CEST
[observation_time_rfc822] => Mon, 21 Oct 2024 11:19:40 +0200
[pressure_in] => 30.041
[pressure_mb] => 1017.3
[pressure_string] => 1017.3 mb
[relative_humidity] => 88
[station_id] => Vejretfredericia
[temp_c] => 12.1
[temp_f] => 53.7
[temperature_string] => 53.7 F (12.1 C)
.
.
.
[davis_current_observation] => Array
[station_name] => Fredericia, Kongensgade
[observation_age] => 85
[dewpoint_day_high_f] => 53
[uv_index_month_high] => 5.8
[uv_index_year_high] => 6.3
[wind_month_high_mph] => 48.0
[wind_year_high_mph] => 48.0
[windchill_month_low_f] => 41
[windchill_year_low_f] => 22
And a screenshot with all the data if the problem is intermittent