Hello,
I’m trying to upgrade from OJS 3.1.1 to 3.2.1-1, PHP 7.4, MySQL 5.7.
The upgrade attempt (either by SSH-CLI or over the internet), lead to the following message :
Fatal error: Uncaught Error: Class ‘Smarty’ not found in /home/clients/5ae86c55cb23c924/web/lib/pkp/classes/template/PKPTemplateManager.inc.php:46
Stack trace:
#0 /home/clients/5ae86c55cb23c924/web/lib/pkp/includes/functions.inc.php(25): require_once()
#1 /home/clients/5ae86c55cb23c924/web/classes/template/TemplateManager.inc.php(20): import(‘lib.pkp.classes…’)
#2 /home/clients/5ae86c55cb23c924/web/lib/pkp/includes/functions.inc.php(25): require_once(’/home/clients/5…’)
#3 /home/clients/5ae86c55cb23c924/web/lib/pkp/classes/core/PKPApplication.inc.php(171): import(‘classes.templat…’)
#4 /home/clients/5ae86c55cb23c924/web/lib/pkp/includes/bootstrap.inc.php(41): PKPApplication->__construct()
ONLINE:
#5 /home/clients/5ae86c55cb23c924/web/index.php(65): require(’/home/clients/5…’)
#6 {main} thrown in /home/clients/5ae86c55cb23c924/web/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 46
CLI (SSH):
#5 /home/clients/5ae86c55cb23c924/web/lib/pkp/classes/cliTool/CliTool.inc.php(32): require(’/home/clients/5…’)
#6 /home/clients/5ae86c55cb23c924/web/tools/bootstrap.inc.php(17): require(’/home/clients/5. in /home/clients/5ae86c55cb23c924/web/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 46
The message is the same with the PKPTemplateManager.inc.php version found on https://github.com/pkp/pkp-lib/blob/master/classes/template/PKPTemplateManager.inc.php
During the upgrade attempts, all needed folders were write enabled (777).
Many thanks for any help. I’m lost.
Nicolas
Revue Francophone de Recherche en Ergothérapie
http://www.rfre.org