Pdf.js Viewer 404 not found error in 3.4.0.8 version of OJS

We have five journals running. Four are working fine. The fifth just published its first issue. Clicking the viewer buttons for the PDFs result in the viewer 404 error page not found appearing center page.

  • OJS version 3.4.0.8
  • PHP 8.1.30
  • Apache version LiteSpeed

  • File path is correct
  • File permission is correct
  • Use the newer and older version of pdf.js but not work
  • Review the article submersion and galley but no problem.
    Please Help me…thanks :folded_hands:

Hi @RASA,

Can you please check your PHP error logs and report on errors found there? This typically provides more clues as to what the issue is.

-Roger
PKP Team

1 Like

Thanks for answer.

Error log
2025-04-15 07:57:51.089967 [ERROR] [1156897] [T0] [HTAccess] Failed to open /public_html/plugins/generic/.htaccess]: Permission denied
2025-04-15 07:57:51. [INFO] www.jss.keu-journals.com:443] File not found domains/jss.keu-journals.com/public_html/plugins/generic/pdfJsViewer/pdf.js/web/viewer.html]

Thanks @rcgillis ,Finally I got where the problem.
Problem was in plugin file permission.

1 Like

This topic was automatically closed after 13 days. New replies are no longer allowed.