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
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
Change in file uploads
- 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
You do not have the required permissions to view the files attached to this post.
- 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
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
- 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
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
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
- 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
You probably need to put a redirect in a .htaccess file on your web server from index.htm to index.php
- 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
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
DirectoryIndex index.php
Steve
- 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
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.
Because of that, Mark's suggestion of a redirect is probably your easiest fix.
Steve
- 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
Thanks guys,
Added a 'default page' (index.php) in the htaccess section of my server.
Works fine now.
Cheers,
Arthur
Added a 'default page' (index.php) in the htaccess section of my server.
Works fine now.
Cheers,
Arthur