Announcement

#1 2017-06-16 23:14:03

max7
Member
2017-06-16
2

PHP Warning: include(/themeconf.inc.php)

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

 

#2 2017-06-17 15:55:43

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

Re: PHP Warning: include(/themeconf.inc.php)

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:

Code:

update piwigo_user_infos set theme='elegant';

Latest blog post (November 28th 2017) Server failures in october and november 2017

Offline

 

#3 2017-06-17 22:43:02

max7
Member
2017-06-16
2

Re: PHP Warning: include(/themeconf.inc.php)

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

 

#4 2017-06-19 16:43:16

flop25
Piwigo Team
2006-07-06
6624

Re: PHP Warning: include(/themeconf.inc.php)

did you remove themes when updating?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2017 · Contact