Describe the issue or problem
I have OJS 3.4.0.8 installed and it was working fine. Today I tried to view a PDF article and started getting the error: Unexpected server response (503) while retrieving PDF.
Steps I took leading up to the issue
For example:
Go to ‘… ’
Click on ’ Conferencia Plenaria 1: Del laboratorio a la calle. Lecciones de la naturaleza ’
Click on ‘pdf’ or doi
See error: PDF.js v2.6.347 (build: 3be9c65f)
Message: Unexpected server response (503) while retrieving PDF “https://www.nozomiscience.org/index.php/rpn/article/download/6725/5565/17175 ”.
What application are you using?
For example, OJS 3.4.0.8
Additional information
Please add any screenshots, logs or other information we can use to investigate this problem.
This issue doesn’t appear in the preview of new articles. Please help me see older ones again.
Hi @jhisaza ,
A similar error is reported here: PDF files are not opening / downloading after server migration - #4 by KMC
And here:
This error is shown when viewing the pdf:
[06-Dec-2023 13:19:29 UTC] PHP Fatal error: Uncaught Error: Class “finfo” not found in /home/univcpme/public_html/journals/jzs/lib/pkp/lib/vendor/league/mime-type-detection/src/FinfoMimeTypeDetector.php:48
Stack trace:
#0 /home/univcpme/public_html/journals/jzs/lib/pkp/lib/vendor/league/flysystem/src/Local/LocalFilesystemAdapter.php(83): League\MimeTypeDetection\FinfoMimeTypeDetector->__construct()
#1 /home/univcpme/public_html/journals/jzs/lib/pkp/…
As next steps, you may want to try some of the things that are mentioned in these posts.
-Roger
PKP Team