Hi there,
I have a problem with the parameter "Download folder (play, preview)" in general options.
My Phocadownload version is 2.1.9 / Joomla! 2.5.14
I initialized both download folder and download folder (play, preview) to "images/phocadownload".
I have no problem when I create a new document in backend. Phocadownload is able to find my files in this subfolder.
However, when I click on the "preview" button in frontend, I trigger a 404 error : File not found, and I notice that the url of my file is set to :
[Mysite/images\phocadownload/Myfile.pdf] instead of [Mysite/images/phocadownload/Myfile.pdf]
Do you know why the slash afer "images" is transformed in backslash ? Is it possible to preview a file registered in a subfolder ?
Thanks for your attention
[SOLVED] Problem to preview a file in a subfolder
-
- Phoca Newbie
- Posts: 2
- Joined: 16 Nov 2013, 17:31
[SOLVED] Problem to preview a file in a subfolder
Last edited by maninblack57 on 28 Nov 2013, 10:41, edited 1 time in total.
- Jan
- Phoca Hero
- Posts: 48568
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Problem to preview a file in a subfolder
Hi, the slash should not do the problem - you should check if the path is correct
Does it work Ok, when you leave the play and preview folder as default 
Preview file in subfolder - first you need to set right path (if not the default) - then you can upload the file to some subfolder but you need to set the folder name to file name in file edit - so the path will be correct.
Jan


Preview file in subfolder - first you need to set right path (if not the default) - then you can upload the file to some subfolder but you need to set the folder name to file name in file edit - so the path will be correct.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 16 Nov 2013, 17:31
Re: [SOLVED] Problem to preview a file in a subfolder
Thanks for your answer ; I understand now where the problem comes from.
When I test my site in a Windows 7 local server (locahost) it doesn't work
but when I install the same site on a Unix server it works great ! 
When I test my site in a Windows 7 local server (locahost) it doesn't work

