Welcome, Guest
Username: Password: Remember me

TOPIC: Corrupted pdf download from attachements?

Corrupted pdf download from attachements? 3 months 2 weeks 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.

Corrupted pdf download from attachements? 3 months 2 weeks ago #25654

  • jojo12
  • jojo12's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 3039
  • Karma: 45
  • Thank you received: 310
sorry, but you are very late actual is JEM 2.2.3, Joomla 3.9.2 php is ok.
5.5.5-10.0.30-MariaDB-0+deb8u1
PHP 7.2.9 on different sites
Apache
JEM 2.3.0dev 2.0M and specials with Joomla! 3.9.3 stable on livesites
ja_simply, ja_purity_iii, multilingual DE EN IT FR

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

Corrupted pdf download from attachements? 3 months 2 weeks 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.

Corrupted pdf download from attachements? 3 months 2 weeks ago #25663

Any suggestion ?

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

Corrupted pdf download from attachements? 3 months 2 weeks ago #25664

  • jojo12
  • jojo12's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 3039
  • Karma: 45
  • Thank you received: 310
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.
5.5.5-10.0.30-MariaDB-0+deb8u1
PHP 7.2.9 on different sites
Apache
JEM 2.3.0dev 2.0M and specials with Joomla! 3.9.3 stable on livesites
ja_simply, ja_purity_iii, multilingual DE EN IT FR

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

Corrupted pdf download from attachements? 1 month 3 weeks ago #25915

  • Egnarts
  • Egnarts's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 255
  • Karma: -3
  • Thank you received: 107
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?
Take a look at the responsive version of JEM: The Responsive JEM

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

Last edit: by Egnarts.
Time to create page: 0.202 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......