Our OJS instance has been having trouble recently as for some journals the pdfs will no longer load. When clicking on them it just takes the user to a blank page. This isn’t happening for all pdfs. Some journals will open the pdf in its own window and display it correctly. Others will download it and close the tab. I’ve checked the pdfs in the file storage as well as I was able to understand. The files were all in the submission folder (newer pdfs didn’t even have a public folder) and they all had the same owner:group and the same permissions.
I’ve noticed that the ones that have an issue will change the url from JOURNAL/article/view/ID to JOURNAL/article/download/ID.
I’ve also noticed that for the journals I’ve checked, the ones older than 2018 aren’t working and the newer ones are. I haven’t checked all journals, so this may be a red herring.
Working links:
https://epubs.utah.edu/index.php/ISUF2020/article/view/4308/3686
https://epubs.utah.edu/index.php/jdss/issue/view/164/JDSS%20Prologue
https://epubs.utah.edu/index.php/HJP/article/view/4124/3528
Non-Working links:
https://epubs.utah.edu/index.php/socialdialogue/article/download/326/266
https://epubs.utah.edu/index.php/URJ/article/download/2716/2358
https://epubs.utah.edu/index.php/URJ/article/download/3923/3333