Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
FileUpload URL Not Working
Hello,
I have used FileUpload before and it works fine. However, I just installed it on a new domain and it is not working.
I am using the latest download of FileUpload and Vanilla 2.0.17.9
When I click on the attached file I get a file not found error message in my browser.
it is trying to get the file at: http://domain.org/forum/index.php?p=/uploads/FileUpload/2f/cc0e44c9b2b3782b75f7173ce14de0.pdf
However, if I remove the index.php?p=/ in the url the file renders. So the file does in fact exist, its just that the path is incorrect.
On the previous versions I would see a paper click along with a proper file name. Can anyone help with this?
I have used FileUpload before and it works fine. However, I just installed it on a new domain and it is not working.
I am using the latest download of FileUpload and Vanilla 2.0.17.9
When I click on the attached file I get a file not found error message in my browser.
it is trying to get the file at: http://domain.org/forum/index.php?p=/uploads/FileUpload/2f/cc0e44c9b2b3782b75f7173ce14de0.pdf
However, if I remove the index.php?p=/ in the url the file renders. So the file does in fact exist, its just that the path is incorrect.
On the previous versions I would see a paper click along with a proper file name. Can anyone help with this?
Tagged:
0
Answers
The solution to this is to go to line 19 in link_files.php in FileUpload/views
change it to: $DownloadUrl = Asset(MediaModel::Url($Media));