Author Topic: problem with adding Wildwood detail pages  (Read 1284 times)

0 Members and 1 Guest are viewing this topic.

Offline ANPweather

  • Contributor
  • ***
  • Posts: 134
    • Anthem North Parkside, AZ
problem with adding Wildwood detail pages
« on: July 28, 2018, 12:43:38 PM »
I'm trying to add these to my site. I've corrected (hopefully) the WD settings to create/upload the noaa and climatedata files and manually recreated/uploaded the missing files.

Now I'm left with no data showing up except for a limited amount of data for today. Obviously I'm still missing something.

http://www.azjerry.com/ANPW/wxtempdetail.php?

Davis Vantage Vue, Davis Pro 2 Console with Wifi Logger
Weather Display software
WU: KAZNEWRI17
PWS: ANTHEMNP
CWOP: EW7526

Offline Murry Conarroe

  • Contributor
  • ***
  • Posts: 143
    • Wildwood Weather
Re: problem with adding Wildwood detail pages
« Reply #1 on: July 28, 2018, 03:13:47 PM »
The problem will will be with the path to the noaa report files.
The humidity report, which uses the climatedataout files, is working okay.

In the wxreport-settings.php file, you have
Code: [Select]
$path_dailynoaa = $SITE['NOAAdir'];   // path to NOAA reports
$path_climatedata = "./";           # WD only -- Location of climatedataout*.html files

Verify that you have  $SITE['NOAAdir'] set correctly in the Settings-weather.php file.
Or set the $path_dailynoaa value to the same as you have for $path_climatedata.
Murry

Offline ANPweather

  • Contributor
  • ***
  • Posts: 134
    • Anthem North Parkside, AZ
Re: problem with adding Wildwood detail pages
« Reply #2 on: July 28, 2018, 07:57:19 PM »
Hmmm. I don't seem to have anyplace that sets $SITE['NOAAdir']. I've added it to settings-weather.php  Doesn't seem to have helped temp, rain, etc.

Humidity is working OK now. I re-created/uploaded all the climatedataout files back to the start in July, 2015.  There are a couple of data holes where I had PC problems and wasn't watching as close as I should have.  if possible, need to have WD email me a daily status of some sort.

Davis Vantage Vue, Davis Pro 2 Console with Wifi Logger
Weather Display software
WU: KAZNEWRI17
PWS: ANTHEMNP
CWOP: EW7526

Offline Murry Conarroe

  • Contributor
  • ***
  • Posts: 143
    • Wildwood Weather
Re: problem with adding Wildwood detail pages
« Reply #3 on: July 28, 2018, 08:47:44 PM »
In the wxreports-settings.php file change
Code: [Select]
$path_dailynoaa = $SITE['NOAAdir'];
to

Code: [Select]
$path_dailynoaa = "./";
Murry

Offline ANPweather

  • Contributor
  • ***
  • Posts: 134
    • Anthem North Parkside, AZ
Re: problem with adding Wildwood detail pages
« Reply #4 on: July 28, 2018, 08:59:30 PM »
Didn't help.

Davis Vantage Vue, Davis Pro 2 Console with Wifi Logger
Weather Display software
WU: KAZNEWRI17
PWS: ANTHEMNP
CWOP: EW7526

Offline Murry Conarroe

  • Contributor
  • ***
  • Posts: 143
    • Wildwood Weather
Re: problem with adding Wildwood detail pages
« Reply #5 on: July 29, 2018, 10:05:29 AM »
I suspect you have another script on your site that is overriding a setting used by the detail/summary scripts.

To verify, put the two files in the attached zip in the same folder as the detail/summary scripts. They will put the detail/summary scripts in 'standalone' mode where they will ignore all other scripts. After trying the detail scripts in the standalone mode, let me know if they worked or not. To get out of standalone mode, just rename the nonsaratogatemplate.txt file to something else (or delete it).
Murry

Offline ANPweather

  • Contributor
  • ***
  • Posts: 134
    • Anthem North Parkside, AZ
Re: problem with adding Wildwood detail pages
« Reply #6 on: July 29, 2018, 02:35:51 PM »
That fixed it, sorta. For now I'm leaving it in standalone mode.

One other problem I've noticed: If I go to the daily page, the Other Years drop down defaults to 2018. That's fine for a start. If I change to another year, the data is displayed for that year. But, the drop down is still on 2018, not the selected year. This is a problem because if I click on another button (say rain instead of temperature), I get the data from 2018 and have to re-select the other year again.

The sorta comes in because the detail page completely takes over the displayed web page, hiding/replacing my standard web page.
« Last Edit: July 29, 2018, 02:44:29 PM by azjerry »

Davis Vantage Vue, Davis Pro 2 Console with Wifi Logger
Weather Display software
WU: KAZNEWRI17
PWS: ANTHEMNP
CWOP: EW7526

Offline Murry Conarroe

  • Contributor
  • ***
  • Posts: 143
    • Wildwood Weather
Re: problem with adding Wildwood detail pages
« Reply #7 on: July 29, 2018, 03:29:21 PM »
This is what I expected. Someone had a similar problem where the path variable to the noaa reports were being overwritten by another script. I made a change back in 2016 to use a more unique variable name. But somewhere between then and now that change disappeared from the download zip. I have re-uploaded the detail/summary zip so you can download the corrected version now. Once you do that, all should work okay in the non-standalone mode.
Murry

Offline ANPweather

  • Contributor
  • ***
  • Posts: 134
    • Anthem North Parkside, AZ
Re: problem with adding Wildwood detail pages
« Reply #8 on: July 29, 2018, 07:42:02 PM »
Much better. Everything looks good except there is no daily wind data for any year. Monthly and seasonal seem to be fine. Change back to standalone mode and daily wind data displays fine.

Other year still defaults to 2018. This is a separate problem.

Davis Vantage Vue, Davis Pro 2 Console with Wifi Logger
Weather Display software
WU: KAZNEWRI17
PWS: ANTHEMNP
CWOP: EW7526

Offline Murry Conarroe

  • Contributor
  • ***
  • Posts: 143
    • Wildwood Weather
Re: problem with adding Wildwood detail pages
« Reply #9 on: July 30, 2018, 07:28:32 AM »
The wxwinddetail script was inadvertently left out of the download zip.
I have included it in the attached zip.

The default year has always been the current year since the detail/summary scripts were created 8 years ago. You are the first to report this as a 'problem'.
Murry

Offline ANPweather

  • Contributor
  • ***
  • Posts: 134
    • Anthem North Parkside, AZ
Re: problem with adding Wildwood detail pages
« Reply #10 on: July 30, 2018, 01:28:40 PM »
Wind detail is fixed. Thanks.

As for the "problem", if no one else thinks it's a problem, I can certainly live with that.

Davis Vantage Vue, Davis Pro 2 Console with Wifi Logger
Weather Display software
WU: KAZNEWRI17
PWS: ANTHEMNP
CWOP: EW7526

 

anything