I’ve been trying to set up a fresh installation of OJS 3.1.2 with the OTS, ojs3-markup and Lens Galley plugins so that I can better incorporate JATS into our workflow.
I’m working with a test submission file and everything seems to go well until I the creation of production galleys. When I click on “Generate Galley Files,” the system responds with this error:
Failed Ajax request or invalid JSON returned.
I’m not sure if I’m correctly interpreting the PHP error log, but it looks as though there may be a problem with the markup plugin attempting to access a file by the wrong name:
[15-Mar-2019 04:09:54 UTC] PHP Warning: filemtime(): stat failed for lib/pkp/templates/plugins/generic/markup/templatestemplates/convert.tpl in /Users/XXX/Sites/XXX/lib/pkp/classes/template/PKPTemplateResource.inc.php on line 51
[15-Mar-2019 04:09:54 UTC] PHP Fatal error: Uncaught --> Smarty: Unable to load template ‘app:plugins/generic/markup/templatestemplates/convert.tpl’ <–
thrown in /Users/XXX/Sites/XXX/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 195
@kaschioudi I assume that’s supposed to be …/markup/templates/convert.tpl… instead of …/markup/templatestemplates/convert.tpl, since there’s no ‘templatestemplates’ directory. Is there a way to resolve this?