Author Topic: Weather Template and scripts from Leuven/Belgium/Europe  (Read 107546 times)

0 Members and 1 Guest are viewing this topic.

Offline IQUEBECS58

  • Member
  • *
  • Posts: 44
  • Forecaster
    • Météo St-Alphonse
Re: Weather Template and scripts from Leuven/Belgium/Europe
« Reply #700 on: February 10, 2017, 04:05:07 PM »
. . . shortened . . .

Thanks Wim,

Can you tell me where exactly i can check this out?

Ex: FTP Log from WD?
I am not running the 12 supported weather-programs anymore. But as far as I remember there was indeed an ftp log for the 5 minutes file.

The clientraw uploads use a separate ftp program with its own log, but there seems no problem with that.

Again 5 minutes upload always will have a few warnings every now and then, especially when it is busy on the server. On the computer-server your website is running, there are at least 10 other webservers for other domains asking for time also.  Especially FTP, having a lower priority and generating a lot of overhead, will have to wait when it is busy with normal HTTP website visitors.

You could set the upload in Wd to 4 minutes. that way there is an extra minute before you see a warning on the status page.

Wim

OK and where can i set the upload in WD If you remember. That is my last question. You was helpfull Wim and thank you very much.
Steven Villeneuve

Météo St-Alphonse
(Weather St-Alphonse)
CoCoRaHS:CAN-QC-5
WU-IQUEBECS58
Site de la foudre/ Lightning site:http://www.meteostalphonse.com/nexstorm/StormStation5NGX/stormstation.htm
Site web/Web site Leuven:http//www.meteostalphonse.com
Site web/Web site Meteotemplate:http//www.meteostalphonse.com/template
Courriel/Email: info@meteostalphonse.com

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1117
    • Support site Leuven Template and scripts
Re: Weather Template and scripts from Leuven/Belgium/Europe
« Reply #701 on: February 10, 2017, 04:22:39 PM »
It is a few hours more into nighttime over here then in Quebec, I hope this will be OK for now.
http://leuven-template.eu/dokuwiki28/doku.php?id=en:uploadwd

Wim
Vantage VUE with a WLIP used for https://weer.sluispark.be/
Vantage VP2 with a USB logger/Meteobridge for https://www.weerstation-herent.be/

Offline IQUEBECS58

  • Member
  • *
  • Posts: 44
  • Forecaster
    • Météo St-Alphonse
Re: Weather Template and scripts from Leuven/Belgium/Europe
« Reply #702 on: February 10, 2017, 04:39:01 PM »
It is a few hours more into nighttime over here then in Quebec, I hope this will be OK for now.
http://leuven-template.eu/dokuwiki28/doku.php?id=en:uploadwd

Wim

Ok cool, i will figure this out :)

Once again, thank you for your help!

Steven
Steven Villeneuve

Météo St-Alphonse
(Weather St-Alphonse)
CoCoRaHS:CAN-QC-5
WU-IQUEBECS58
Site de la foudre/ Lightning site:http://www.meteostalphonse.com/nexstorm/StormStation5NGX/stormstation.htm
Site web/Web site Leuven:http//www.meteostalphonse.com
Site web/Web site Meteotemplate:http//www.meteostalphonse.com/template
Courriel/Email: info@meteostalphonse.com

Offline PernicketyPete

  • Member
  • *
  • Posts: 3
    • Chilthorne Weather
Re: Weather Template and scripts from Leuven/Belgium/Europe
« Reply #703 on: February 10, 2017, 06:01:51 PM »
Hi All
I have been directed here by Jachym. I hope I'm in the right place.
I have run into some problems when trying to upload historic data to meteotemplate. I am getting a "406 Not Acceptable!
An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security." Screen. I have had a google around and found this.

It would seem l need to edit my .htaccess file. Please see link https://www.tipsandtricks-hq.com/apache-mod-secruity-update-how-to-fix-error-406-or-not-acceptable-issue-259
Which method should I use?

At the moment when viewed in notepad .htaccess file is just one line, this is it -

# Use PHP5.4 as default
AddHandler application/x-httpd-php54 .php
DirectoryIndex index.html index.shtml index.xhtml index.wml index.perl index.pl index.plx index.ppl index.cgi index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml index.htm home.htm default.htm index.fcgi default.html
# -FrontPage-


<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthUserFile /home/chiltho1/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/chiltho1/public_html/_vti_pvt/service.grp
ErrorDocument 404 /404.shtml

