no solutions founded...
1) disabled all plugins
2) disabled gzip
3) disabled https
4) downgraded php to 7.0
5) uploaded website on dev server or tests
6) loaded phocadownload : it works correctly...
7) changed the template to Protostar
I have no others ides...
Any suggestion ?
My users were reporting issues with opening/downloading attachments as well, especially on mobile devices. I ended up replacing link to function getfile with simple link to the file itself. No download issues reported since.
It looks like your Attachment Path (BE->Components->JEM->Settings ->Global Parameters tab) has "/" before and after path, thus creating starting //, which prevents browser from adding domain name. This is due to function postUpload in JEMAttachment class adding / on line 38
Just thought of something... that will work only for newly added attachments, since the attachment path is stored in DB. Probably, best then to add code to replace all "//" in attachment path with "/". Will test now and post here next few minutes.
Checked - attachment path is not stored in DB, so amending settings will do the trick.