found trouble when updating the metadata incoming article. It can not be saved the updated data due to the reference trouble. It captured the notification as follow:
Somehow, it kept looping when i updated the reference.
The PHP Error log
[21-Aug-2019 14:57:37 Asia/Jakarta] PHP Warning: Declaration of PKPSubmissionMetadataViewForm::fetch($request) should be compatible with Form::fetch($request, $template = NULL, $display = false) in /home/asiaacid/subdomain/jibeka/public_html/lib/pkp/controllers/modals/submissionMetadata/form/PKPSubmissionMetadataViewForm.inc.php on line 176
[21-Aug-2019 14:57:37 Asia/Jakarta] PHP Warning: Declaration of PKPSubmissionMetadataViewForm::initData($args, $request) should be compatible with Form::initData() in /home/asiaacid/subdomain/jibeka/public_html/lib/pkp/controllers/modals/submissionMetadata/form/PKPSubmissionMetadataViewForm.inc.php on line 176
[21-Aug-2019 14:57:37 Asia/Jakarta] PHP Warning: Declaration of PKPSubmissionMetadataViewForm::execute($request) should be compatible with Form::execute() in /home/asiaacid/subdomain/jibeka/public_html/lib/pkp/controllers/modals/submissionMetadata/form/PKPSubmissionMetadataViewForm.inc.php on line 176
[21-Aug-2019 14:57:37 Asia/Jakarta] PHP Deprecated: Function create_function() is deprecated in /home/asiaacid/subdomain/jibeka/public_html/lib/pkp/classes/submission/PKPSubmissionMetadataFormImplementation.inc.php on line 72
[22-Aug-2019 13:24:26 Asia/Jakarta] PHP Warning: Use of undefined constant STATISTICS_DIMENSION_ARTICLE_ID - assumed ‘STATISTICS_DIMENSION_ARTICLE_ID’ (this will throw an Error in a future version of PHP) in /home/asiaacid/subdomain/jibeka/public_html/plugins/generic/recommendByAuthor/RecommendByAuthorPlugin.inc.php on line 98
[22-Aug-2019 13:24:26 Asia/Jakarta] PHP Warning: Use of undefined constant STATISTICS_DIMENSION_ARTICLE_ID - assumed ‘STATISTICS_DIMENSION_ARTICLE_ID’ (this will throw an Error in a future version of PHP) in /home/asiaacid/subdomain/jibeka/public_html/plugins/generic/recommendByAuthor/RecommendByAuthorPlugin.inc.php on line 10
However, that’s just cosmetic and shouldn’t be causing the problem you describe, I don’t think. If you don’t see anything in your error log that contains the word “error” when you try to save that form, I’d suggest trying your browser’s inspector tools to see how the server is responding to the “Save” request.
Thanks,
Alec Smecher
Public Knowledge Project Team
About the browser inspection tool, I got no idea. Is it what you mean?
jquery.js:9627 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
send @ jquery.js:9627
3:1 Uncaught SyntaxError: Unexpected token o in JSON at position 1
at JSON.parse ()
at Function.jQuery.parseJSON (jquery.js:8517)
at Object.success (TabHandler.js:281)
at fire (jquery.js:3099)
at Object.fireWith [as resolveWith] (jquery.js:3211)
at done (jquery.js:9310)
at XMLHttpRequest.callback (jquery.js:9720)
fsUtils.js:110
Yes, that’s helpful. Your web browser’s inspector tools should have a “Network” area, where you can watch the responses that the browser sends to the server, and how the server responds. I’m interested in the response that the server sends back to the browser right when that Unexpected token o in JSON at position 1 message appears.
Regards,
Alec Smecher
Public Knowledge Project Team
Ah,the [object Object] response definitely points to a problem. But I strongly suspect this would not be a problem with a later release of OJS – are you able to upgrade to a newer release?
Regards,
Alec Smecher
Public Knowledge Project Team
I have forward your message to my IT support. They are afraid upgrading the OJS since they have experienced failure in updating. They can not restore the database.
Are you planning to run this version of OJS forever? Sooner or later you will definitely need to upgrade, so I would suggest working through the problem with your IT support. If they cannot restore the database, that’s definitely a problem – backup and restore are necessary operations for hosting, and if you can’t do those, you’re definitely at risk if a problem arises.
Regards,
Alec Smecher
Public Knowledge Project Team