Author Topic: Need help. look here  (Read 352 times)

0 Members and 1 Guest are viewing this topic.

Offline stonefox1958

  • Member
  • *
  • Posts: 15
    • Viborg vejr
Need help. look here
« on: March 12, 2019, 09:52:38 AM »
I have some tags in the top of my site, and don't know how to fix it ?

Is WU-forecast.php  dead ?

my site : www.steenmikkelsen.dk/vejr


Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 7062
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Need help. look here
« Reply #1 on: March 12, 2019, 12:20:17 PM »
It's not quite dead yet, but is expected to die fully by 21-Mar-2019 when the old WU-API is discontinued.

You should update your site to use DarkSky (DS-forecast.php) or if you submit data to WeatherUnderground, you can get a new TWC/WU API key to use the WC-forecast.php script.

The WU-forecast.php script is now deprecated since folks will not be able to use it when the original API is shutdown.

Running http://www.steenmikkelsen.dk/vejr/check-fetch-times.php?show=versions shows you need a bunch of updates since 17-Aug-2016 for Base-World, WD-plugin  -- I suggest you do the updates.  The DS-forecast.php and WC-forecast.php script are included in the updates.

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline stonefox1958

  • Member
  • *
  • Posts: 15
    • Viborg vejr
Re: Need help. look here
« Reply #2 on: March 13, 2019, 01:14:50 PM »
How much do I need to enter and change manually after the update?

How do I easily run this update?

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 7062
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Need help. look here
« Reply #3 on: March 13, 2019, 01:33:31 PM »
If you get your updates from the update tool page, there is an enclosed README file in the .zip that contains instructions for what to do with each file included.  Most are just 'replace old with new file'.  Some are marked with 'replace old with new AFTER CUSTOMIZATION', but they are few in number. 

The details on how to maintain your site are at the bottom of the page https://saratoga-weather.org/wxtemplates/maint.php
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline stonefox1958

  • Member
  • *
  • Posts: 15
    • Viborg vejr
Re: Need help. look here
« Reply #4 on: March 14, 2019, 05:26:32 PM »
I have make the update but have some problems

Questions :
Settings.php
line 168
original : $SITE['uomPerHour'] = '/hr';
Change to : $SITE['uomPerHour'] = '/time'; ????

++------------------------- 
 
Question :
What shall I change in the file "Footer.php" ?

++-------------------------

Question :

Se image.
Top :
All the files i the folder "webfiles" is up to date, but the data on the website is all wrong  - Why ?

There can I change the width of the site ?

Some old




Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 7062
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Need help. look here
« Reply #5 on: March 14, 2019, 09:33:37 PM »
Yes to Change to : $SITE['uomPerHour'] = '/time';

You're free to add stuff to your footer.php to appear on all pages on your site.

I see you fixed ajaxWDwx.js to have:

var clientrawFile = '/vejr/webfiles/clientraw.txt'; // location of clientraw.txt relative to this page on website
 so it points to the URL path of the clientraw.txt file.  The AJAX updates are now happening.
and in Settings-weather.php, the location of the WD uploads is set to ./webfiles/ also. 

Your site appears to be working properly as shown in the wxstatus.php page.

Good job with the updates!   =D>
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline stonefox1958

  • Member
  • *
  • Posts: 15
    • Viborg vejr
Re: Need help. look here
« Reply #6 on: March 15, 2019, 09:28:35 AM »
I don't have the "Wind rose" have can I get i back ?


Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 7062
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Need help. look here
« Reply #7 on: March 15, 2019, 06:48:59 PM »
The wind-rose and the other graphics do not currently work with CumulusMX -- only with Cumulus 1.9.4 -- I'll (eventually) get around to using the Highcharts with the JSON feeds for that with the Cumulus-plugin.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline stonefox1958

  • Member
  • *
  • Posts: 15
    • Viborg vejr
Re: Need help. look here
« Reply #8 on: March 16, 2019, 07:54:48 AM »
Sorry, But I don't understand it

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 7062
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Need help. look here
« Reply #9 on: March 16, 2019, 11:06:47 AM »
Oops... sorry, I'd thought you were using Cumulus.  Looking at your site again, I see you are using Weather-Display.
The wind-rose is shown as http://www.steenmikkelsen.dk/vejr/webfiles/dirplot.gif on your site. 
You will need to check with Brian as to why data is not shown on that plot.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline stonefox1958

  • Member
  • *
  • Posts: 15
    • Viborg vejr
Re: Need help. look here
« Reply #10 on: March 16, 2019, 02:24:28 PM »
Thanks for your fast suply..

If you look at this URL, it the URL after I update :
http://www.steenmikkelsen.dk/vejr/

And This is the old website before update, there the Wind Rose works perfect.
http://www.steenmikkelsen.dk/vejr-old/





Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 7062
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Need help. look here
« Reply #11 on: March 16, 2019, 02:48:18 PM »
Maybe I'm not seeing exactly which Wind Rose display you're referring to.

Both the wxtrends.php pages show a Wind Rose
old: http://www.steenmikkelsen.dk/vejr-old/webfiles/dirplot.jpg
new: http://www.steenmikkelsen.dk/vejr/webfiles/dirplot.jpg

which appear identical.  There are small white dots in the lower-right area which are probably data points.  The background graphic looks quite different from my dirplot.gif on my site .. are you post-processing the image before upload or is Weather-Display just creating that image for you and uploading it.  If the latter, it's up to Brian to help resolve.  If the former, your post-processing script may be the issue.

To be specific, what is the URL on your site that shows the Wind Rose .. I'd just assumed it was the wxtrends.php page but it may not be that one.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline stonefox1958

  • Member
  • *
  • Posts: 15
    • Viborg vejr
Re: Need help. look here
« Reply #12 on: March 17, 2019, 06:46:15 AM »
Hmm.
I have found a solution. Thanks for your help.   
« Last Edit: March 17, 2019, 12:46:01 PM by stonefox1958 »