PKP PLN local status “Packaging Failure” in most of the issues just one of the issues packed

Hi
first of all, thank you for continuous development of OJS. : )
About two months ago I installed PKP-PLN plugin (we are using OJS 3.2.1.1 ) and 2 days ago the status changed to “Network Status: The PKP PLN can accept deposits from this journal.” But, I can see that Local status of most of the issues are “Packaging Failure”. Just one of the issues which has 4 papers the Local Status is “Packaged”. I tried to reset the failed issues but after 24 hours again the “packing failure” came to the same issues in Local Status.
It would be great to help us to solve this problem.
Name of our journal: Journal of Contemporary Urban Affairs
URL: Journal of Contemporary Urban Affairs
Journal Identifier: F7CE61A2-F8B2-485A-B7B0-B4729B89931B
Current version: OJS 3.2.1.1
Sincerely
Dr Hourakhsh Ahmad Nia
Editor in chief
Journal of Contemporary Urban Affairs1 2

Hi @ijcua,

Have a look at the troubleshooting hints in the README.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi : )
Thank you very much for your reply and complete information which almost explaining everything. I checked the instruction carefully. Everything looks ok. But based on your last comment (if issue fails to be packaged, it may be useful to try and export the issue from the native import/export plugin), today I realized that one of the issues (ISSUE 10) sent to LOCKSS. In this regard, using “Native XML Plugin” I tried to export ISSUE 10 and it exported (this issue sends to LOCKSS). But using the same technique to export the other issues I found out that the other issues is not exporting and they are giving this error:

ijcua.com is currently unable to handle this request.

HTTP ERROR 500

As it has been mentioned in your previous comment it is not exporting some issues that is why it gives “packing failure”.

Do you have any idea how to solve this errors (HTTP ERROR 500) which is occurring in some 4 5 of the issues to export the issues?

Sincerely

Dr. Hourakhsh Ahmad Nia

Editor in chief

Journal of Contemporary Urban Affairs

www.ijcua.com

Hi @ijcua,

Do you see anything in your PHP error log corresponding to that 500 error?

Regards,
Alec Smecher
Public Knowledge Project Team

Thank you very much for your support and consideration. I couldn’t find anything related to error 500 in the PHP error_log.

There are just the following errors repeating during the last 2 months:

