Page 1 of 1

Download Problem

Posted: 16 Nov 2009, 16:44
by slay1373
Can anyone help? I am setting up a site and it needs to have SSL on, i therefore have enabled Force SSL in the server configuration within Joomla.

Since this happened files will not download from the site from Phoca Download? I can preview them, but not download? I switched of Force SSL and they were available for download? So is there a workaround to enable SSL and be able to download documents?

Thanks.

Re: Download Problem

Posted: 16 Nov 2009, 18:47
by Jan
Hi, please let me know the site where this occurs (with ssl enabled) so I can see where can be the problem.

Thank you, Jan

Re: Download Problem

Posted: 17 Nov 2009, 11:54
by slay1373
Jan,
I have sent you a PM as there are login details to the site.

Danny

Re: Download Problem

Posted: 30 Nov 2009, 12:52
by slay1373
Solved it!!

Jan i have found a solution to the problem that was indicated by my host.

I have cut and pasted their response below...

Edit this file:

components/com_phocadownload/helpers/phocadownload.php lines 80-83

Comment out these lines:

// header("Pragma: public");
// header('Cache-Control: no-store, no-cache, must-revalidate');
// header('Cache-Control: pre-check=0, post-check=0, max-age=0');
// header('Pragma: no-cache');
// header('Expires: 0');

and add this line at the same location:

header('Cache-Control: private, max-age=0, must-revalidate, no-store');

Re: Download Problem

Posted: 02 Dec 2009, 00:42
by Jan
Ok thanks for the information.

Jan