Greetings Block

Post Reply
tpweather
Observer
Observer
Posts: 25
Joined: Sat Apr 07, 2018 12:52 pm
Location: Tom Price WA
Station model: Davis Vantage Pro 2
Software: Weather Display
Contact:

Greetings Block

Post by tpweather » Sun Apr 15, 2018 6:15 pm

Hi
In the greetings block I get this error:
Warning: include(): Invalid date.timezone value 'AWST', we selected the timezone 'UTC' for now. in /home/tpweathe/public_html/site/homepage/blocks/greetings/settings.php on line 6

Parse error: syntax error, unexpected 'Day' (T_STRING) in /home/tpweathe/public_html/site/homepage/blocks/greetings/settings.php on line 6

Any suggestions on how to fix this please?
Thanks
Chris
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Greetings Block

Post by Jachym » Mon Apr 16, 2018 11:23 am

Hi,
AWST is not a PHP valid timezone, see list of available ones here:

http://php.net/manual/en/timezones.php

The second error is hard to tell, something is wrong in your settings, but I dont know what you entered there

tpweather
Observer
Observer
Posts: 25
Joined: Sat Apr 07, 2018 12:52 pm
Location: Tom Price WA
Station model: Davis Vantage Pro 2
Software: Weather Display
Contact:

Re: Greetings Block

Post by tpweather » Thu Apr 19, 2018 3:13 am

Hi
I have not entered AWST any where. In the main setup file I have chosen Australia\Perth. I can't see anywhere to enter AWST. However, I reinstalled it and using the default settings therefore it is obviously the timings I had setup in setting2.php.
Many thanks
Chris
Image

Post Reply