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
- 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
The source for the image-resizing PHP script shows
Error 003: Download error: cannot write to file, check server permission settings
so it's likely the script cannot create/write the cache file needed to save the image. You may need to adjust settings inside the image-*.php scripts and/or create the indicated cache files and set their permissions to 666 so PHP can write them.
Leave the allow_url_fopen = on; in your php.ini .. it prevents you from having a Error 004: Unable to read source file for image.
Best regards,
Ken
Error 003: Download error: cannot write to file, check server permission settings
so it's likely the script cannot create/write the cache file needed to save the image. You may need to adjust settings inside the image-*.php scripts and/or create the indicated cache files and set their permissions to 666 so PHP can write them.
Leave the allow_url_fopen = on; in your php.ini .. it prevents you from having a Error 004: Unable to read source file for image.
Best regards,
Ken
- meteotortosa
- Posts: 323
- Joined: Thu 04 Dec 2008 12:15 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Windows XP SP3
- Location: Tortosa-Baix Ebre- Catalonia
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
To SaratogaWX
I use WeatherLink for 4 years, Cumulus just 1 year. I like to keep WL NOAA files because they are in Spanish as well as the WL. Would it be possible in some way to view files in the format NOAA WL but not with the Cumulus?
I used the Google Translator, I hope you understand my question.
I use WeatherLink for 4 years, Cumulus just 1 year. I like to keep WL NOAA files because they are in Spanish as well as the WL. Would it be possible in some way to view files in the format NOAA WL but not with the Cumulus?
I used the Google Translator, I hope you understand my question.
Weather in Tortosa (NE Spain), updated every 15'

- 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
Yes, it is possible to view the older WeatherLink files, but you will need to rename them to use the Cumulus format for the file names.meteotortosa wrote:To SaratogaWX
I use WeatherLink for 4 years, Cumulus just 1 year. I like to keep WL NOAA files because they are in Spanish as well as the WL. Would it be possible in some way to view files in the format NOAA WL but not with the Cumulus?
I used the Google Translator, I hope you understand my question.
For examples:
Old name -> new name
NOAA2007.txt -> NOAAYR2007.txt
NOAA200705.txt -> NOAAMO0507.txt
NOAA200706.txt -> NOAAMO0607.txt
NOAA201109.txt -> NOAAMO0911.txt
NOAA201110.txt -> NOAAMO1011.txt
NOAA201111.txt -> NOAAMO1111.txt
NOAAMO.TXT -> delete
NOAAMO200703.txt -> NOAAMO0307.txt
NOAAMO200704.txt -> NOAAMO0407.txt
NOAAPRMO.TXT -> delete
NOAAPRYR.TXT -> delete
NOAAYR.TXT -> delete
After you rename all the files in the directory (and delete the files indicated), the old WeatherLink files will be viewable with the Cumulus-configured template.
Best regards,
Ken
-
mickopla
- Posts: 119
- Joined: Mon 11 Oct 2010 7:56 pm
- Weather Station: Davis Vantage Vue
- Operating System: Windows 7
Re: Now available: AJAX/PHP multilingual website templates
Hi KensaratogaWX wrote:The source for the image-resizing PHP script shows
Error 003: Download error: cannot write to file, check server permission settings
so it's likely the script cannot create/write the cache file needed to save the image. You may need to adjust settings inside the image-*.php scripts and/or create the indicated cache files and set their permissions to 666 so PHP can write them.
Leave the allow_url_fopen = on; in your php.ini .. it prevents you from having a Error 004: Unable to read source file for image.
Best regards,
Ken
What settings do i need to adjust in the image*.php scripts? Also how do i create new cache files and what should i name them? Cheers
Mike
- 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
There are 9 image-*.php scripts and each has a $localimgName entry with the name of the file used for the cache in that script. Here's the list:mickopla wrote:Hi KensaratogaWX wrote:The source for the image-resizing PHP script shows
Error 003: Download error: cannot write to file, check server permission settings
so it's likely the script cannot create/write the cache file needed to save the image. You may need to adjust settings inside the image-*.php scripts and/or create the indicated cache files and set their permissions to 666 so PHP can write them.
Leave the allow_url_fopen = on; in your php.ini .. it prevents you from having a Error 004: Unable to read source file for image.
Best regards,
Ken
What settings do i need to adjust in the image*.php scripts? Also how do i create new cache files and what should i name them? Cheers
Mike
File: image-space-aurora.php (1 hits)
Line 153: $localimgName = 'image-space-aurora.gif';
File: image-space-xray.php (1 hits)
Line 153: $localimgName = 'image-space-xray.gif';
File: image-space-aurora-s.php (1 hits)
Line 153: $localimgName = 'image-space-aurora-s.gif';
File: image-space-eit-284.php (1 hits)
Line 153: $localimgName = 'image-space-eit-284.jpg';
File: image-space-eit-304.php (1 hits)
Line 153: $localimgName = 'image-space-eit-304.jpg';
File: image-space-sat-env.php (1 hits)
Line 153: $localimgName = 'image-space-sat-env.gif';
File: image-space-solar-cycle.php (1 hits)
Line 153: $localimgName = 'image-space-solar-cycle.gif';
File: image-space-solar-disk.php (1 hits)
Line 153: $localimgName = 'image-space-solar-disk.gif';
File: image-space-solar-wind.php (1 hits)
Line 153: $localimgName = 'image-space-solar-wind.gif';
Those names, and the -cached.[type] names are used by the image-*.php scripts.
I've attached a .zip with my current cache of those files, upload them, and set their permissions to 666 to enable writing the files.
Best regards,
Ken
You do not have the required permissions to view the files attached to this post.
- meteotortosa
- Posts: 323
- Joined: Thu 04 Dec 2008 12:15 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Windows XP SP3
- Location: Tortosa-Baix Ebre- Catalonia
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
To Saratogawx
how can I tell in the web that all the hours are in UTC?
Thanks,
Lluís
how can I tell in the web that all the hours are in UTC?
Thanks,
Lluís
Weather in Tortosa (NE Spain), updated every 15'

