Calc Builder Support

Calc Builder support
Public write access is disabled. Please login

PDF Download on Chrome Not Working 26.03.2015 04:32

Anyone else experiencing an issue downloading the PDF when using Chrome's built in PDF viewer.

I can print, zoom, etc.... but not Save or even right-click and Save As.

When I switch off the built in PDF viewer (and hence use Adobe) it works as expected...but I can't expect all users to do this.

I know it's not just my config as I had a number of other folks try it on their machines and they too couldn't download.

I am running a secure SSL site...not sure if that may have something to do with it.

Any ideas...........?

Edited by satatwork - 26.03.2015 12:31

Re: PDF Download on Chrome Not Working 26.03.2015 09:18

we have tested with a http site and the chrome viewer works as expected. However we have googled about the issue and we've found it's a known bug of chrome and may be related to https:

we suggest to upgrade chrome to latest version, for ex we are able to print pdfs from our https moonsoft site using chrome V 41.0.2272.101

Hope this helps, regards
Moonsoft Team

Re: PDF Download on Chrome Not Working 26.03.2015 12:35

I too am using 41.0.2272.101

Would you mind testing my calculator at

Let me know if you can Save using the icon or the Save-As feature

Trying to see if it is a server (or SSL) config on my end...


Re: PDF Download on Chrome Not Working 26.03.2015 13:55

at your site we're not able to save either. To discard if it's a ssl issue or if there is an specific problem with the pdfs created by the library of the calculator we tested also a pdf created with calcbuilder at our site with https, and it also worked fine. It's here in case you want to try

So we think maybe chrome has some problem with the headers sent from your site, we can suggest to play with this file in charge of returning the pdf


maybe you can uncomment the line which sets the pdf as an attachment:
JResponse::setHeader('Content-Disposition', 'attachment;......
, maybe it can work better at your site, or ask your hosting about this issue in case they know a valid combination of headers that can work at your server.

Hope this helps, regards
Moonsoft Team

Re: PDF Download on Chrome Not Working 26.03.2015 16:18


Uncommenting the line you referenced now forces the PDF to be downloaded rather than rendered in the chrome browser.

That will definitely do for now until the folks at Google release version 41.

This is a known issue in version 40 and even some large organizations (such as TD Bank in Canada and other companies using SSL websites) are experiencing it.

If I can work out why my server or Joomla config causes the bug to happen in Chrome I will post the solution here.

Re: PDF Download on Chrome Not Working 26.03.2015 16:20

Great the workaround worked. Thank you very much for the feedback.

Moonsoft Team
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Our clients' feedback