Describe the issue or problem
Please tell us what happens and what you expected to happen.
Steps I took leading up to the issue
For example:
Go to ‘Active Journal’
Click on ‘Submissions’
Click on ‘Active tab’
Click on ‘View’
See error Button can’t click.
Steps I took leading up to the issue
For example:
Go to ‘Active Journal’
Click on ‘Journal’
Click on ‘Sections tab’
Click on ‘Create Secrtion’
See error Failed Ajax request or invalid JSON returned.
What application are you using?
For example, OJS 3.3.0-4
Additional information
Please add any screenshots, logs or other information we can use to investigate this problem.
I have solved about Section. I just update source code
templates/controllers/grid/settings/sections/form
source code can download from
{**
* templates/controllers/grid/settings/section/form/sectionForm.tpl
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2003-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* Section form under journal management.
*
* @hook Templates::Manager::Sections::SectionForm::AdditionalMetadata [[sectionId], $templateMgr, $output]
*}
<script type="text/javascript">
$(function() {ldelim}
// Attach the form handler.
$('#sectionForm').pkpHandler('$.pkp.controllers.form.AjaxFormHandler');
{rdelim});
</script>
<form class="pkp_form" id="sectionForm" method="post" action="{url router=PKP\core\PKPApplication::ROUTE_COMPONENT component="grid.settings.sections.SectionGridHandler" op="updateSection" sectionId=$sectionId}">
This file has been truncated. show original
But revision button not solved. any solution?
Hi @Meitro_Hartanto ,
I don’t recommend bringing code from the main
branch directly into a 3.4.0-x installation – things are likely to break unpredictably. I’d suggest reverting back to the previous version of that file, then checking your PHP error log for details.
Regards,
Alec Smecher
Public Knowledge Project Team
How about button revision request? I can’t click button. No message error on php log.
[SOLVED] i reverting back to previous the file.
asmecher
Closed
August 26, 2024, 3:00pm
7
This topic was automatically closed after 9 days. New replies are no longer allowed.