Customer cannot download files anymore!

Excellent! Thanks … I was starting to get worried.

I am also experiencung dowload problems with my site.

I have read the above posts but can’t find some of the lines of code.

Line 238 in core/fn.fs.php looks like this

header(“Pragma: public”);

header(“Expires: 0”);

header(“Cache-Control: must-revalidate, post-check=0, pre-check=0”);

header(“Cache-Control: private”, false);

header("Content-type: " . fn_get_file_type($path));

I have no .htaccess file in the download directory.

Would it help to have the recommended .htaccess file in this directory?

How do I add the code to the .htaccess file?

Thanks Ben.

You need to be more descriptive Ben

What version of cart are you running? and also what type of errors are being displayed?

Version is 2.0.11

The errors the customers recieve are files are corrupt or empty after downloading files.