I can't access the articles in the control panel \ OJS version 3.1.1.0

Hi. I have the following incident on my website with OJS version 3.1.1.0

When inside the control panel, I click on an article, which is already published, archived or one just sent to be edited, when I click, the next page shows me blank. What could be causing this error?

Hi @gardbeat,

Check your PHP error log for details.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,

Error_log:

Blockquote[27-Jul-2020 10:43:23 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/xxxx/public_html/xxx/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[27-Jul-2020 10:43:23 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/xxxx/public_html/xxx/lib/pkp/lib/adodb/adodb.inc.php on line 263
[27-Jul-2020 10:43:23 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/xxxx/public_html/xxx/lib/pkp/lib/adodb/adodb.inc.php on line 359
[27-Jul-2020 10:43:23 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/xxxx/public_html/xxx/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[27-Jul-2020 10:43:23 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/xxxx/public_html/xxx/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[27-Jul-2020 10:43:23 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in/home/xxxx/public_html/xxx/lib/pkp/lib/adodb/adodb.inc.php on line 1003
[27-Jul-2020 10:43:23 UTC] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/xxxx/public_html/xxx/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[27-Jul-2020 10:43:23 UTC] PHP Warning: Declaration of LensGalleyPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/xxxxx/public_html/xxx/plugins/generic/lensGalley/LensGalleyPlugin.inc.php on line 323
[27-Jul-2020 10:43:23 UTC] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/xxxxxx/public_html/xxx/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[27-Jul-2020 10:43:23 UTC] PHP Warning: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/xxxxx/public_html/xxxx/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[27-Jul-2020 10:43:23 UTC] PHP Warning: Declaration of PKPWorkflowHandler::initialize($request, $args) should be compatible with PKPHandler::initialize($request) in /home/xxxxx/public_html/xxx/lib/pkp/pages/workflow/PKPWorkflowHandler.inc.php on line 526
[27-Jul-2020 10:43:24 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/xxxxx/public_html/xxx/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[27-Jul-2020 10:43:24 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/xxxxxx/public_html/xxxx/lib/pkp/lib/adodb/adodb.inc.php on line 263
[27-Jul-2020 10:43:24 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/xxxxx/public_html/xxx/lib/pkp/lib/adodb/adodb.inc.php on line 359
[27-Jul-2020 10:43:24 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/xxxxx/public_html/xxx/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[27-Jul-2020 10:43:24 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/xxxxx/public_html/xxxx/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[27-Jul-2020 10:43:24 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/xxxx/public_html/xxxx/lib/pkp/lib/adodb/adodb.inc.php on line 1003
[27-Jul-2020 10:43:24 UTC] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/xxxxx/public_html/xxx/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[27-Jul-2020 10:43:24 UTC] PHP Warning: Declaration of LensGalleyPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/xxxxx/public_html/xxx/plugins/generic/lensGalley/LensGalleyPlugin.inc.php on line 323
[27-Jul-2020 10:43:24 UTC] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/xxxxx/public_html/xxxx/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[27-Jul-2020 10:43:24 UTC] PHP Warning: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/xxxxx/public_html/xxxx/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[27-Jul-2020 10:43:24 UTC] PHP Warning: Declaration of PKPWorkflowHandler::initialize($request, $args) should be compatible with PKPHandler::initialize($request) in /home/xxxxxx/public_html/xxx/lib/pkp/pages/workflow/PKPWorkflowHandler.inc.php on line 526
[27-Jul-2020 10:43:24 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty_Compiler has a deprecated constructor in /home/xxxxx/public_html/xxx/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty_Compiler.class.php on line 35
[27-Jul-2020 10:43:24 UTC] PHP Deprecated: Function create_function() is deprecated in /home/xxxxx/public_html/xxxx/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty_Compiler.class.php on line 269
[27-Jul-2020 10:43:24 UTC] PHP Fatal error: Smarty error: [in workflow/workflow.tpl line 42]: syntax error: unrecognized tag: { submission.id (Smarty_Compiler.class.php, line 446) in /home/xxxxxx/public_html/xxxx/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 1094

Blockquote

Hi @gardbeat,

Judging by this error…

[27-Jul-2020 10:43:24 UTC] PHP Fatal error: Smarty error: [in workflow/workflow.tpl line 42]: syntax error: unrecognized tag: { submission.id (Smarty_Compiler.class.php, line 446) in /home/xxxxxx/public_html/xxxx/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 1094

…you’ve made a modification to templates/workflow/workflow.tpl that has broken your installation.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,

What should I replace that file? If so, can you give me the link to download the valid one corresponding to my OJS 3.1.1.0

Thank you and I wait.

Hi @gardbeat,

The solution is to undo (or fix) whatever change has been made to that file. You can get the “stock” copy of the file from the OJS 3.1.1-0 .tar.gz package, available from the OJS download page.

Regards,
Alec Smecher
Public Knowledge Project Team