Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Now available: AJAX/PHP multilingual website templates
Moderator: saratogaWX
- PaulMy
- Posts: 4355
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
My http://www.komokaweather.com/wxindex.php site has been running well for a couple years until recently it displays an error as can be seen from the link, which I don't understand. I have not made any changes, nor any upgrades since 2011. Could this be the cause and any suggestions how to get it back running?
Paul
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm

C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
- saratogaWX
- Posts: 1238
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
With messages likePaulMy wrote:My http://www.komokaweather.com/wxindex.php site has been running well for a couple years until recently it displays an error as can be seen from the link, which I don't understand. I have not made any changes, nor any upgrades since 2011. Could this be the cause and any suggestions how to get it back running?
Paul
it sounds like your hoster has changed PHP configuration on you and session info can no longer be saved where the default session.save_path says to save it.Warning: Unknown: open(/var/chroot/home/content/p/a/u/paulmy/tmp/sess_hb3b8m4qlbhekid24ngj2rvsu1, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0
Call tech support for your hoster -- they're likely the only ones who can fix the errors.
Best regards,
Ken
- saratogaWX
- Posts: 1238
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Oh... and when the hoster does the fix, I'd highly recommend you do some updates .. a lot has changed over the years since you installed and keeping up-to-date with script updates is highly recommended.
For starters, you can download a new check-fetch-times.php utility that has a built-in version checker (activated with ?show=versions ) which can show you what needs updating and what query on the Updates tool page to use to get a customized set of scripts to bring your site to current.
Download the latest check-fetch-times.php from here.
Best regards,
Ken
For starters, you can download a new check-fetch-times.php utility that has a built-in version checker (activated with ?show=versions ) which can show you what needs updating and what query on the Updates tool page to use to get a customized set of scripts to bring your site to current.
Download the latest check-fetch-times.php from here.
Best regards,
Ken
- PaulMy
- Posts: 4355
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Thanks Ken, I will spend some time on it again.
Paul
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm

C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
- PaulMy
- Posts: 4355
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Hi Ken,
I have contacted GoDaddy support and after they referred this to their Advanced Hosting Support Team they say I should either update or remove the
You mentioned that after GoDaddy does the fix I should update. Since GoDaddy can't determine a fix other than to remove or update the include-style-switcher.php should I go ahead and update?
Thanks,
Paul
I have contacted GoDaddy support and after they referred this to their Advanced Hosting Support Team they say I should either update or remove the
file. I indicated that this file is not one I can find on my site and that I can't make sense of the path shown in the error and that all my wx files are in my root folder http://www.komokaweather.com. Going into my GoDaddy FTP File Manager did not show anything more than what I see using FileZilla./include-style-switcher.php
You mentioned that after GoDaddy does the fix I should update. Since GoDaddy can't determine a fix other than to remove or update the include-style-switcher.php should I go ahead and update?
Thanks,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm

C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
- saratogaWX
- Posts: 1238
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
include-style-switcher.php is a core part of the template set.
I suggest you update the check-fetch-times.php from the link above, run it and the do the updates needed from the Updates tool page.
The current version of include-style-switcher.php is 1.19 - 05-Feb-2013 -- you can try just replacing your current copy with
the version in the .zip attached.
Best regards,
Ken
I suggest you update the check-fetch-times.php from the link above, run it and the do the updates needed from the Updates tool page.
The current version of include-style-switcher.php is 1.19 - 05-Feb-2013 -- you can try just replacing your current copy with
the version in the .zip attached.
Best regards,
Ken
You do not have the required permissions to view the files attached to this post.
- PaulMy
- Posts: 4355
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
I have downloaded the Update Zip file 20130304-101629PST-updates-Base-Canada-CU-plugin.zip and uploaded all the files and made edits to Settings.php and Settings-weather.php. CUtags.php is being processed and uploaded to /weather
The same type and a couple of more errors now http://www.komokaweather.com/wxindex.php which I don't quite understand, especially at the lines indicated in the errors. In my call to GoDaddy they questioned the purpose and need for the include-style-switcher.php file which seemed to be the cause of the error, and now a similar error on the top.php file. Any further suggestion before I contact GoDaddy support again?
Thanks for your help,
Paul
The same type and a couple of more errors now http://www.komokaweather.com/wxindex.php which I don't quite understand, especially at the lines indicated in the errors. In my call to GoDaddy they questioned the purpose and need for the include-style-switcher.php file which seemed to be the cause of the error, and now a similar error on the top.php file. Any further suggestion before I contact GoDaddy support again?
Thanks for your help,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm

C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
- saratogaWX
- Posts: 1238
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Well, the main sessions issue remains with the PHP messagePaulMy wrote:I have downloaded the Update Zip file 20130304-101629PST-updates-Base-Canada-CU-plugin.zip and uploaded all the files and made edits to Settings.php and Settings-weather.php. CUtags.php is being processed and uploaded to /weather
The same type and a couple of more errors now http://www.komokaweather.com/wxindex.php which I don't quite understand, especially at the lines indicated in the errors. In my call to GoDaddy they questioned the purpose and need for the include-style-switcher.php file which seemed to be the cause of the error, and now a similar error on the top.php file. Any further suggestion before I contact GoDaddy support again?
Thanks for your help,
Paul
Now a new issue as the result ofWarning: session_start() [function.session-start]: open(/var/chroot/home/content/p/a/u/paulmy/tmp/sess_epnppbvukbqi6p5e3ttdbqnbk4, O_RDWR) failed: No such file or directory (2) in /home/content/p/a/u/paulmy/html/include-style-switcher.php on line 31
just indicates that the template can't find the main data file uploaded by Cumulus (CUtags.php). If you're uploading CUtags.php to a different directory than the home directory of the site, then change Settings-weather.php to point to where the file exists, otherwise fix Cumlus setup and have it upload the CUtags.php per http://saratoga-weather.org/wxtemplates ... umulus.phpWarning: include_once(CUtags.php) [function.include-once]: failed to open stream: No such file or directory in /home/content/p/a/u/paulmy/html/top.php on line 79
Tell GoDaddy that standard PHP session support is not working on your website and request them to fix it. It is a standard feature for all webhosters to provide session support and GoDaddy's is clearly broken on their webserver hosting your website -- they need to fix it.
The remaining PHP error messages all are the result of one or the other of those two issue (PHP session support broken or CUtags.php missing).
Best regards,
Ken
- PaulMy
- Posts: 4355
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Thanks Ken, I have further edited the Settings-weather.php file to correct the missing CUtags.php and that error is now gone. Now back on hold with Godaddy for the other,
Paul
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm

C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
- saratogaWX
- Posts: 1238
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Hi Paul,
Just checked your site .. it appears that GoDaddy has fixed the PHP session issue, and your fix to the l location of CUtags.php has fixed the data issue you were seeing.
Congratulations!
Best regards,
Ken
Just checked your site .. it appears that GoDaddy has fixed the PHP session issue, and your fix to the l location of CUtags.php has fixed the data issue you were seeing.
Congratulations!
Best regards,
Ken
- PaulMy
- Posts: 4355
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Hi Ken,
Just noticed your reply before sending this,
After a bit of persuasion and quoting your comment Godaddy rechecked, they found the error as they had not given permission to a higher folder and now back in business. Thanks for your help and guidance again.
Now some editing and fixing up some links and getting it to be http://www.komokaweather.ca (still pending after I added a new folder for komokaweather-ca and changed the redirect) and then I'll have you add this to your wx templates world list and will keep it more up to date.
Paul
Just noticed your reply before sending this,
After a bit of persuasion and quoting your comment Godaddy rechecked, they found the error as they had not given permission to a higher folder and now back in business. Thanks for your help and guidance again.
Now some editing and fixing up some links and getting it to be http://www.komokaweather.ca (still pending after I added a new folder for komokaweather-ca and changed the redirect) and then I'll have you add this to your wx templates world list and will keep it more up to date.
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm

C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
- PaulMy
- Posts: 4355
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Hi Ken,
The site is working fine from http://www.komokaweather.com/wxindex.php however I want to now get it to run as http://www.komokaweather.ca.
My main hosting domain is http://www.komokaweather.com and I have a komokaweather-ca folder for my http://www.komokaweather.ca domain wherein I have copied the existing wxindex.php file and renamed it as index.php but it does not work. Currently all my wx template files are in the http://www.komokaweather.com root folder and do I now need to install them all in the komokaweather-ca root folder? and would there be any other settings to change?
Paul
The site is working fine from http://www.komokaweather.com/wxindex.php however I want to now get it to run as http://www.komokaweather.ca.
My main hosting domain is http://www.komokaweather.com and I have a komokaweather-ca folder for my http://www.komokaweather.ca domain wherein I have copied the existing wxindex.php file and renamed it as index.php but it does not work. Currently all my wx template files are in the http://www.komokaweather.com root folder and do I now need to install them all in the komokaweather-ca root folder? and would there be any other settings to change?
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm

C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
- saratogaWX
- Posts: 1238
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Hi Paul,
Let me see if I understand...
You have two domain names http://www.komokaweather.com/ and http://www.komokaweather.ca/
The http://www.komokaweather.com/ has it's document root in the main website directory, the http://www.komokaweather.ca/ has its document root in ./komokaweather-ca/ from your main website. Is that correct?
If so, the easiest way to make http://www.komokaweather.ca/ access the same contents as http://www.komokaweather.com/
is to re-home http://www.komokaweather.ca/ to use your main document directory.
If you want to keep them separately maintainable, then you'd need to copy the template files (and subdirectories) to ./komokaweather-ca/ directory to do that. Just copying one file wouldn't work.. has to be the entire set of template files and subdirectories.
Let me see if I understand...
You have two domain names http://www.komokaweather.com/ and http://www.komokaweather.ca/
The http://www.komokaweather.com/ has it's document root in the main website directory, the http://www.komokaweather.ca/ has its document root in ./komokaweather-ca/ from your main website. Is that correct?
If so, the easiest way to make http://www.komokaweather.ca/ access the same contents as http://www.komokaweather.com/
is to re-home http://www.komokaweather.ca/ to use your main document directory.
If you want to keep them separately maintainable, then you'd need to copy the template files (and subdirectories) to ./komokaweather-ca/ directory to do that. Just copying one file wouldn't work.. has to be the entire set of template files and subdirectories.
- PaulMy
- Posts: 4355
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Hi Ken,
Yes you have the weather domain structure correct, and I also have some other domains that I have placed in separate folders but I don't believe they would have no impact to my weather sites.
It may be best to move all the wx template files/folders to komokaweather-ca and then my http://www.komokaweather.com root would be basically empty of files and only the /weather (cumulus) folder, and other folders for other domains I am hosting would be there. However the simplest may be the re-home, and how is that done? I have used redirect but have not seen re-home in peeking in my godaddy account.
Also in tweaking the updated wx templates I have edited the wxmetar.php for our local METAR stations and these are working great. I used your "Find Nearby METARs" tool and it also provides
And also I may have missed it in reading some instructions, the Almanac NOAA Reports page is blank and can it be populated or where would I look for settings. I have Cumulus upload them to my /weather/reports folder.
Sorry for the many questions, but it has been satisfying and good learning to get back to these templates and I will keep them more up to date (and still keep my very modified http://www.komokaweather.com with which I am most comfortable for changes and additions).
Again thanks for your guidance,
Paul
Yes you have the weather domain structure correct, and I also have some other domains that I have placed in separate folders but I don't believe they would have no impact to my weather sites.
It may be best to move all the wx template files/folders to komokaweather-ca and then my http://www.komokaweather.com root would be basically empty of files and only the /weather (cumulus) folder, and other folders for other domains I am hosting would be there. However the simplest may be the re-home, and how is that done? I have used redirect but have not seen re-home in peeking in my godaddy account.
Also in tweaking the updated wx templates I have edited the wxmetar.php for our local METAR stations and these are working great. I used your "Find Nearby METARs" tool and it also provides
but I can't find the originals in the Settings-weather.php folder where these would go to replace. Should these be needed?The Metar list was last updated 22 Mar 2012.
Select (highlight) and Copy the following text to your Settings-weather.php page to replace the existing $SITE['conditionsMETAR'] entry.
The first entry is closest to your station latitude/longitude. The remaining entries are commented out so you can select one of them instead if it better fits your local weather.
$SITE['conditionsMETAR'] = 'CYXU'; // dist=15 mi (24 km), dir=ENE, London Airport, Ontario, Canada elev=278, dated=09-SEP-10
// $SITE['conditionsMETAR'] = 'CYZR'; // dist=44 mi (71 km), dir=W, Sarnia Airport, Ontario, Canada elev=181, dated=09-SEP-10
// $SITE['conditionsMETAR'] = 'CXDI'; // dist=45 mi (73 km), dir=E, Delhi Cs (aut), Ontario, Canada elev=232, dated=09-SEP-10
// $SITE['conditionsMETAR'] = 'CWAJ'; // dist=54 mi (87 km), dir=SSW, Erieau (maps), Ontario, Canada elev=178, dated=09-SEP-10
// $SITE['conditionsMETAR'] = 'KPHN'; // dist=55 mi (88 km), dir=W, Port Huron, Michigan, USA elev=198, dated=10-FEB-12
// $SITE['conditionsMETAR'] = 'CWGD'; // dist=58 mi (93 km), dir=NNW, Goderich (autob), Ontario, Canada elev=214, dated=09-SEP-10
And also I may have missed it in reading some instructions, the Almanac NOAA Reports page is blank and can it be populated or where would I look for settings. I have Cumulus upload them to my /weather/reports folder.
Sorry for the many questions, but it has been satisfying and good learning to get back to these templates and I will keep them more up to date (and still keep my very modified http://www.komokaweather.com with which I am most comfortable for changes and additions).
Again thanks for your guidance,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm

C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
- saratogaWX
- Posts: 1238
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Rehome of a website just means specifying a different document root for the domain name. Try looking under the Hosted Domains part of the GoDaddy control panel.. you can specify a change to the main directory (/) to be a subdirectory there (I think).PaulMy wrote:Hi Ken,
Yes you have the weather domain structure correct, and I also have some other domains that I have placed in separate folders but I don't believe they would have no impact to my weather sites.
It may be best to move all the wx template files/folders to komokaweather-ca and then my http://www.komokaweather.com root would be basically empty of files and only the /weather (cumulus) folder, and other folders for other domains I am hosting would be there. However the simplest may be the re-home, and how is that done? I have used redirect but have not seen re-home in peeking in my godaddy account.
The one line:PaulMy wrote: Also in tweaking the updated wx templates I have edited the wxmetar.php for our local METAR stations and these are working great. I used your "Find Nearby METARs" tool and it also providesbut I can't find the originals in the Settings-weather.php folder where these would go to replace. Should these be needed?The Metar list was last updated 22 Mar 2012.
Select (highlight) and Copy the following text to your Settings-weather.php page to replace the existing $SITE['conditionsMETAR'] entry.
The first entry is closest to your station latitude/longitude. The remaining entries are commented out so you can select one of them instead if it better fits your local weather.
$SITE['conditionsMETAR'] = 'CYXU'; // dist=15 mi (24 km), dir=ENE, London Airport, Ontario, Canada elev=278, dated=09-SEP-10
// $SITE['conditionsMETAR'] = 'CYZR'; // dist=44 mi (71 km), dir=W, Sarnia Airport, Ontario, Canada elev=181, dated=09-SEP-10
// $SITE['conditionsMETAR'] = 'CXDI'; // dist=45 mi (73 km), dir=E, Delhi Cs (aut), Ontario, Canada elev=232, dated=09-SEP-10
// $SITE['conditionsMETAR'] = 'CWAJ'; // dist=54 mi (87 km), dir=SSW, Erieau (maps), Ontario, Canada elev=178, dated=09-SEP-10
// $SITE['conditionsMETAR'] = 'KPHN'; // dist=55 mi (88 km), dir=W, Port Huron, Michigan, USA elev=198, dated=10-FEB-12
// $SITE['conditionsMETAR'] = 'CWGD'; // dist=58 mi (93 km), dir=NNW, Goderich (autob), Ontario, Canada elev=214, dated=09-SEP-10
$SITE['conditionsMETAR'] = 'CYXU'; // dist=15 mi (24 km), dir=ENE, London Airport, Ontario, Canada elev=278, dated=09-SEP-10
is the one that would be in your Settings-weather.php to enable the template to use that METAR for your sky conditions/icon.
The others are just commented out (as they are more radially distant from your lat/long).
In Settings-weather.php, there are the linesPaulMy wrote: And also I may have missed it in reading some instructions, the Almanac NOAA Reports page is blank and can it be populated or where would I look for settings. I have Cumulus upload them to my /weather/reports folder.
# For NOAA reports
$SITE['NOAAdir'] = './Reports/'; // relative location of the NOAA report files
Here's were it get's a bit tricky. If the reports are in ./weather/reports/ folder from your document root of the website,
AND your site is actually located in the ./weather/ directory from your document root, then you could use
$SITE['NOAAdir'] = './reports/'; // relative location of the NOAA report files
to have it find the files. It needs to be the RELATIVE file address of the folder containing the NOAA report files, and the specifics (with your multi-site setup) are hard to give a general direction on what to use there. It may be safer (in your case) to use the ABSOLUTE file address like:
$SITE['NOAAdir'] = '/your/path/to/docroot/weather/reports/; // absolute file location of the NOAA report files
No problem Paul, glad to assistPaulMy wrote: Sorry for the many questions, but it has been satisfying and good learning to get back to these templates and I will keep them more up to date (and still keep my very modified http://www.komokaweather.com with which I am most comfortable for changes and additions).
Again thanks for your guidance,
Paul
Best regards,
Ken