Forum
Runway Secure Downloads
Hi I'm trying to get secure downloads to work on my live server, for some reason it won't, it's all working fine on my local dev copy.
The file uploads into the correct location but when you try and download the file nothing happens, there is no PHP error just nothing happens.
debug on the page shows the correct arguments too, I just can't seem to grasp why it's not working.
Page arguments:
Array
(
[0] => /download/file.pdf
[file] => file.pdf
[1] => file.pdf
)
What's different between the two environments?
Nothing glaringly obvious, both have the same set up.
Do you want the diagnostics?
Yes - it's a good idea to always post your Diagnostic Report with a post to the forum.
I know Perch is a couple of sub versions out of date, but it's running fine on this version locally.
It doesn't look like you have FileInfo installed - you'll want that to be able to detect the file's mime type.
Bingo. Thank you