Wim, the weather34 template is really a nice piece of work. Kudos to you and the team for creating it. I have mine setup and working but, for some reason, I am not getting the current forecast. What could I be missing? Also, where are the current weather alerts supposed to come from? Right now, we have a Wind Advisory posted for our area and there is no alert in the Weather Alert box.
100% BrianUnderdown (weather34) for the design and original scripts. I myself are your humble servant to do the support for this version
I have mine setup and working but, for some reason, I am not getting the current forecast. What could I be missing?
You have to apply for a DarkSky api key and enter it in easyweathersetup. Nearly at the bottom
Also, where are the current weather alerts supposed to come from? Right now, we have a Wind Advisory posted for our area and there is no alert in the Weather Alert box. http://ucweather.org/pwsWD/
The weather alerts come from the weather-values in the scripts themselves. Not from an outside company as NWS or Meteoalarm.
Thanks a lot, Wim. Working great now, even got a weather alert. Should be interesting to watch the next several days as we are supposed to get a lot of wind and rain. BTW, I really like the air quality sensor feature.
You should unzip the update.
The 10 changed scripts go into the pwsWD/ folder on your server.
There are two folders with a name "copy to "
One has the extra flag, goes into pwdWD/img/flags/ The other has the extra language files for pwdWD/languages/
Very easy solution:
Correct all typing errors by using the language files. |'Select langauge|Select language|
That way you are sure that with a new release the error does not return.
And that visitors using another language can see the translation to their language also.
The script-editors do not catch those typing errors and English is not my native language either
This: |from text in script |to text visitor sees| is therefor used by multiple template authors.
And the words “Template by weather34.com” at bottom right overhang the main template “frame”. . .?
Can you make a small screenshot, as I do not understand what the problem is at my test site, thanks.
Wim
weather34 Error creating database: Access denied for user ‘meteotorkcmilio’ @ ‘%’ to database ‘weatherstation’
I have checked name database, use password everything is fine
I connect to phpMyAdmin right
attached images
the second is what I think by importing the sql file
any suggestions
emilio #-o 8O 8O
your site http://swanston.maui.co.uk/pws/ shows differently at my place with chrome and FF. I think the height has to be adjusted to fit.
Script w34_index.php line 261 reads now
Did you give the user all rights to the database? Seems not as the checkboxes are empty.
That user must be allowed to define new tables ans so on, as that is what the
And what are those strange characters '@ ‘%’ doing in the error message?
weather34 Error creating database: Access denied for user ‘meteotorkcmilio’ @ ‘%’ to database ‘weatherstation’
I have checked name database, use password everything is fine
I connect to phpMyAdmin right
attached images
the second is what I think by importing the sql file
That image is correct as the test record is inserted in the databas-table.
any suggestions
emilio #-o 8O 8O
You should now give the user all rights. And set the cron-job to do the updates,
Success, Wim
[quote author=Boce link=topic=67468.msg541882#msg541882 date=1546711030]
Win direction and avg wind direction always have some direction although they have different ones
No to lang.en.php if you use English.
It should look like
$lang['Select langauge'] = 'Select language';
I did not redo the English file as most untranslated words are in English.
The typing errors should be added to the english file in the PHP way as in the original weather34.
The chrome screenshot looks acceptable.
And yes edge. I do not know how much more differences will show with the very complex css which is used
At least microsoft will build a new Edge using the chromium engine and then these problems will fade away.
As soon as Brians new css can be used I will start testing with edge also.