-
mickopla
- Posts: 119
- Joined: Mon 11 Oct 2010 7:56 pm
- Weather Station: Davis Vantage Vue
- Operating System: Windows 7
Re: Now available: AJAX/PHP multilingual website templates
saratogaWX wrote:There are 9 image-*.php scripts and each has a $localimgName entry with the name of the file used for the cache in that script. Here's the list:mickopla wrote:Hi KensaratogaWX wrote:The source for the image-resizing PHP script shows
Error 003: Download error: cannot write to file, check server permission settings
so it's likely the script cannot create/write the cache file needed to save the image. You may need to adjust settings inside the image-*.php scripts and/or create the indicated cache files and set their permissions to 666 so PHP can write them.
Leave the allow_url_fopen = on; in your php.ini .. it prevents you from having a Error 004: Unable to read source file for image.
Best regards,
Ken
What settings do i need to adjust in the image*.php scripts? Also how do i create new cache files and what should i name them? Cheers
Mike
File: image-space-aurora.php (1 hits)
Line 153: $localimgName = 'image-space-aurora.gif';
File: image-space-xray.php (1 hits)
Line 153: $localimgName = 'image-space-xray.gif';
File: image-space-aurora-s.php (1 hits)
Line 153: $localimgName = 'image-space-aurora-s.gif';
File: image-space-eit-284.php (1 hits)
Line 153: $localimgName = 'image-space-eit-284.jpg';
File: image-space-eit-304.php (1 hits)
Line 153: $localimgName = 'image-space-eit-304.jpg';
File: image-space-sat-env.php (1 hits)
Line 153: $localimgName = 'image-space-sat-env.gif';
File: image-space-solar-cycle.php (1 hits)
Line 153: $localimgName = 'image-space-solar-cycle.gif';
File: image-space-solar-disk.php (1 hits)
Line 153: $localimgName = 'image-space-solar-disk.gif';
File: image-space-solar-wind.php (1 hits)
Line 153: $localimgName = 'image-space-solar-wind.gif';
Those names, and the -cached.[type] names are used by the image-*.php scripts.
I've attached a .zip with my current cache of those files, upload them, and set their permissions to 666 to enable writing the files.
Best regards,
Ken
Thanks Ken
Working fine now. Much appreciated.
Mick
- meteotortosa
- Posts: 323
- Joined: Thu 04 Dec 2008 12:15 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Windows XP SP3
- Location: Tortosa-Baix Ebre- Catalonia
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Hi,
my Davis upload UTC hours, can I show them in local time?
Thanks
Lluís
my Davis upload UTC hours, can I show them in local time?
Thanks
Lluís
Weather in Tortosa (NE Spain), updated every 15'

