Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After installation of theme i can't switch back #372

Open
MaikelvanGorkom opened this issue Mar 1, 2024 · 2 comments
Open

After installation of theme i can't switch back #372

MaikelvanGorkom opened this issue Mar 1, 2024 · 2 comments

Comments

@MaikelvanGorkom
Copy link

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
Copy link
Author

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
Copy link
Author

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant