***closed*** weather34 for WeatherDisplay (clientraw and WDapi)

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

Maybe the moon ring should be the same width as the sun ring - or vice versa?

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!!!

The April version is online for download at http://wd34.weather-template.com/
And I also added a [size=116][b]new topic[/b][/size] to post your questions for this release in.

Wim

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


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

to


<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.

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

Thanks, Wim. Working now :slight_smile:

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

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

http://www.weather-display.com/downloadfiles/wxcharts.zip

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


w34_graph_xx.php.zip (6.24 KB)

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

The attached version comes from Leuven Home Weather Station (wf version) , it is from the same release and works correct.

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

Wim


w34_graph_xx.php.zip (5.33 KB)

Hi, my big temp disappears after a short time for some reason, refresh the page and it comes back, also in the marked area, its foreign text.
I am also trying to update the wind speed and direction to every 2 seconds, when i count it appears to be around 40 seconds yet in the settings they were set to 16 which does not match what its doing (40s) i changed them to 2 anyway but i have a feeling it might not even be that file (WD34_settings.php)?

I am using wd clientraw and wxsim

Thanks


Maybe: The temp script fails when there is an incomplete upload.
I could not replicate that. I waited about 10 automatic reloads and the area remains unaffected.
Questions: What browser do you use? Does it happen with other browsers? Which provider?

also in the marked area, its foreign text.
There are a lot of “regional” languages for the DarkSky forecast. There is a setting nearly at the bottom where you select the language for the DarkSky forecast. After you change that and save the settings, please wait max 1 hour until the cached 9dutch) forecast is replaced with one with your selected language
I am using wd clientraw
Thanks
Success, Wim


HI Wim, thank you for the reply, i am using Chrome on 2 laptops both and both do the same with the temp, very strange, when you say provider, i assume you mean, hostgator or 1and1 etc, well its my own Kimsufi server. I still have an older version running here and that temp works ok

Regarding the forecast settings, its set to English (Which is the default) already, i didnt change that, i will wait for the hour to pass :slight_smile:

I did amend my reply adding the part about the wind speed update times, i will like them at 2s and have adjusted the setting but the default was 16s, yet when i count it they are at about 40s so that does not match the default at 16. I have them at 2 second in the older version as show here, there are 3 pages that have the same settings so i changed all 3, perhaps i missed one :slight_smile: wd34_settings.php, wd34_settings1.php and wd34_settings copy.php

The big temp appears to disappear after 5 minutes., just loaded MS Edge and IE9 and FF to test those