MantisBT - Piwigo
View Issue Details
0003230Piwigoconfigurationpublic2015.07.07 22:562015.07.07 22:56
Apache 1.3.x
0003230: Theme switch / Admin tools madness or conflict
Here is a strange issue,

When I activate admin tools plugin while running SimpleNG theme, I observe that I cannot switch to another theme afterward - meaning whatever the theme I choose the front gallery remains stuck on SimpleNG theme.

On the top of that - lets say the said 'active' theme is 'dark' in the UI and the admin tools plugin is still activated (remind, the front gallery still stuck on SimpleNG). Now if I deactivate SimpleNG theme nothing more happen (still stuck of simpleNG), however if I DELETE simpleNG theme I got the error:

Warning: include(/ failed to open stream: No such file or directory in /srv/www/piwigo/include/template.class.php on line 1156

Warning: include(): Failed opening '/' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /srv/www/piwigo/include/template.class.php on line 1156

Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'menubar.tpl'' in /srv/www/piwigo/include/smarty/libs/sysplugins/smarty_internal_templatebase.php:127 Stack trace: #0 /srv/www/piwigo/include/template.class.php(484): Smarty_Internal_TemplateBase->fetch('menubar.tpl') 0000001 /srv/www/piwigo/include/template.class.php(407): Template->parse('menubar', true) 0000002 /srv/www/piwigo/include/block.class.php(205): Template->assign_var_from_handle('MENUBAR', 'menubar') 0000003 /srv/www/piwigo/include/ BlockManager->apply('MENUBAR', 'menubar.tpl') 0000004 /srv/www/piwigo/include/ initialize_menu() 0000005 /srv/www/piwigo/index.php(120): include('/srv/www/piwigo...') #6 {main} thrown in /srv/www/piwigo/include/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 127

IF now, I try to deactivate admin tools : bingo the active theme in the UI (eg : 'dark') comes effective.

Could you help me to understand what is the problem here ?

No tags attached.
Issue History
2015.07.07 22:56montunoNew Issue

There are no notes attached to this issue.