Announcement

  •  » Themes
  •  » [resolved] Changing

#1 2022-11-20 11:28:32

ballaballa
Member
2021-03-15
3

[resolved] Changing

Hello/Hi/Greetings,

in Vers. 13.2. changing themes can result in severe errors:

Code:

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

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

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

How is this possible? Desired behaviour was that themes should not result in this errors, but a working fallback should be loaded instead.
Btw: which are tested and working themes in v.13.2?

Offline

 

#2 2022-11-20 18:25:30

erAck
Only trying to help
2015-09-06
2043

Re: [resolved] Changing

The cause is that load_themeconf() is called with an empty $dir directory variable, i.e. where a theme is to be found, that should not happen (and didn't for me).


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2022-11-20 18:30:01

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13793

Re: [resolved] Changing

My experience tells me "ask him/her if plugin AdminTools is activated. If it is, mark it state=inactive in the piwigo_plugins table in the database".

Offline

 

#4 2022-11-21 11:00:22

ballaballa
Member
2021-03-15
3

Re: [resolved] Changing

The problem might have been connected with some old themes around. I reinstalled v.13.2.0 and activate  "Modus" theme only. Now it is working again.

Offline

 
  •  » Themes
  •  » [resolved] Changing

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact