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

Change in file uploads

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
User avatar
avoorpool
Posts: 168
Joined: Tue 08 May 2012 4:24 pm
Weather Station: WMR200A
Operating System: Windows 10 64-bit
Location: Pickering, Ontario Canada
Contact:

Change in file uploads

Post by avoorpool »

Hi Steve,

I guess a simple question for you.

I renamed my indexT.htm file into indexT.php since I've inserted a simple script from Environment Canada which issues weather warnings & alerts (if applicable). (see attachment)
My files are uploaded every 5 mins (Standard files, html files and additional ftp)
Where do I change the upload of 'standard files and 'html files', so the indexT.php file will be uploaded every 5 mins and not the indexT.html file???

Thanks,

Arthur
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Change in file uploads

Post by steve »

Add your indexT.php file to the 'files' tab of the internet settings, and give it a remote name with the correct path (i.e. your ftp directory) with index.php on the end. Tick 'process' and 'ftp'. If you've renamed indexT.htm, then a file with that name no longer exists, so Cumulus won't find it when it looks for it, so it won't get processed and uploaded.
Steve
User avatar
avoorpool
Posts: 168
Joined: Tue 08 May 2012 4:24 pm
Weather Station: WMR200A
Operating System: Windows 10 64-bit
Location: Pickering, Ontario Canada
Contact:

Re: Change in file uploads

Post by avoorpool »

Great!!

Thanks Steve.
User avatar
avoorpool
Posts: 168
Joined: Tue 08 May 2012 4:24 pm
Weather Station: WMR200A
Operating System: Windows 10 64-bit
Location: Pickering, Ontario Canada
Contact:

Re: Change in file uploads

Post by avoorpool »

Hi Steve,

I've set the indexT.php upload in the Cumulus.ini file (remote: index.php).

I try to figure out where the 'index page' setting needs to be changed.
Using 'http://altonaweather.ca' it used to show the index page. (http://altonaweather.ca/index.htm)
When I use it now, nothing shows....
Probably forgot where to address the actual index page.

Thanks,

Arthur
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Change in file uploads

Post by mcrossley »

You probably need to put a redirect in a .htaccess file on your web server from index.htm to index.php
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Change in file uploads

Post by steve »

When your browser asks for a URL without a page, the web server should look for a default page, e.g. index.htm etc. Normally, index.php would be one of the files it looks for, but your server appears to be sending a blank page instead. You need to look in your root directory to see if you have any files which might be being used as the default in preference to index.php, and delete them. If there aren't any, then perhaps your web server needs configuring to look for index.php as a default page. You can usually do this yourself with a .htaccess file in the root with a DirectoryIndex command in it, e.g.

DirectoryIndex index.php
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Change in file uploads

Post by steve »

Actually, I've just realised that Cumulus will be uploading a blank index.htm because the indexT.htm file doesn't exist, so the hack of removing/renaming the indexT.htm file isn't perfect.

Because of that, Mark's suggestion of a redirect is probably your easiest fix.
Steve
User avatar
avoorpool
Posts: 168
Joined: Tue 08 May 2012 4:24 pm
Weather Station: WMR200A
Operating System: Windows 10 64-bit
Location: Pickering, Ontario Canada
Contact:

Re: Change in file uploads

Post by avoorpool »

Thanks guys,

Added a 'default page' (index.php) in the htaccess section of my server.
Works fine now.

Cheers,

Arthur
Post Reply