-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I upgraded ubuntu to 21.10 : patatras, knxweb stops working
PHP Fatal error: Uncaught SmartyException: Unable to load template file 'design_view.tpl'
resolution turns out to be very simple: the constructor of MySmarty in include/tpl.php still uses the old style constructor name.
fixed like this:
...
public function __construct()
{
parent::__construct();
global $_config;
...
Now, all good again.
Although not necessary probably , I installed the latest version of smarty like this:
1- installed "composer" : apt install composer
2- created file: composer.json
{
"require": {
"smarty/smarty": "*"
}
}
then executed composer install
3- changed paths in include/tpl.php
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels