Downloading from Concrete5 does not show progress bar

Permalink
When downloading a file that I have uploaded to our site, the browser does not display a progress bar instead it displays a barber pole and says downloading "xxMB of ?"

It seems to be unable to calculate the file size, therefore it cant show a progress bar so it shows a barber pole.

I noticed this is the same for the Concrete5.org website, so it seems to be a Concrete5 issue.

I am concerned about this because people are used to seeing progress bars for their downloads. If a user doesn't know how long it will take, they'll get impatient or think something wrong with the file and not download the it at all. From a business perspective this is concerning.

Is there a way to correct this problem?

 
hivoltage replied on at Permalink Best Answer Reply
I've solved my own problem - it appears this a bug in Concrete5 when downloading in Safari.

To fix this problem, add the following code to the file '/concrete/helpers/file.php' at line 113:

header("Content-Encoding: plainbinary");

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.