piwigo-bootstrap-darkroom icon indicating copy to clipboard operation
piwigo-bootstrap-darkroom copied to clipboard

After installation of theme i can't switch back

Open MaikelvanGorkom opened this issue 4 months ago • 2 comments

Have installed the theme, after that updated Piwigo to the latest version (don't know if that has anything to do with it)

I can activate another theme, but this one stays active. When i deinstall this theme (and activate another) i get errors that the main page can't load php files that are part of the piwigo-bootstrap-darkroom. The actual theme isn't loaded.

Any idea how that comes?

MaikelvanGorkom avatar Mar 01 '24 20:03 MaikelvanGorkom

Found the issue. I've installed "Admin Tools" and when it's activated it apparently uses the bootstrap theme. Disabling it, i can use the theme i want. Deinstallation of Admin Tools and reinstalling it, keeps using bootstrap theme.

For reference these are the errors:

Warning: include(/themeconf.inc.php): Failed to open stream: No such file or directory in /piwigo/include/template.class.php on line 1155

Warning: include(): Failed opening '/themeconf.inc.php' for inclusion (include_path='.:/usr/share/php') in /piwigo/include/template.class.php on line 1155

Fatal error: Uncaught --> Smarty: Unable to load template 'file:menubar.tpl' <-- thrown in /piwigo/include/smarty/libs/sysplugins/smarty_internal_template.php on line 196

MaikelvanGorkom avatar Mar 01 '24 21:03 MaikelvanGorkom

In the themeconf.inc.php line 1155 it tries to use the $dir variable. But that one doesn't seem to be filled when using "Admin Tool"

MaikelvanGorkom avatar Mar 01 '24 21:03 MaikelvanGorkom