Error {"status":true,"content":"<script>\n\t$(function() {\n\t\t\/\/ Attach the form handler.\n\t\t$('#manageFinalDraftFilesForm').pkpHandler('$.pkp.controllers.form.AjaxFormHandler');\n\t})

Hi,

I am facing this type error

{“status”:true,“content”:“\n\t$(function() {\n\t\t// Attach the form handler.\n\t\t$(‘#manageFinalDraftFilesForm’).pkpHandler(‘$.pkp.controllers.form.AjaxFormHandler’);\n\t});\n</script>\n\n<form class="pkp_form" id="manageFinalDraftFilesForm" action="http://10.23.0.35/ojs11/index.php/dsj/$$$call$$$/grid/files/final/manage-final-draft-files-grid/update-final-draft-files?submissionId=19232" method="post">\n\t\n\t<div id="existingFilesContainer">\n\t\t<input type="hidden" name="csrfToken" value="6b54aefaf34afe78e973dfdce9cf792f">\n\t\t<fieldset id="manageFinalDraftFiles">\n\t\t\t\t\t\n<div class="section ">\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<input type="hidden" name="submissionId" value="19232" />\n\t\t\t\t<input type="hidden" name="stageId" value="4" />\n\t\t\t\t\t\t\t\t\n\t// Initialise JS handler.\n\t$(function() {\n\t\t$(‘#availableReviewFilesGrid’).pkpHandler(\n\t\t\t’$.pkp.controllers.UrlInDivHandler’,\n\t\t\t{\n\t\t\t\tsourceUrl: "http:\/\/10.23.0.35\/ojs11\/index.php\/dsj\/$$$call$$$\/grid\/files\/final\/manage-final-draft-files-grid\/fetch-grid?submissionId=19232",\n\t\t\t\trefreshOn: null\n\t\t\t}\n\t\t);\n\t});\n</script>\n\n<div id="availableReviewFilesGrid"><div class="pkp_loading">\n\t<span class="pkp_spinner"></span>\n\t<span class="message">Loading</span>\n</div>\n</div>\n\n\t\t\t\n\t</div>\n\n\t\t\t\n<div class="section formButtons form_buttons ">\n\t\t\t\t\t\t\t\t\n\t\t\t\n\t\t<span class="pkp_spinner"></span>\n\n\t\t\n\t\t\n\t<button class="pkp_button submitFormButton" type="submit" name="submitFormButton" id="submitFormButton-67727bff70626" >OK</button>\n\n\n\t\t\n\t\t\t\t\t\t\t\t<a href="#" id="cancelFormButton-67727bff70674" class="cancelButton">Cancel</a>\n\t\n\t</div>\n\n\t\t\n</fieldset>\n\t</div>\n</form>\n”,“elementId”:“0”,“events”:null}

How to fix it ? and my ojs application version is 3.3.0.11 and hosted on Redhat apache enviroment, php version is 8.2.

Hi @Ankit_Kumar,

Did this message show up as a page in the browser window?

You probably encountered another PHP or Javascript error before this happened; try navigating back to the previous action you took and checking both the browser’s error console and the server’s PHP error log.

(You might also upgrade to a newer 3.3.0-x release; 3.3.0-11 is by now quite old, and you might be running into a problem that’s already been solved.)

Regards,
Alec Smecher
Public Knowledge Project Team

Dear @asmecher

I am sharing screenshot for reference. Because i don’t understand this error.
Please give some suggestion.
PFA,


Hi @Ankit_Kumar,

This message isn’t going to help, unfortunately – it’s the page before this one that encountered the problem you’ll need to find and debug. Please try my suggestions above and see if there’s another error.

Regards,
Alec Smecher
Public Knowledge Project Team

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