Author Topic: Missing Ajax Dashboard data  (Read 1099 times)

0 Members and 1 Guest are viewing this topic.

Offline andersondj

  • Member
  • *
  • Posts: 6
    • East Leake Weather
Missing Ajax Dashboard data
« on: July 23, 2016, 06:56:38 PM »
My Ajax dashboard (index.php) display has suddenly started being presented without any data. The testtags.php file is being uploaded to my web server and contains current data values. The index.php source shows the AJAX gizmo script but does not contain any embedded data. Could anyone suggest what I need to do to get the current data embedded in the dashboard web page?

David Anderson, Loughborough, UK

Offline ea1hmy

  • Contributor
  • ***
  • Posts: 120
    • meteotorrelavega
Re: Missing Ajax Dashboard data
« Reply #1 on: July 24, 2016, 03:28:58 AM »
Hello
first link is wrong to spare one W

http://wwww.eastleake-weather.org.uk/

I think that weather does not generate display data
Please check your link
http://www.eastleake-weather.org.uk/wxstatus.php


Weather-Display realtime    NOT Current    0:00:18    > 0:00:15
24/07/2016 08:28
Weather-Display FTP    NOT Current    0:07:02    > 0:05:15
24/07/2016 08:21
Weather-Display weather data    NOT Current    145951:28:25    > 0:05:15
« Last Edit: July 24, 2016, 03:30:57 AM by ea1hmy »

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: Missing Ajax Dashboard data
« Reply #2 on: July 24, 2016, 04:49:27 AM »
Hello
first link is wrong to spare one W

http://wwww.eastleake-weather.org.uk/

I think that weather does not generate display data
Please check your link
http://www.eastleake-weather.org.uk/wxstatus.php


Weather-Display realtime    NOT Current    0:00:18    > 0:00:15
24/07/2016 08:28
Weather-Display FTP    NOT Current    0:07:02    > 0:05:15
24/07/2016 08:21
Weather-Display weather data    NOT Current    145951:28:25    > 0:05:15
@andersondj
Could you please post a copy of your testtags.php?  Either a zip or a renamed version testtags.php.txt would help.
The one in the root  gives a 500 server error when displaying the contents of the file  http://www.eastleake-weather.org.uk/testtags.php?sce=view  .

That indicates that the testtag.php file is corrupt,  assuming that the location of your file is the root.

The wxstatus scripts do not read testtags.php, they assume that the $date and $time fields are correctly loaded from testtags.php.
Code: [Select]
  // check the internal date of the tags file
  $chkdate = fixup_date($date) . ' ' . fixup_time($time); // handle all formats to make standard
  print "<!-- ".$SITE['WXtags']." internal update date time='$date $time' fixed='$chkdate' -->\n";
what results in
Code: [Select]
<!-- testtags.php internal update date time=' ' fixed='2000-00-00 ' -->

Wim
« Last Edit: July 24, 2016, 05:02:47 AM by wvdkuil »

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: Missing Ajax Dashboard data
« Reply #3 on: July 24, 2016, 05:12:15 AM »
@andersondj
There are other errors also:
Code: [Select]
Request URL:http://www.eastleake-weather.org.uk/clientraw.txt?1469351049552
Request Method:GET
Status Code:403 Forbidden
Remote Address:109.152.123.87:80
This signals that reading http://www.eastleake-weather.org.uk/clientraw.txt  results in an error.
Code: [Select]
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403

So the realtime updates by ajaxWDwx.js  can not be displayed as the file with the data can not be read from within your browser.
When testtags is corrupt there is normally an older cached version displayed. Or at least the realtime data is displayed.
They are all missing or inaccessible.
Wim


Offline andersondj

  • Member
  • *
  • Posts: 6
    • East Leake Weather
Re: Missing Ajax Dashboard data
« Reply #4 on: July 24, 2016, 05:32:25 AM »
Thank you Vim for your assistance. I have checked the permissions on my webserver and they did not allow write permissions. I have now changed them to allow write which has solved my problem. Once again, thanks for your help.

David


 

anything