File download is broken

Permalink
I'm having lots of problems with my file download options. I have built a custom block and thought all along that it was this that was causing problems but I've used the file block an also used the 'add file' option in the content block and these don't work either.

The links seem to be being created properly;

href="http://www.mydomain.co.uk/concrete5_dir/index.php/download_file/33/1/"


...but this results in a 'Page not found'...

Any suggestions? I've been pulling my hair out...

shooftie
 
Hammertime replied on at Permalink Reply
Have you FTP'ed to the server and checked whether the files you expect to be there are in fact located in those directories?

And, also, you might want to check permissions on your cache directory - I've had plenty of weird behavior due to those being set incorrectly (as far as I remember, they have to belong to Apache/www-data - otherwise you get into trouble)

Hope you figure it out!
jordanlev replied on at Permalink Reply
jordanlev
Don't bother trying to see if the files exist at that path with FTP -- they won't be there because that URL tells C5 which file to load based on a file id number, not the path it's stored in.
Unfortunately I don't know what could be causing this -- could be a cache permission issue like the previous commented suggests. You could also try downloading the file from the file manager in the dashboard and see if that works at all.
ceanndesign replied on at Permalink Reply
Shooftie... did you solve this problem? I am having the same issues.