cloudy cloudy

Author Topic: ***closed*** weather34 for WeatherDisplay (clientraw and WDapi)  (Read 23556 times)

0 Members and 1 Guest are viewing this topic.

Offline Tlowe

  • Posts: 157
  • Minneapolis, MN, US
  • OS/Browser:
  • Win NT 10.0
  • Chrome 73.0.3683.86
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #450 on: April 06, 2019, 01:30:05 PM »
Thanks Wim,  I had tried permissions at 755 on the file mentioned in the error, but not all. I set the folder and all contents to 755, and it works, maps an all.

Thanks!!!!!!!!!!!!!!!!!

With almost all website-providers, the permissions  and the owner for the folders and scripts are set correctly when you upload the complete pws folder.

But in your case: https://www.loweprofile.com/pws2/nws-alerts-142/NWS-alerts_read_me.html  => not allowed to display either!
That is an html file. So this is a permission error.
  • check the date of the files in that folder. Are they newly created? Or still the ones from the download? The scripts need execution permission.
  • change the permissions of that readme file and see what permission works.
  • check the permissions of the pws2/nws-alerts-142/ with your ftp program and set the permissions for the folder AND the contents to 755.
Success,
Wim

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,348
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 73.0.3683.86
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #451 on: April 11, 2019, 12:52:36 PM »
The April version is online for download at http://wd34.weather-template.com/
And I also added a new topic to post your questions for this release in.

Wim
« Last Edit: April 11, 2019, 12:55:11 PM by wvdkuil »
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline bitsostring

  • Posts: 977
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #452 on: April 16, 2019, 11:09:52 AM »
Found a Serbian flag sr.svg file (in an old version of w34) to replace the current sr.png. Unzip, add it to /img/flags/ directory and change line 149 of w34_menu.php from

Code: [Select]
<a href="index.php?lang=sr"><img src="img/flags/sr.png"  title="Serbian"      width="25px" height="15px"></a>&nbsp;

to
Code: [Select]
<a href="index.php?lang=sr"><img src="img/flags/sr.svg"  title="Serbian"      width="25px" height="25px"></a>&nbsp;

I presume this (or something similar) would work in beta and the new release.

It's meant to be fun. . .

Offline bitsostring

  • Posts: 977
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #453 on: April 16, 2019, 01:30:44 PM »
Yes, it needs more as the scripts do not know about the 'sr' language. It is on the f

Want to add Torjan's Norwegian translation to my original version. I've added the translation file lang_no.txt to /languages, and the flag link to w34_menu.php, but how many/which other scripts need changing?

This is not an important project, so if you tell me it's difficult I won't bother!

It's meant to be fun. . .

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,348
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 73.0.3683.86
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #454 on: April 16, 2019, 04:28:21 PM »
Want to add Torjan's Norwegian translation to my original version. I've added the translation file lang_no.txt to /languages, and the flag link to w34_menu.php, but how many/which other scripts need changing?

This is not an important project, so if you tell me it's difficult I won't bother!
The allowed languages : $lngsArr array in w34_common.php

Wim
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline bitsostring

  • Posts: 977
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #455 on: April 16, 2019, 06:28:40 PM »
The allowed languages : $lngsArr array in w34_common.php

Thanks, Wim. Working now  :)
It's meant to be fun. . .

Offline Bunty

  • Posts: 212
  • Stillwater, OK
  • OS/Browser:
  • Win NT 10.0
  • Firefox 66.0
    • Stillwater Weather
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #456 on: April 17, 2019, 08:19:37 AM »
Mine works but with some problems.  It does not load when using https://stillwaterweather.com/pwsWD Instead this error page come up which reads:   Not Found,  The requested URL /pwsWD/.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 But it does load when using https://stillwaterweather.com/pwsWD/index.php

Another thing, in menu, I can't select between dark and light theme without getting the same error.  Same with the C button in the upper right corner.

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,348
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 73.0.3683.86
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #457 on: April 17, 2019, 10:00:06 AM »
Mine works but with some problems.  It does not load when using https://stillwaterweather.com/pwsWD Instead this error page come up which reads:   Not Found,  The requested URL /pwsWD/.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 But it does load when using https://stillwaterweather.com/pwsWD/index.php

Another thing, in menu, I can't select between dark and light theme without getting the same error.  Same with the C button in the upper right corner.
That message is a standard "Apache" message
It is not normal that Apache is trying to load a   " .php"  script.

Check your cPanel settings or check with your provider.
Normally Apache loads   index.php  or index.html or index.htm  when no script or file is mentioned.

Wim
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline Tlowe

  • Posts: 157
  • Minneapolis, MN, US
  • OS/Browser:
  • Win NT 10.0
  • Chrome 73.0.3683.103
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #458 on: April 22, 2019, 03:33:00 PM »
Does this version of W34 support the extra charts page? It was named "wxcharts.php" in the original W34. I have searched but can't find any info on the previous extra page of charts.

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,348
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 73.0.3683.103
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #459 on: April 22, 2019, 03:43:40 PM »
Does this version of W34 support the extra charts page? It was named "wxcharts.php" in the original W34. I have searched but can't find any info on the previous extra page of charts.
There has been numerous extra pages and scripts. Some are added. such as WXSIM.

Please add your "requests for enhancements" to the "wish-list" topic, and include some sort of screenshot.
I am fairly new to these scripts and have no history of all extra's from the past.
Wim
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline Weather Display

  • Posts: 87,234
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 73.0.3683.103
    • Weather Display

Offline jzinckgra

  • Posts: 150
  • Maine, U.S.A
  • OS/Browser:
  • Win NT 10.0
  • Firefox 66.0
    • Personal weather site
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #461 on: April 24, 2019, 12:10:52 PM »
Hi,

Having a problem with my April rain popup date. Today is saying it is Friday the 24th, when it is Tues. How can this be fixed? Thanks.

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,348
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 73.0.3683.103
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #462 on: April 24, 2019, 12:24:03 PM »
Hi,

Having a problem with my April rain popup date. Today is saying it is Friday the 24th, when it is Tues. How can this be fixed? Thanks.
Do you have a link / URL to your  pwsWD site? I need to access the site to check what the problem could be.

I attach the current version of the script, just to test if it removes the problem.
1. make a copy of your website version of w34_graph_xx.php
2. unzip attachment
3. upload the un-zipped version of w34_graph_xx.php replacing the one with the problem.

Wim
« Last Edit: April 24, 2019, 12:42:48 PM by wvdkuil »
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline jzinckgra

  • Posts: 150
  • Maine, U.S.A
  • OS/Browser:
  • Win NT 10.0
  • Firefox 66.0
    • Personal weather site
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #463 on: April 24, 2019, 12:50:52 PM »
Do you have a link / URL to your  pwsWD site? I need to access the site to check what the problem could be.

I attach the current version of the script, just to test if it removes the problem.
1. make a copy of your website version of w34_graph_xx.php
2. unzip attachment
3. upload the un-zipped version of w34_graph_xx.php replacing the one with the problem.

Wim

yes, sorry about that: http://weather911.net/pwsWD/index.php

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,348
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 73.0.3683.103
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #464 on: April 24, 2019, 12:59:00 PM »
yes, sorry about that: http://weather911.net/pwsWD/index.php
The attached version comes from http://wd34.weather-template.com/pwsWD/ , it is from the same release and works correct.

Please  try this script and let me know if the problem is solved.

Wim
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

 

cumulus