Download Problem

Phoca Download - download manager
slay1373
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 16 Nov 2009, 16:41

Download Problem

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48743
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Download Problem

Post 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
If you find Phoca extensions useful, please support the project
slay1373
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 16 Nov 2009, 16:41

Re: Download Problem

Post by slay1373 »

Jan,
I have sent you a PM as there are login details to the site.

Danny
slay1373
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 16 Nov 2009, 16:41

Re: Download Problem

Post 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');
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48743
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Download Problem

Post by Jan »

Ok thanks for the information.

Jan
If you find Phoca extensions useful, please support the project
Post Reply