Hi all
After the upgrade to 2.9.1 I'm getting the following error message in the browser:
Warning: include(/themeconf.inc.php): failed to open stream: No such file or directory in /web/include/template.class.php on line 1156
Warning: include(): Failed opening '/themeconf.inc.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /web/include/template.class.php on line 1156
Fatal error: Uncaught --> Smarty: Unable to load template file 'menubar.tpl' <-- thrown in /web/include/smarty/libs/sysplugins/smarty_internal_template.php on line 139
Apache Log:
PHP message: PHP Warning: include(): Failed opening '/themeconf.inc.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /web/include/template.class.php on line 1156" while reading response header from upstream, client: XXX.XXX.XXX.XXX, server: DOMAIN:TLD, request: "GET /ws.php?format=json&method=pwg.categories.getAdminList HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/web1.sock:", host: "gallery.splix.ch", referrer: "https://DOMAIN.TLD/admin.php?page=batch_manager&filter=album-225"
2017/06/16 23:04:51 [error] 1012#0: *8621 FastCGI sent in stderr: "PHP message: PHP Warning: include(/themeconf.inc.php): failed to open stream: No such file or directory in /web/include/template.class.php on line 1156
Piwigo 2.9.1
Operating System: Linux
PHP: 5.6.30-0+deb8u1 [2017-06-16 23:10:01]
MySQL: 5.5.5-10.0.30-MariaDB-0+deb8u2 [2017-06-16 23:10:01]
Theme: Bootstrap_darkroom
Your support will be much appreciated
Last edited by max7 (2017-06-16 23:14:36)
Offline
Hi max7,
Can you check which theme is set for users in your table piwigo_user_infos?
Is the theme set for users really available in the "themes" directory?
Can you simply update:
update piwigo_user_infos set theme='elegant';
Offline
Thanks a lot plg
That did the trick - after I updated the mysql default theme and did a browser restart, it was working fine again.
Offline
did you remove themes when updating?
Offline