Deleted download_file from Sitemap - Help!
Permalink
I've mistakenly deleted the 'download_file' entry from Site Manager and now my file downloads don't work. This is major screw-up.
How can I get it back?
It's not in the Trash.
The external php file is still there in /concrete/controllers/download_file.php
If I try to add it as a single page, I get an error:
That specified path doesn't appear to be a valid static page.
How can I get it back?
It's not in the Trash.
The external php file is still there in /concrete/controllers/download_file.php
If I try to add it as a single page, I get an error:
That specified path doesn't appear to be a valid static page.
what path did you specify when you tried to add it back?
I'd have thought that "/download_file" works..
Yes, I was entering 'concrete/controllers/download_file.php' into the box, which, when combined with the rest of the string, made 'http://mywebsite.com/concrete/controllers/download_file.php'
.....which is the actual path to the file. This didn't work.
It worked after I just entered 'download_file' into the box.
Silly me for not realising I had to enter an invalid path for it to finally work.
.....which is the actual path to the file. This didn't work.
It worked after I just entered 'download_file' into the box.
Silly me for not realising I had to enter an invalid path for it to finally work.