PDF.js v2.6.347 (build: 3be9c65f) Message: Missing PDF

Describe the issue or problem
Hi! Everything was fine before(1-2 month ago), but now we cant download article pdf files.

Error msg:

PDF.js v2.6.347 (build: 3be9c65f)
Message: Missing PDF “https://khoomey-journal.ru/index.php/journal/article/download/4/9/78”.

Someone advised to reload the article files, but nothing changed.
What else can be done?
OJS 3.4.0.6
PHP error log:

khoomey-journal.ru [Mon Jun 02 01:20:49 2025] [php:notice] [pid 933011:tid 933011] [client 205.210.31.138:0] Exception: The ORCID plugin is enabled, but its settings are invalid. In order to fix, access the plugin settings and try to save the form in /home/h/hoomeyru/khoomey-journal_ru/public_html/plugins/generic/orcidProfile/OrcidProfilePlugin.php:106\nStack trace:\n#0 /home/h/hoomeyru/khoomey-journal_ru/public_html/lib/pkp/classes/plugins/PluginRegistry.php(76): APP\plugins\generic\orcidProfile\OrcidProfilePlugin->register(‘generic’, ‘plugins/generic…’, NULL)\n#1 /home/h/hoomeyru/khoomey-journal_ru/public_html/lib/pkp/classes/plugins/PluginRegistry.php(121): PKP\plugins\PluginRegistry::register(‘generic’, Object(APP\plugins\generic\orcidProfile\OrcidProfilePlugin), ‘plugins/generic…’, NULL)\n#2 [internal function]: PKP\plugins\PluginRegistry::PKP\plugins\{closure}(Object(APP\plugins\generic\orcidProfile\OrcidProfilePlugin), ‘plugins/generic…’)\n#3 /home/h/hoomeyru/khoomey-journal_ru/public_html/lib/pkp/classes/plugins/PluginRegistry.php(121): array_walk_recursive(Array, Object(Closure))\n#4 /home/h/hoomeyru/khoomey-journal_ru/public_html/lib/pkp/classes/core/Dispatcher.php(155): PKP\plugins\PluginRegistry::loadCategory(‘generic’, true)\n#5 /home/h/hoomeyru/khoomey-journal_ru/public_html/lib/pkp/classes/core/PKPApplication.php(395): PKP\core\Dispatcher->dispatch(Object(APP\core\Request))\n#6 /home/h/hoomeyru/khoomey-journal_ru/public_html/index.php(21): PKP\core\PKPApplication->execute()\n#7 {main}
khoomey-journal.ru [Mon Jun 02 01:36:17 2025] [php:error] [pid 165862:tid 165862] [client 13.79.174.129:0] script ‘/home/h/hoomeyru/khoomey-journal_ru/public_html/byp.php’ not found or unable to stat
khoomey-journal.ru [Mon Jun 02 01:36:18 2025] [php:error] [pid 165868:tid 165868] [client 13.79.174.129:0] script ‘/home/h/hoomeyru/khoomey-journal_ru/public_html/simple.php’ not found or unable to stat
khoomey-journal.ru [Mon Jun 02 01:36:18 2025] [php:error] [pid 165870:tid 165870] [client 13.79.174.129:0] script ‘/home/h/hoomeyru/khoomey-journal_ru/public_html/ini.php’ not found or unable to stat
khoomey-journal.ru [Mon Jun 02 01:36:18 2025] [php:error] [pid 165872:tid 165872] [client 13.79.174.129:0] script ‘/home/h/hoomeyru/khoomey-journal_ru/public_html/403.php’ not found or unable to stat
khoomey-journal.ru [Mon Jun 02 01:36:18 2025] [php:error] [pid 165875:tid 165875] [client 13.79.174.129:0] script ‘/home/h/hoomeyru/khoomey-journal_ru/public_html/file.php’ not found or unable to stat
khoomey-journal.ru [Mon Jun 02 01:36:19 2025] [php:error] [pid 165878:tid 165878] [client 13.79.174.129:0] script ‘/home/h/hoomeyru/khoomey-journal_ru/public_html/classwithtostring.php’ not found or unable to stat
khoomey-journal.ru [Mon Jun 02 01:36:19 2025] [php:error] [pid 173393:tid 173393] [client 13.79.174.129:0] script ‘/home/h/hoomeyru/khoomey-journal_ru/public_html/install.php’ not found or unable to stat
khoomey-journal.ru [Mon Jun 02 01:36:19 2025] [php:error] [pid 176085:tid 176085] [client 13.79.174.129:0] script ‘/home/h/hoomeyru/khoomey-journal_ru/public_html/makeasmtp.php’ not found or unable to stat
khoomey-journal.ru [Mon Jun 02 01:36:19 2025] [php:error] [pid 182701:tid 182701] [client 13.79.174.129:0] script ‘/home/h/hoomeyru/khoomey-journal_ru/public_html/13.php’ not found or unable to stat
khoomey-journal.ru [Mon Jun 02 01:36:19 2025] [php:error] [pid 183624:tid 183624] [client 13.79.174.129:0] script ‘/home/h/hoomeyru/khoomey-journal_ru/public_html/item.php’ not found or unable to stat
khoomey-journal.ru [Mon Jun 02 01:36:20 2025] [php:error] [pid 183625:tid 183625] [client 13.79.174.129:0] script ‘/home/h/hoomeyru/khoomey-journal_ru/public_html/max.php’ not found or unable to stat
khoomey-journal.ru [Mon Jun 02 01:36:20 2025] [php:error] [pid 183627:tid 183627] [client 13.79.174.129:0] script ‘/home/h/hoomeyru/khoomey-journal_ru/public_html/about.php’ not found or unable to stat
khoomey-journal.ru [Mon Jun 02 01:36:20 2025] [php:error] [pid 193739:tid 193739] [client 13.79.174.129:0] script ‘/home/h/hoomeyru/khoomey-journal_ru/public_html/admin.php’ not found or unable to stat
khoomey-journal.ru [Mon Jun 02 07:19:43 2025] [php:notice] [pid 220163:tid 220163] [client 188.254.102.140:0] Skipped indexation: No suitable parser for the submission file “journals/1/articles/4/67c54cc1d6541.pdf”, referer: https://khoomey-journal.ru/index.php/journal/workflow/index/4/5
khoomey-journal.ru [Mon Jun 02 07:20:00 2025] [php:notice] [pid 226501:tid 226501] [client 188.254.102.140:0] ojs2: 404 Not Found, referer: https://khoomey-journal.ru/plugins/generic/pdfJsViewer/pdf.js/web/viewer.html?file=https%3A%2F%2Fkhoomey-journal.ru%2Findex.php%2Fjournal%2Farticle%2Fdownload%2F4%2F9%2F78
khoomey-journal.ru [Mon Jun 02 07:20:15 2025] [php:notice] [pid 226497:tid 226497] [client 188.254.102.140:0] ojs2: 404 Not Found, referer: https://khoomey-journal.ru/plugins/generic/pdfJsViewer/pdf.js/web/viewer.html?file=https%3A%2F%2Fkhoomey-journal.ru%2Findex.php%2Fjournal%2Farticle%2Fdownload%2F4%2F9%2F78
khoomey-journal.ru [Mon Jun 02 07:22:41 2025] [php:notice] [pid 261551:tid 261551] [client 176.208.0.85:0] ojs2: 404 Not Found, referer: https://khoomey-journal.ru/plugins/generic/pdfJsViewer/pdf.js/web/viewer.html?file=https%3A%2F%2Fkhoomey-journal.ru%2Findex.php%2Fjournal%2Farticle%2Fdownload%2F4%2F9%2F78
khoomey-journal.ru [Mon Jun 02 07:22:58 2025] [php:notice] [pid 267166:tid 267166] [client 188.254.102.140:0] Skipped indexation: No suitable parser for the submission file “journals/1/articles/15/67c6934b6f902.pdf”, referer: https://khoomey-journal.ru/index.php/journal/manageIssues
khoomey-journal.ru [Mon Jun 02 07:22:58 2025] [php:notice] [pid 267166:tid 267166] [client 188.254.102.140:0] Skipped indexation: No suitable parser for the submission file “journals/1/articles/14/67c6911ba2e8b.pdf”, referer: https://khoomey-journal.ru/index.php/journal/manageIssues
khoomey-journal.ru [Mon Jun 02 07:22:58 2025] [php:notice] [pid 267166:tid 267166] [client 188.254.102.140:0] Skipped indexation: No suitable parser for the submission file “journals/1/articles/13/67c68f3312074.pdf”, referer: https://khoomey-journal.ru/index.php/journal/manageIssues
khoomey-journal.ru [Mon Jun 02 07:22:58 2025] [php:notice] [pid 267166:tid 267166] [client 188.254.102.140:0] Skipped indexation: No suitable parser for the submission file “journals/1/articles/12/67c68d9e7c22e.pdf”, referer: https://khoomey-journal.ru/index.php/journal/manageIssues
khoomey-journal.ru [Mon Jun 02 07:22:58 2025] [php:notice] [pid 267166:tid 267166] [client 188.254.102.140:0] Skipped indexation: No suitable parser for the submission file “journals/1/articles/11/67c68a43a2a56.pdf”, referer: https://khoomey-journal.ru/index.php/journal/manageIssues
khoomey-journal.ru [Mon Jun 02 07:22:58 2025] [php:notice] [pid 267166:tid 267166] [client 188.254.102.140:0] Skipped indexation: No suitable parser for the submission file “journals/1/articles/10/67c6848e3503d.pdf”, referer: https://khoomey-journal.ru/index.php/journal/manageIssues
khoomey-journal.ru [Mon Jun 02 07:22:58 2025] [php:notice] [pid 267166:tid 267166] [client 188.254.102.140:0] Skipped indexation: No suitable parser for the submission file “journals/1/articles/9/67c6821537fa5.pdf”, referer: https://khoomey-journal.ru/index.php/journal/manageIssues
khoomey-journal.ru [Mon Jun 02 07:22:58 2025] [php:notice] [pid 267166:tid 267166] [client 188.254.102.140:0] Skipped indexation: No suitable parser for the submission file “journals/1/articles/8/67c67ff734913.pdf”, referer: https://khoomey-journal.ru/index.php/journal/manageIssues
khoomey-journal.ru [Mon Jun 02 07:22:58 2025] [php:notice] [pid 267166:tid 267166] [client 188.254.102.140:0] Skipped indexation: No suitable parser for the submission file “journals/1/articles/7/67c67e57ec404.pdf”, referer: https://khoomey-journal.ru/index.php/journal/manageIssues
khoomey-journal.ru [Mon Jun 02 07:22:58 2025] [php:notice] [pid 267166:tid 267166] [client 188.254.102.140:0] Skipped indexation: No suitable parser for the submission file “journals/1/articles/6/67c5522fbd8dd.pdf”, referer: https://khoomey-journal.ru/index.php/journal/manageIssues
khoomey-journal.ru [Mon Jun 02 07:22:58 2025] [php:notice] [pid 267166:tid 267166] [client 188.254.102.140:0] Skipped indexation: No suitable parser for the submission file “journals/1/articles/5/67c54f1ef14ff.pdf”, referer: https://khoomey-journal.ru/index.php/journal/manageIssues
khoomey-journal.ru [Mon Jun 02 07:22:58 2025] [php:notice] [pid 267166:tid 267166] [client 188.254.102.140:0] Skipped indexation: No suitable parser for the submission file “journals/1/articles/4/67c54cc1d6541.pdf”, referer: https://khoomey-journal.ru/index.php/journal/manageIssues
khoomey-journal.ru [Mon Jun 02 07:22:58 2025] [php:warn] [pid 267166:tid 267166] [client 188.254.102.140:0] PHP Warning: Base directory cache does not exist,\n please create or change using %Cache.SerializerPath in /home/h/hoomeyru/khoomey-journal_ru/public_html/lib/pkp/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer.php on line 235, referer: https://khoomey-journal.ru/index.php/journal/manageIssues
khoomey-journal.ru [Mon Jun 02 07:22:58 2025] [php:warn] [pid 267166:tid 267166] [client 188.254.102.140:0] PHP Warning: Base directory cache does not exist,\n please create or change using %Cache.SerializerPath in /home/h/hoomeyru/khoomey-journal_ru/public_html/lib/pkp/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer.php on line 235, referer: https://khoomey-journal.ru/index.php/journal/manageIssues
khoomey-journal.ru [Mon Jun 02 07:22:58 2025] [php:warn] [pid 267166:tid 267166] [client 188.254.102.140:0] PHP Warning: Base directory cache does not exist,\n please create or change using %Cache.SerializerPath in /home/h/hoomeyru/khoomey-journal_ru/public_html/lib/pkp/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer.php on line 235, referer: https://khoomey-journal.ru/index.php/journal/manageIssues
khoomey-journal.ru [Mon Jun 02 07:22:58 2025] [php:warn] [pid 267166:tid 267166] [client 188.254.102.140:0] PHP Warning: Base directory cache does not exist,\n please create or change using %Cache.SerializerPath in /home/h/hoomeyru/khoomey-journal_ru/public_html/lib/pkp/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer.php on line 235, referer: https://khoomey-journal.ru/index.php/journal/manageIssues
khoomey-journal.ru [Mon Jun 02 07:22:58 2025] [php:warn] [pid 267166:tid 267166] [client 188.254.102.140:0] PHP Warning: Base directory cache does not exist,\n please create or change using %Cache.SerializerPath in /home/h/hoomeyru/khoomey-journal_ru/public_html/lib/pkp/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer.php on line 235, referer: https://khoomey-journal.ru/index.php/journal/manageIssues
khoomey-journal.ru [Mon Jun 02 07:22:58 2025] [php:warn] [pid 267166:tid 267166] [client 188.254.102.140:0] PHP Warning: Base directory cache does not exist,\n please create or change using %Cache.SerializerPath in /home/h/hoomeyru/khoomey-journal_ru/public_html/lib/pkp/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer.php on line 235, referer: https://khoomey-journal.ru/index.php/journal/manageIssues
khoomey-journal.ru [Mon Jun 02 07:08:26 2025] [php:notice] [pid 78566:tid 78566] [client 188.254.102.140:0] ojs2: 404 Not Found, referer: https://khoomey-journal.ru/plugins/generic/pdfJsViewer/pdf.js/web/viewer.html?file=https%3A%2F%2Fkhoomey-journal.ru%2Findex.php%2Fjournal%2Farticle%2Fdownload%2F21%2F1%2F91

Hello
Did you click Delete Data Caches or Delete Template Cache?

Hi @Chingis,

What is the files_dir setting in your config. Inc.php file (and is it correct)?

Regards,
Alec Smecher
Public Knowledge Project Team

Hello man! yes, i did it.

I have same issue,
All files has been deleted include “Publisher Library” :frowning:

; Complete path to directory to store uploaded files
; (This directory should not be directly web-accessible)
; Windows users should use forward slashes
files_dir = /home/h/hoomeyru/khoomey-journal_ru/public_html/docs/manual/pt

; Path to the directory to store public uploaded files
; (This directory should be web-accessible and the specified path
; should be relative to the base OJS directory)
; Windows users should use forward slashes
public_files_dir = public

; The maximum allowed size in kilobytes of each user’s public files
; directory. This is where user’s can upload images through the
; tinymce editor to their bio. Editors can upload images for
; some of the settings.
; Set this to 0 to disallow such uploads.
public_user_dir_size = 5000

; Permissions mask for created files and directories
umask = 0022

; The minimum percentage similarity between filenames that should be considered
; a possible revision
filename_revision_match = 70

;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Fileinfo (MIME) Settings ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Hi! How check to correct ?

Hi @Chingis,

That’s a dangerous configuration, unless you’ve protected your files from direct access through the browser. As noted in the configuration file, the files_dir directory should not be web-accessible. It’s possible that your journal has been hacked through a malicious upload; I’d recommend moving the files_dir outside of public_html as soon as possible and reviewing its contents for signs of trouble.

Regards,
Alec Smecher
Public Knowledge Project Team