Page 1 of 1

[SOLVED] Problem to preview a file in a subfolder

Posted: 21 Nov 2013, 09:57
by maninblack57
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

Re: Problem to preview a file in a subfolder

Posted: 23 Nov 2013, 16:34
by Jan
Hi, the slash should not do the problem - you should check if the path is correct :idea: Does it work Ok, when you leave the play and preview folder as default :idea:

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

Re: [SOLVED] Problem to preview a file in a subfolder

Posted: 28 Nov 2013, 10:42
by maninblack57
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 :x but when I install the same site on a Unix server it works great ! :twisted: