Hi there,
I started installing a fresh instance of 3.0.1. I faced some PHP fatal errors complaining about missing files in lib/pkp/lib/vendor/ircmaxell/password-compat and also lib/pkp/lib/vendor/smarty. I cloned below repos in the expected locations:
- GitHub - ircmaxell/password_compat: Compatibility with the password_* functions that ship with PHP 5.5
- GitHub - smarty-php/smarty: Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.
Is that the way I should do?
I think it is still not complete as I get smarty errors after doing above:
Notice: Undefined property: TemplateManager::$app_template_dir in /var/www/ojs-3.0.1/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 1447 Notice: Undefined property: TemplateManager::$core_template_dir in /var/www/ojs-3.0.1/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 1447 Notice: Undefined property: TemplateManager::$app_template_dir in /var/www/ojs-3.0.1/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 1423 Notice: Undefined property: TemplateManager::$core_template_dir in /var/www/ojs-3.0.1/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 1423 Notice: Indirect modification of overloaded property TemplateManager::$template_dir has no effect in /var/www/ojs-3.0.1/lib/pkp/classes/plugins/ThemePlugin.inc.php on line 583 Warning: file_put_contents(/var/www/ojs-3.0.1/cache/fc-locale-05afc2c4827ae11210c660d134ba1f01.php): failed to open stream: Permission denied in /var/www/ojs-3.0.1/lib/pkp/classes/cache/FileCache.inc.php on line 90 Warning: file_put_contents(/var/www/ojs-3.0.1/cache/fc-locale-39ad57a0a799a092b476f7b3d029e60d.php): failed to open stream: Permission denied in /var/www/ojs-3.0.1/lib/pkp/classes/cache/FileCache.inc.php on line 90 Warning: file_put_contents(/var/www/ojs-3.0.1/cache/fc-locale-1cfde42be2b25bdac1c9a16538de37a8.php): failed to open stream: Permission denied in /var/www/ojs-3.0.1/lib/pkp/classes/cache/FileCache.inc.php on line 90 Warning: file_put_contents(/var/www/ojs-3.0.1/cache/fc-locale-03b174b61510807426c2a2c128f6a86a.php): failed to open stream: Permission denied in /var/www/ojs-3.0.1/lib/pkp/classes/cache/FileCache.inc.php on line 90 Warning: file_put_contents(/var/www/ojs-3.0.1/cache/fc-locale-list.php): failed to open stream: Permission denied in /var/www/ojs-3.0.1/lib/pkp/classes/cache/FileCache.inc.php on line 90 Fatal error: Uncaught --> Smarty: TemplateManager->register_modifier() undefined method <-- thrown in /var/www/ojs-3.0.1/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_undefined.php on line 65
Would you please assist?
Regards
Ghazal