PDF corrupted or format error

Giusy_Gallo1
Mon, 09 Mar 2026 18:58:48 +0000
Software Support

Hello,

I am facing a problem downloading PDFs. In January, we upgraded from 2.4.8 to 3.2.1.0.

At the moment, with OJS 3.2.1.0 and PHP 7.2.29, I have uploaded a new issue of the journal, which displays correctly.

For each article, the preview opens in the browser, the download starts and finishes, but the error “format error: the file is not a PDF or is damaged” appears when I try to open the file.

On the server side, the PDFs are readable in the folder that stores the publicly uploaded files.

I have read about possible conversion issues during download, but I cannot figure out how to resolve it.

I hope you can help us.

Thank you.

Giusy

What application are you using?
OJS 3.2.1.0. PHP 7.2.29

Additional information
We are waiting to switch from a Windows server to Linux in order to work on a newer, updated version of OJS.

On the dashboard side, I have noticed a difficulty in loading the Plugins and Static Pages. This is another reason why we need to hurry up and migrate to the new server, but in the meantime, we would like users to be able to download the article files.

7 posts - 2 participants