- 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, I've not encountered a setup like that before. The template set has a timezone setting in Settings.php which then handles date formats on the website (for the date() PHP function), but the weather station's internal date timezone is assumed to be the same as the timezone set in Settings.php.meteotortosa wrote:Hi,
my Davis upload UTC hours, can I show them in local time?
Thanks
Lluís
Currently there is no built-in provision to provide UTC dates from the weather station and then format them into local time.. sorry.
- meteotortosa
- Posts: 323
- Joined: Thu 04 Dec 2008 12:15 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Windows XP SP3
- Location: Tortosa-Baix Ebre- Catalonia
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Are there any place in the script where I can put "UTC" and show it in the web?saratogaWX wrote:Hi, I've not encountered a setup like that before. The template set has a timezone setting in Settings.php which then handles date formats on the website (for the date() PHP function), but the weather station's internal date timezone is assumed to be the same as the timezone set in Settings.php.meteotortosa wrote:Hi,
my Davis upload UTC hours, can I show them in local time?
Thanks
Lluís
Currently there is no built-in provision to provide UTC dates from the weather station and then format them into local time.. sorry.
P.D.: I think my English is too bad...
Weather in Tortosa (NE Spain), updated every 15'

- meteotortosa
- Posts: 323
- Joined: Thu 04 Dec 2008 12:15 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Windows XP SP3
- Location: Tortosa-Baix Ebre- Catalonia
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Where can I transalte this?
I see is the same in all languages
I see is the same in all languages
You do not have the required permissions to view the files attached to this post.
Weather in Tortosa (NE Spain), updated every 15'

- 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
You can try using in Settings.phpmeteotortosa wrote:Are there any place in the script where I can put "UTC" and show it in the web?saratogaWX wrote:Hi, I've not encountered a setup like that before. The template set has a timezone setting in Settings.php which then handles date formats on the website (for the date() PHP function), but the weather station's internal date timezone is assumed to be the same as the timezone set in Settings.php.meteotortosa wrote:Hi,
my Davis upload UTC hours, can I show them in local time?
Thanks
Lluís
Currently there is no built-in provision to provide UTC dates from the weather station and then format them into local time.. sorry.
P.D.: I think my English is too bad...
Code: Select all
$SITE['tz'] = 'UTC';
$SITE['timeFormat'] = 'd/m/Y H:i T'; // Euro format 31/03/2006 14:03
$SITE['timeOnlyFormat'] = 'H:i T'; // Euro format hh:mm (hh=00..23);
$SITE['dateOnlyFormat'] = 'd/m/Y T'; // for 31-Mar-2008 or 'd/m/Y' for Euro format
- 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
Sure.. the proper place to put the translation is in language-LL.txt (LL is the language code) somewhere between themeteotortosa wrote:Where can I transalte this?
I see is the same in all languages
conditions|begin||
...
langlookup|Few clouds|<translation for few clouds>|
...
conditions|end||
lines.
- meteotortosa
- Posts: 323
- Joined: Thu 04 Dec 2008 12:15 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Windows XP SP3
- Location: Tortosa-Baix Ebre- Catalonia
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
That's my "language-ct.txt"saratogaWX wrote:Sure.. the proper place to put the translation is in language-LL.txt (LL is the language code) somewhere between themeteotortosa wrote:Where can I transalte this?
I see is the same in all languages
conditions|begin||
...
langlookup|Few clouds|<translation for few clouds>|
...
conditions|end||
lines.
You can see: http://www.meteotortosa.cat/web3/wxindex.php
Code: Select all
conditions|begin||
langlookup|Dry|Sec|
langlookup|Light rain|Pluja dèbil|
langlookup|Moderate drizzle|Plugim|
langlookup|Moderate rain|Pluja|
langlookup|Heavy rain|Pluja forta|
langlookup|Stopped raining|Ha deixat de ploure|
# conditions time
langlookup|Dawn|Alba|
langlookup|Dusk|Crepuscle|
langlookup|Night time|Nit|
# Clouds (sky)
langlookup|Clear|Seré|
langlookup|Sunny|Assolellat|
langlookup|Clear skies|Despejat|
langlookup|Mostly sunny|Practicament despejat|
langlookup|A few clouds|Alguns núvols|
langlookup|Sc|Parcialment cobert|
langlookup|Partly cloudy|Bastant cobert|
langlookup|Mostly cloudy|Núvols i clarianes|
langlookup|Cloudy with clear p|Núvols i clarianes|
langlookup|Overcast|Tapat|
conditions|end||Weather in Tortosa (NE Spain), updated every 15'

- 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
So, just change to and it should work for Catalan 
Code: Select all
langlookup|A few clouds|Alguns núvols|
Code: Select all
langlookup|A few clouds|Alguns núvols|
langlookup|Few clouds|Alguns núvols|