[13-Nov-2020 15:40:07 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 107

[13-Nov-2020 15:40:07 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 129

[13-Nov-2020 15:40:07 UTC] ojs2: 404 Not Found

[13-Nov-2020 15:40:07 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 107

[13-Nov-2020 15:40:07 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 129

[13-Nov-2020 15:40:08 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 107

[13-Nov-2020 15:40:08 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 129

[13-Nov-2020 15:40:08 UTC] ojs2: 404 Not Found

[13-Nov-2020 17:21:52 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 107

[13-Nov-2020 17:21:52 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 129

[13-Nov-2020 17:21:53 UTC] PHP Deprecated: Non-static method Core::removeBaseUrl() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/generic/usageStats/UsageStatsLoader.inc.php on line 767

[13-Nov-2020 17:21:53 UTC] PHP Deprecated: Non-static method Core::_getBaseUrlAndPath() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/classes/core/Core.inc.php on line 231

[13-Nov-2020 17:21:53 UTC] PHP Deprecated: Non-static method Core::removeBaseUrl() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/generic/usageStats/UsageStatsLoader.inc.php on line 767

[13-Nov-2020 17:21:53 UTC] PHP Deprecated: Non-static method Core::_getBaseUrlAndPath() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/classes/core/Core.inc.php on line 231

[13-Nov-2020 17:49:27 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 129

[13-Nov-2020 17:49:29 UTC] PHP Warning: ini_set(): A session is active. You cannot change the session module's ini settings at this time in /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/classes/session/SessionManager.inc.php on line 69

[13-Nov-2020 17:49:29 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 107

[13-Nov-2020 19:15:59 UTC] ojs2: 404 Not Found

[13-Nov-2020 19:16:03 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 107

[13-Nov-2020 19:16:03 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 129

[13-Nov-2020 19:16:03 UTC] ojs2: 404 Not Found

[13-Nov-2020 19:16:04 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 107

[13-Nov-2020 19:16:04 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 129

[13-Nov-2020 19:16:13 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 107

[13-Nov-2020 19:16:13 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 129

[13-Nov-2020 19:16:13 UTC] ojs2: 404 Not Found

[13-Nov-2020 19:16:15 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 107

[13-Nov-2020 19:16:15 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 129

[13-Nov-2020 19:16:24 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 107

[13-Nov-2020 19:16:24 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 129

[13-Nov-2020 19:16:26 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 107

[13-Nov-2020 19:16:26 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 129

[13-Nov-2020 19:16:26 UTC] ojs2: 404 Not Found

[13-Nov-2020 19:16:28 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 107

[15-Nov-2020 07:12:44 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 129

[15-Nov-2020 07:12:44 UTC] ojs2: 404 Not Found

[15-Nov-2020 07:12:44 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 107

[15-Nov-2020 07:12:44 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 129

[15-Nov-2020 07:12:45 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 107

[15-Nov-2020 07:12:45 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 129

[15-Nov-2020 07:12:45 UTC] ojs2: 404 Not Found

[15-Nov-2020 07:12:45 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 107

[15-Nov-2020 10:56:50 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 129

[15-Nov-2020 10:56:50 UTC] ojs2: 404 Not Found

[15-Nov-2020 10:56:55 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 107

Sincerely

Hi @ijcua,

There will definitely be a log entry somewhere corresponding with that 500 error. It’s possible that your server logs PHP errors separately from e.g. Apache errors; if that’s the case you may need to look in another log file.

Regards,
Alec Smecher
Public Knowledge Project Team

nothing related to error 500 but i think these errors should be related:

[19-Nov-2020 12:14:19 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 129
[19-Nov-2020 12:14:29 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 107
[19-Nov-2020 12:14:29 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/ijcuaaaa/public_html/ijcua.com/plugins/themes/bootstrap3/BootstrapThreeThemePlugin.inc.php on line 129
[19-Nov-2020 12:17:30 UTC] PHP Fatal error:  Uncaught Error: Call to a member function getUsername() on null in /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php:107
Stack trace:
#0 /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php(53): SubmissionFileNativeXmlFilter->createSubmissionFileNode(Object(DOMDocument), Object(SubmissionFile))
#1 /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/classes/filter/Filter.inc.php(449): SubmissionFileNativeXmlFilter->process(Object(SubmissionFile))
#2 /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/plugins/importexport/native/filter/SubmissionNativeXmlFilter.inc.php(180): Filter->execute(Object(SubmissionFile))
#3 /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/plugins/importexport/native/filter/SubmissionNativeXmlFilter.inc.php(101): SubmissionNativeXmlFilter->addFiles(Object(DOMDocument), Object(DOMElement), Object(Submission))
#4 /home1/ijcuaaaa/public_html/ijcua.com/plugins/importexpor in /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 107
[19-Nov-2020 12:17:41 UTC] ojs2: 404 Not Found
[19-Nov-2020 12:17:41 UTC] ojs2: 404 Not Found
[19-Nov-2020 12:17:41 UTC] ojs2: 404 Not Found
[19-Nov-2020 12:17:42 UTC] ojs2: 404 Not Found
[19-Nov-2020 12:25:24 UTC] ojs2: 404 Not Found
[19-Nov-2020 12:37:50 UTC] PHP Fatal error:  Uncaught Error: Call to a member function getUsername() on null in /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php:107
Stack trace:
#0 /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php(53): SubmissionFileNativeXmlFilter->createSubmissionFileNode(Object(DOMDocument), Object(SubmissionFile))
#1 /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/classes/filter/Filter.inc.php(449): SubmissionFileNativeXmlFilter->process(Object(SubmissionFile))
#2 /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/plugins/importexport/native/filter/SubmissionNativeXmlFilter.inc.php(180): Filter->execute(Object(SubmissionFile))
#3 /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/plugins/importexport/native/filter/SubmissionNativeXmlFilter.inc.php(101): SubmissionNativeXmlFilter->addFiles(Object(DOMDocument), Object(DOMElement), Object(Submission))
#4 /home1/ijcuaaaa/public_html/ijcua.com/plugins/importexpor in /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 107
[19-Nov-2020 12:40:38 UTC] ojs2: 404 Not Found
[19-Nov-2020 12:41:06 UTC] ojs2: 404 Not Found
[19-Nov-2020 12:41:07 UTC] ojs2: 404 Not Found
[19-Nov-2020 12:41:07 UTC] ojs2: 404 Not Found
[19-Nov-2020 12:41:08 UTC] ojs2: 404 Not Found
[19-Nov-2020 12:52:10 UTC] PHP Fatal error:  Uncaught Error: Call to a member function getUsername() on null in /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php:107
Stack trace:
#0 /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php(53): SubmissionFileNativeXmlFilter->createSubmissionFileNode(Object(DOMDocument), Object(SubmissionFile))
#1 /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/classes/filter/Filter.inc.php(449): SubmissionFileNativeXmlFilter->process(Object(SubmissionFile))
#2 /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/plugins/importexport/native/filter/SubmissionNativeXmlFilter.inc.php(180): Filter->execute(Object(SubmissionFile))
#3 /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/plugins/importexport/native/filter/SubmissionNativeXmlFilter.inc.php(101): SubmissionNativeXmlFilter->addFiles(Object(DOMDocument), Object(DOMElement), Object(Submission))
#4 /home1/ijcuaaaa/public_html/ijcua.com/plugins/importexpor in /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 107
[19-Nov-2020 12:56:19 UTC] PHP Fatal error:  Uncaught Error: Call to a member function getUsername() on null in /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php:107
Stack trace:
#0 /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php(53): SubmissionFileNativeXmlFilter->createSubmissionFileNode(Object(DOMDocument), Object(SubmissionFile))
#1 /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/classes/filter/Filter.inc.php(449): SubmissionFileNativeXmlFilter->process(Object(SubmissionFile))
#2 /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/plugins/importexport/native/filter/SubmissionNativeXmlFilter.inc.php(180): Filter->execute(Object(SubmissionFile))
#3 /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/plugins/importexport/native/filter/SubmissionNativeXmlFilter.inc.php(101): SubmissionNativeXmlFilter->addFiles(Object(DOMDocument), Object(DOMElement), Object(Submission))
#4 /home1/ijcuaaaa/public_html/ijcua.com/plugins/importexpor in /home1/ijcuaaaa/public_html/ijcua.com/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 107

Hi @ijcua,

Yes, that’s what you’re looking for. It looks like you have a data problem – an entry in the submission_files table with a uploader_user_id that does not refer to an existing entry in the users table. You can pinpoint cases like this using the following query:

SELECT sf.* FROM submission_files sf LEFT JOIN users u ON (sf.uploader_user_id = u.user_id) WHERE u.user_id IS NULL;

Correct the uploader_user_id column for these entries and it should resolve the problem.

Regards,
Alec Smecher
Public Knowledge Project Team

Thank you very much letting me know exact problem. We did our best but unfortunately couldn’t manage to solve the problem of exporting issues from native import/export plugin based on the code that you asked us to imbed in mysql.

But wat I did jus unpublished the issues and published them again and reset the issues in PKP PN. It also didn’t affect to native import/export plugin but it seems that it helped to send papers to LOCKSS and the process completed. And our journal is in the Keepers Registry

https://portal.issn.org/resource/ISSN/2475-6164

Please see the following photo of our PKP PN plugin:
is it acceptable on this way since it seems our name entered to the Keepers Registry
?

SincerelyPKP300

do you have any idea?

Hi @ijcua,

If your content is listed in the Keepers’ Registry, and is listed as “Agreement” under “LOCKSS Status”, then it is preserved.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi
Thank you very much for your approval.
Sincerely
Houraksh

This topic was automatically closed after 11 hours. New replies are no longer allowed.