Skip to content

[Bug]: iface_style not found when use a old config #899

@tuvok81

Description

@tuvok81

Describe the problem

When i update from 3.9.2 to 4.0.4 than i get on the Error log the follow message

i have copy the config.inc.php from the old to the new folder and have than edit
$iface_style = 'spark'; to $iface_style = 'default';

Steps to reproduce

add on the config.inc.php the spark theme $iface_style = 'spark';

Poweradmin version

v4.0.4

Database

MySQL

Additional information (optional)

on my /var/log/apache2/error_pdns.log

[Wed Dec 10 00:14:54.743989 2025] [proxy_fcgi:error] [pid 2982741] [client 1.1.1.1:64964] AH01071: Got error 'PHP message: The "templates/spark" directory does not exist ("/var/www/html/poweradmin/templates/spark").; PHP message: #0 /var/www/html/poweradmin/vendor/twig/twig/src/Loader/FilesystemLoader.php(85): Twig\Loader\FilesystemLoader->addPath()\n#1 /var/www/html/poweradmin/vendor/twig/twig/src/Loader/FilesystemLoader.php(48): Twig\Loader\FilesystemLoader->setPaths()\n#2 /var/www/html/poweradmin/lib/AppManager.php(70): Twig\Loader\FilesystemLoader->__construct()\n#3 /var/www/html/poweradmin/lib/AppFactory.php(51): Poweradmin\AppManager->__construct()\n#4 /var/www/html/poweradmin/lib/BaseController.php(74): Poweradmin\AppFactory::create()\n#5 /var/www/html/poweradmin/lib/Application/Controller/IndexController.php(45): Poweradmin\BaseController->__construct()\n#6 /var/www/html/poweradmin/lib/Application/Routing/BasicRouter.php(189): Poweradmin\Application\Controller\IndexController->__construct()\n#7 /var/www/html/poweradmin/index.php(68): Poweradmin\Application\Routing\BasicRouter->process()\n#8 {main}'

Metadata

Metadata

Assignees

Labels

ui-templatesTwig templates and UI themes

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions