pdf preview is broken on safari
Collapse
X
-
I guess you already tried all of these proposals: https://www.makeuseof.com/cant-open-...ri-how-to-fix/ -
Try change this line https://github.com/espocrm/espocrm/b...chment.php#L98
to
Just for experiment. This would be not a proper fix.Code:->writeBody($stream->getContents());
changed the line, cleared the cache/rebuild/private browser, didn't help
Thanks for your help, I am ready to try more optionsLeave a comment:
-
Try change this line https://github.com/espocrm/espocrm/b...chment.php#L98
to
Just for experiment. This would be not a proper fix.Code:->writeBody($stream->getContents());
Leave a comment:
-
> should I do/try something?
We don't know. Both me and Vadym are not specialists on this matter. We hope you or someone else who can reproduce this issue could help.Leave a comment:
-
I can't look into this issue at the moment and the nearest future. If you or someone else could try to figure out what is the cause of the problem and how to make it work in Safari, I'd appreciate. Any help, input appreciated.Leave a comment:
-
Can we do something with that? ThanksMaybe because Espo uses stream downloading: https://github.com/espocrm/espocrm/b...nload.php#L107
I can't check now as I don't have Safari.Leave a comment:
-
Maybe because Espo uses stream downloading: https://github.com/espocrm/espocrm/b...nload.php#L107
I can't check now as I don't have Safari.Leave a comment:
-
-
-
I bet it is Safari's issue but they are not resolving it and at the same time, dummy .pdf link from w3schools or amazon s3 works just fine, can't we do something?
ThanksLeave a comment:
-
Hi Russ,
disable cache in admin section.
clear cache in admin section
clear cache in safari
then try to download and give info if file is corrupt when download.
Leave a comment:

Leave a comment: