HTTP 500 and File Errors

Im using 3.4.0.8 and I get some errors.

For example index.php/index/admin/index page gives HTTP 500 error

My published articles gives this error: PDF.js sürüm 2.6.347 (yapı: 3be9c65f)
İleti: Unexpected server response (500) while retrieving PDF “https://www.ogrenen.net/index.php/istlj/article/download/17/12/173”.

And the https://www.ogrenen.net/index.php/istlj/article/download/17/12/173 link cant open. It gives ERR_INVALID_RESPONSE.

On the submissions page. I cant reach the files. For example /index.php/istlj/$$$call$$$/api/file/file-api/download-file?submissionFileId=222&submissionId=29&stageId=3 link gives ERR_INVALID_RESPONSE error.

My error log is here:

[17-Mar-2025 17:08:59 UTC] 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/ogrenmen/public_html/ogrenen.net/plugins/generic/orcidProfile/OrcidProfilePlugin.php:106
Stack trace:
#0 /home/ogrenmen/public_html/ogrenen.net/lib/pkp/classes/plugins/PluginRegistry.php(76): APP\plugins\generic\orcidProfile\OrcidProfilePlugin->register(‘generic’, ‘plugins/generic…’, NULL)
#1 /home/ogrenmen/public_html/ogrenen.net/lib/pkp/classes/plugins/PluginRegistry.php(121): PKP\plugins\PluginRegistry::register(‘generic’, Object(APP\plugins\generic\orcidProfile\OrcidProfilePlugin), ‘plugins/generic…’, NULL)
#2 [internal function]: PKP\plugins\PluginRegistry::PKP\plugins{closure}(Object(APP\plugins\generic\orcidProfile\OrcidProfilePlugin), ‘plugins/generic…’)
#3 /home/ogrenmen/public_html/ogrenen.net/lib/pkp/classes/plugins/PluginRegistry.php(121): array_walk_recursive(Array, Object(Closure))
#4 /home/ogrenmen/public_html/ogrenen.net/lib/pkp/classes/core/Dispatcher.php(155): PKP\plugins\PluginRegistry::loadCategory(‘generic’, true)
#5 /home/ogrenmen/public_html/ogrenen.net/lib/pkp/classes/core/PKPApplication.php(395): PKP\core\Dispatcher->dispatch(Object(APP\core\Request))
#6 /home/ogrenmen/public_html/ogrenen.net/index.php(21): PKP\core\PKPApplication->execute()
#7 {main}
[17-Mar-2025 17:10:24 UTC] 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/ogrenmen/public_html/ogrenen.net/plugins/generic/orcidProfile/OrcidProfilePlugin.php:106
Stack trace:
#0 /home/ogrenmen/public_html/ogrenen.net/lib/pkp/classes/plugins/PluginRegistry.php(76): APP\plugins\generic\orcidProfile\OrcidProfilePlugin->register(‘generic’, ‘plugins/generic…’, NULL)
#1 /home/ogrenmen/public_html/ogrenen.net/lib/pkp/classes/plugins/PluginRegistry.php(121): PKP\plugins\PluginRegistry::register(‘generic’, Object(APP\plugins\generic\orcidProfile\OrcidProfilePlugin), ‘plugins/generic…’, NULL)
#2 [internal function]: PKP\plugins\PluginRegistry::PKP\plugins{closure}(Object(APP\plugins\generic\orcidProfile\OrcidProfilePlugin), ‘plugins/generic…’)
#3 /home/ogrenmen/public_html/ogrenen.net/lib/pkp/classes/plugins/PluginRegistry.php(121): array_walk_recursive(Array, Object(Closure))
#4 /home/ogrenmen/public_html/ogrenen.net/lib/pkp/classes/core/Dispatcher.php(155): PKP\plugins\PluginRegistry::loadCategory(‘generic’, true)
#5 /home/ogrenmen/public_html/ogrenen.net/lib/pkp/classes/core/PKPApplication.php(395): PKP\core\Dispatcher->dispatch(Object(APP\core\Request))
#6 /home/ogrenmen/public_html/ogrenen.net/index.php(21): PKP\core\PKPApplication->execute()
#7 {main}
[17-Mar-2025 17:11:12 UTC] Failed to retrieve the latest version info: cURL error 7: Failed to connect to pkp.sfu.ca port 443: Connection timed out (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://pkp.sfu.ca/ojs/xml/ojs-version.xml?id=CAE3C2C1-7F96-4C22-A0EC-B2B567C63575&oai=https%3A%2F%2Fwww.ogrenen.net%2Findex.php%2Findex%2Foai
[17-Mar-2025 17:12:29 UTC] ojs2: 404 Not Found
[17-Mar-2025 17:15:11 UTC] cURL error 28: Connection timed out after 10003 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://pkp.sfu.ca/ojs/xml/plugins.xml?application=ojs2&version=3.4.0.8
[17-Mar-2025 17:37:23 UTC] ojs2: 404 Not Found
[17-Mar-2025 17:41:15 UTC] 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/ogrenmen/public_html/ogrenen.net/plugins/generic/orcidProfile/OrcidProfilePlugin.php:106
Stack trace:
#0 /home/ogrenmen/public_html/ogrenen.net/lib/pkp/classes/plugins/PluginRegistry.php(76): APP\plugins\generic\orcidProfile\OrcidProfilePlugin->register(‘generic’, ‘plugins/generic…’, NULL)
#1 /home/ogrenmen/public_html/ogrenen.net/lib/pkp/classes/plugins/PluginRegistry.php(121): PKP\plugins\PluginRegistry::register(‘generic’, Object(APP\plugins\generic\orcidProfile\OrcidProfilePlugin), ‘plugins/generic…’, NULL)
#2 [internal function]: PKP\plugins\PluginRegistry::PKP\plugins{closure}(Object(APP\plugins\generic\orcidProfile\OrcidProfilePlugin), ‘plugins/generic…’)
#3 /home/ogrenmen/public_html/ogrenen.net/lib/pkp/classes/plugins/PluginRegistry.php(121): array_walk_recursive(Array, Object(Closure))
#4 /home/ogrenmen/public_html/ogrenen.net/lib/pkp/classes/core/Dispatcher.php(155): PKP\plugins\PluginRegistry::loadCategory(‘generic’, true)
#5 /home/ogrenmen/public_html/ogrenen.net/lib/pkp/classes/core/PKPApplication.php(395): PKP\core\Dispatcher->dispatch(Object(APP\core\Request))
#6 /home/ogrenmen/public_html/ogrenen.net/index.php(21): PKP\core\PKPApplication->execute()
#7 {main}

When i disable ORCID plugin it gives same error.

I’m having the same problem. The error I’m getting is: PDF.js v2.6.347 (build: 3be9c65f)
Message: Unexpected server response (503) when retrieving PDF “https://www.nozomiscience.org/index.php/rpn/article/download/6737/5377/16909”.

Could the issue be the version of the pdf.js plugin?

Last errors:
[Tue Mar 18 07:28:49.327614 2025] [lsapi:warn] [pid 2769589:tid 2773109] [client 85.208.96.194:52702] [host www.nozomiscience.org] Backend log: PHP Deprecated: PKP\submission\Repository::get(): Implicitly marking parameter $contextId as nullable is deprecated, the explicit nullable type must be used instead in /home/nozomiscience/public_html/lib/pkp/classes/submission/Repository.php on line 85\n
[Tue Mar 18 07:28:49.327551 2025] [lsapi:warn] [pid 2769589:tid 2773109] [client 85.208.96.194:52702] [host www.nozomiscience.org] Backend log: PHP Deprecated: PKP\submission\Repository::exists(): Implicitly marking parameter $contextId as nullable is deprecated, the explicit nullable type must be used instead in /home/nozomiscience/public_html/lib/pkp/classes/submission/Repository.php on line 79\n

Hi all,

@jhisaza, these messages:

Implicitly marking parameter $xyz as nullable is deprecated, the explicit nullable type must be used instead

…are just warnings and won’t cause OJS to stop working. They’ll be fixed in the next release, and if you like, you can apply this patch to get them to go away.

However, looking at your log, you’re encountering a 503 Service Unavailable message. OJS never returns that response; there must be something else in your web server stack that’s interfering.

@theapeiron, did you try the suggestion in the error message?

The ORCID plugin is enabled, but its settings are invalid. In order to fix, access the plugin settings and try to save the form

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher i tried it. When i was disabled the plugin it gives same error.

By the way i contact my server admin and he fixed it. I dont know what was he do.

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