Solution for downloadproblems with IE

Phoca Download - download manager
hwevers
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 05 May 2009, 13:18

Solution for downloadproblems with IE

Post by hwevers »

I have had many complaints lately that my files were not downloadable with IE. The error message was:
Internet Explorer cannot download File.doc from ServerName.

Internet Explorer was not able to open this Internet Site. The requested site is either unavailable or cannot be found. Please try again later."
After some googleing I found:http://support.microsoft.com/?kbid=317208

I tried to follow this by making changes to phocadownload.php as follows starting at line 86:

Code: Select all

//          header("Cache-Control: public, must-revalidate");
//          header('Cache-Control: pre-check=0, post-check=0, max-age=0');
//          header("Pragma: no-cache");
//          header("Expires: 0");
$expires = 60*60*24*14;
header("Pragma: public");
header("Cache-Control: maxage=".$expires);
header('Expires: ' . gmdate('D, d M Y H:i:s', time()+$expires) . ' GMT');
And lo and behold, all problems have gone. (other browsers will stay ok).
Henk
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Solution for downloadproblems with IE

Post by Jan »

Hi, thank you for this info

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