help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

Corrupted pdf download from attachements?

Corrupted pdf download from attachements?

5 years 8 months ago
#25651
Hi to all,
after upgrade to JEM 2.2 , I discover that all attached pdf uploaded result corrupted on download.
This is the link : website
The uploaded pdf are correct on the server (tried to download and open via FTP)
I'm going crazy...
Any suggestion ?
Thanks in advance.


joomla 3.8.12
PHP 7.0.33
JEM 2.2

Attachments:

Please Log in or Create an account to join the conversation.

Re: Corrupted pdf download from attachements?

5 years 8 months ago
#25654
sorry, but you are very late actual is JEM 2.2.3, Joomla 3.9.2 php is ok.

Please Log in or Create an account to join the conversation.

Re: Corrupted pdf download from attachements?

5 years 8 months ago
#25655
Upgraded JEM version to 2.2.3 and upgraded joomla to ver. 3.9.2 but the result is the same : is not possible to open the downloaded pdf (attachments).

Please Log in or Create an account to join the conversation.

Re: Corrupted pdf download from attachements?

5 years 8 months ago
#25663
Any suggestion ?

Please Log in or Create an account to join the conversation.

Re: Corrupted pdf download from attachements?

5 years 8 months ago
#25664
no, I remember, there were some posts here with this problem, but I don't remember what was the problem.
Have you tried on a clean original joomla! and JEM- Please try with the original joomla templates. Sometimes there are some plugins or templates, which interferes with joomla/and Jem.
In my sites, this problem doesn't exist.
Perhaps other users know more.

Please Log in or Create an account to join the conversation.

Re: Corrupted pdf download from attachements?

5 years 7 months ago - 5 years 7 months ago
#25915
Hey stefanato,
I switched to this topic because you problem is another than the other problem.

After downloading a "corrupted" pdf. Open it in a text editor like notepad++. You will see that there is lot of HTML that should not be there. I'm not shure why, but something of your website inserts lot of html to the pdf files.
If I remove all HTML (from top to <main id="jm-maincontent"> and from </main> to the end of file) the pdf is shown correcly in Adobe PDF Reader. - I tested with: "foto_a_pagina_intera3_1731061396.pdf"

Do you have some crazy plugins or so?
Last edit: 5 years 7 months ago by Egnarts.

Please Log in or Create an account to join the conversation.

Time to create page: 0.551 seconds