AuthName chilthorneweather.co.uk
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

If I was to edit this file with either of the two methods mentioned on the tipsandtricks website, where would I put those lines of code in relation to what's there already?
Sorry if this sounds a really dumb question but I'm always a bit nervous about editing stuff, especially when I have no idea what it's for or what it does. I don't want to break my site.

I have noticed that I also have a file called .htaccess.predirectoryindex this is it's contents.

# -FrontPage-


<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthUserFile /home/chiltho1/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/chiltho1/public_html/_vti_pvt/service.grp
ErrorDocument 404 /404.shtml

AuthName chilthorneweather.co.uk
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

Maybe this would be the one to edit.??

I hope someone can point me in the right direction on this one

Cheers Pete


Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1117
    • Support site Leuven Template and scripts
Re: Weather Template and scripts from Leuven/Belgium/Europe
« Reply #704 on: February 11, 2017, 03:10:42 AM »
@ PernicketyPete

I think you are in the right forum as one can discuss about all topics here on the wxforum.net.
But for sure you are  in the wrong discussion. This discussion is about another template. Not about Apache and its problems.

Do a search (box upper right) for htaccess and you find multiple discussions about htaccess, mostly in the Weather Web Site Help
Please make a new topic there with a descriptive subject title like "How to solve 406 Not Acceptable  in htaccess"and people will read your question and help to find answers. 

Vantage VUE with a WLIP used for https://weer.sluispark.be/
Vantage VP2 with a USB logger/Meteobridge for https://www.weerstation-herent.be/

Offline stewart45

  • Contributor
  • ***
  • Posts: 114
    • Newlands Weather Station
Re: Weather Template and scripts from Leuven/Belgium/Europe
« Reply #705 on: April 18, 2017, 04:38:32 AM »
Bit of help needed, trying to setup the HTTP service on Meteobridge but keep getting error messages when testing, the FTP Event upload works fine, doubly checked everything, maybe a fresh pair of eyes could spot something I've missed

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1117
    • Support site Leuven Template and scripts
Re: Weather Template and scripts from Leuven/Belgium/Europe
« Reply #706 on: April 18, 2017, 05:03:44 AM »
Bit of help needed, trying to setup the HTTP service on Meteobridge but keep getting error messages when testing, the FTP Event upload works fine, doubly checked everything, maybe a fresh pair of eyes could spot something I've missed
At this moment (2017-04-18 11:00 CEST), all links to your site result in 404 not found error.
Test script PHP => http://www.weatherwatcher.co/weather28/printSite.php
The .txt files in scriptsMB/ => http://www.weatherwatcher.co/weather28/scriptsMB/realtimeGet.txt
The main start page => http://www.weatherwatcher.co/weather28/index.php

But all work when NOT using weather28/
Test script PHP => http://www.weatherwatcher.co/printSite.php
The .txt files in scriptsMB/ => http://www.weatherwatcher.co/scriptsMB/realtimeGet.txt
The main start page => http://www.weatherwatcher.co/index.php

Probably you modified your cPanel settings to skip the weather28/ folder in your http links.
You have to do that in your Meteobridge links also.

IMPORTANT:
All your template settings are still the original ones, so it is initial settings => Weather Display
Please follow the install sequence step-by-step by FIRST uploading your modified settings in step 4 and testing with the demo files
AFTER that start uploading your own files in step 5.


Wim


« Last Edit: April 18, 2017, 05:10:33 AM by wvdkuil »
Vantage VUE with a WLIP used for https://weer.sluispark.be/
Vantage VP2 with a USB logger/Meteobridge for https://www.weerstation-herent.be/

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1117
    • Support site Leuven Template and scripts
Re: Weather Template and scripts from Leuven/Belgium/Europe
« Reply #707 on: April 20, 2017, 05:20:02 AM »
Still waiting for the NOAA final changes of the new point-click forecast.  Cut-over date now April 24, 2017.

All forecast scripts are ready to test and can be downloaded at the Leuven-Template support site: http://support.leuven-template.eu/

Stand-alone / Saratoga-template versions  available at: http://www.weerstation-leuven.be/northam/noaafct/demo.php?plain&lang=en

FIRST  backup / copy or zip  your current noaafct/ folder before you start testing the new version.

Wim
Vantage VUE with a WLIP used for https://weer.sluispark.be/
Vantage VP2 with a USB logger/Meteobridge for https://www.weerstation-herent.be/