Announcement

#1 2021-01-19 19:57:37

damon18
Member
Memphis, TN USA
2015-10-28
19

Frontend errors after update to 11.0

Hello,

Got the message to update Piwigo to 11.0, I have Piwigo on two domains, both on the same server. The first update went well, the second one, after getting the successful update messaage page, the font end is down with errors displayed.

Warning: include(/themeconf.inc.php): failed to open stream: No such file or directory in /home/linkpro/public_html/piwigo/include/template.class.php on line 1141

Warning: include(/themeconf.inc.php): failed to open stream: No such file or directory in /home/linkpro/public_html/piwigo/include/template.class.php on line 1141

Warning: include(): Failed opening '/themeconf.inc.php' for inclusion (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/linkpro/public_html/piwigo/include/template.class.php on line 1141

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

I've tried clicking on all the maintenance items since I can still access the admin. I'm using the Modus theme for default.

Environment
Piwigo 11.0.0 Check for upgrade
Operating system: Linux
PHP: 7.4.9 (Show info) [2021-01-19 18:52:29]
MySQL: 5.7.25-log [2021-01-19 12:52:29]
Graphics Library: ImageMagick 6.7.2-7

Piwigo URL: https://linkpro.net/piwigo/

Offline

 

#2 2021-01-19 20:27:46

damon18
Member
Memphis, TN USA
2015-10-28
19

Re: Frontend errors after update to 11.0

Just to add, I have already manually re-uploaded all of the files, just to make sure.

Last twenty lines from error_log are:

[19-Jan-2021 18:49:42 UTC] PHP Warning:  include(/themeconf.inc.php): failed to open stream: No such file or directory in /home/linkpro/public_html/piwigo/include/template.class.php on line 1141
[19-Jan-2021 18:49:42 UTC] PHP Warning:  include(/themeconf.inc.php): failed to open stream: No such file or directory in /home/linkpro/public_html/piwigo/include/template.class.php on line 1141
[19-Jan-2021 18:49:42 UTC] PHP Warning:  include(): Failed opening '/themeconf.inc.php' for inclusion (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/linkpro/public_html/piwigo/include/template.class.php on line 1141
[19-Jan-2021 18:49:42 UTC] PHP Fatal error:  Uncaught  --> Smarty: Unable to load template file 'menubar.tpl' <--
  thrown in /home/linkpro/public_html/piwigo/include/smarty/libs/sysplugins/smarty_internal_template.php on line 139
[19-Jan-2021 19:22:04 UTC] PHP Warning:  include(/themeconf.inc.php): failed to open stream: No such file or directory in /home/linkpro/public_html/piwigo/include/template.class.php on line 1141
[19-Jan-2021 19:22:04 UTC] PHP Warning:  include(/themeconf.inc.php): failed to open stream: No such file or directory in /home/linkpro/public_html/piwigo/include/template.class.php on line 1141
[19-Jan-2021 19:22:04 UTC] PHP Warning:  include(): Failed opening '/themeconf.inc.php' for inclusion (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/linkpro/public_html/piwigo/include/template.class.php on line 1141
[19-Jan-2021 19:22:04 UTC] PHP Fatal error:  Uncaught  --> Smarty: Unable to load template file 'menubar.tpl' <--
  thrown in /home/linkpro/public_html/piwigo/include/smarty/libs/sysplugins/smarty_internal_template.php on line 139
[19-Jan-2021 19:22:06 UTC] PHP Warning:  include(/themeconf.inc.php): failed to open stream: No such file or directory in /home/linkpro/public_html/piwigo/include/template.class.php on line 1141
[19-Jan-2021 19:22:06 UTC] PHP Warning:  include(/themeconf.inc.php): failed to open stream: No such file or directory in /home/linkpro/public_html/piwigo/include/template.class.php on line 1141
[19-Jan-2021 19:22:06 UTC] PHP Warning:  include(): Failed opening '/themeconf.inc.php' for inclusion (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/linkpro/public_html/piwigo/include/template.class.php on line 1141
[19-Jan-2021 19:22:06 UTC] PHP Fatal error:  Uncaught  --> Smarty: Unable to load template file 'menubar.tpl' <--
  thrown in /home/linkpro/public_html/piwigo/include/smarty/libs/sysplugins/smarty_internal_template.php on line 139
[19-Jan-2021 19:22:17 UTC] PHP Warning:  include(/themeconf.inc.php): failed to open stream: No such file or directory in /home/linkpro/public_html/piwigo/include/template.class.php on line 1141
[19-Jan-2021 19:22:17 UTC] PHP Warning:  include(/themeconf.inc.php): failed to open stream: No such file or directory in /home/linkpro/public_html/piwigo/include/template.class.php on line 1141
[19-Jan-2021 19:22:17 UTC] PHP Warning:  include(): Failed opening '/themeconf.inc.php' for inclusion (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/linkpro/public_html/piwigo/include/template.class.php on line 1141
[19-Jan-2021 19:22:17 UTC] PHP Fatal error:  Uncaught  --> Smarty: Unable to load template file 'menubar.tpl' <--
  thrown in /home/linkpro/public_html/piwigo/include/smarty/libs/sysplugins/smarty_internal_template.php on line 139

The "failed opening /themeconf.inc.php is interesting since I don't see that file in the piwigo root or in the top public_html folder.

Should it exist?

Offline

 

#3 2021-01-19 20:34:33

erAck
Only trying to help
2015-09-06
2026

Re: Frontend errors after update to 11.0

The $dir variable seems to be empty in that call, so what should be "directory/themeconf.inc.php" ends up as "/themeconf.inc.php" only. Where directory should be one of themes/* or admin/themes/*


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

Offline

 

#4 2021-01-19 20:47:07

damon18
Member
Memphis, TN USA
2015-10-28
19

Re: Frontend errors after update to 11.0

Any suggestions on what might be wrong? I've got another Piwigo upgraded to 11.0 with no problems on the same server.

Environment
Piwigo 11.0.0 Check for upgrade
Operating system: Linux
PHP: 7.4.9 (Show info) [2021-01-19 19:44:20]
MySQL: 5.7.25-log [2021-01-19 13:44:20]
Graphics Library: ImageMagick 6.7.2-7

https://www.osyc.com/piwigo/

Offline

 

#5 2021-01-21 11:34:21

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

Re: Frontend errors after update to 11.0

I thought this kind of issue was fixed with [Github] Piwigo commit 7b6912ba

Can you:

1) check what theme is set for your users? (in your database, table piwigo_user_infos)
2) check what themes are available in your "themes" directory?

Offline

 

#6 2021-01-21 12:58:19

paulleslie
Member
2015-03-09
9

Re: Frontend errors after update to 11.0

Hi -I checked my database and noted that the theme I was using was not reflected in the database. So, I reactivated the theme listed in the database, made it the default theme and then the site restored. I then tried again to change the default and this time it worked.

Offline

 

#7 2021-01-21 21:10:44

damon18
Member
Memphis, TN USA
2015-10-28
19

Re: Frontend errors after update to 11.0

plg wrote:

I thought this kind of issue was fixed with [Github] Piwigo commit 7b6912ba

Can you:

1) check what theme is set for your users? (in your database, table piwigo_user_infos)
2) check what themes are available in your "themes" directory?

1) There are only two users, and both show modus as the theme.
2: Modus (modus) is one of the themes available and is set to default.

Offline

 

#8 2021-01-21 21:18:28

damon18
Member
Memphis, TN USA
2015-10-28
19

Re: Frontend errors after update to 11.0

Just for info, I did try switching to another theme, (clear theme) setting it as default, then switching back to Modus.

Nothing changed.

Offline

 

#9 2021-01-21 21:38:57

damon18
Member
Memphis, TN USA
2015-10-28
19

Re: Frontend errors after update to 11.0

I needed this to work since I'm using some of the images in Piwigo as href src on other websites and don't want broken images.

reverted to:

Environment
Piwigo 2.10.2 Check for upgrade
Operating system: Linux
PHP: 7.4.11 (Show info) [2021-01-21 20:37:09]
MySQL: 5.7.25-log [2021-01-21 14:37:09]
Graphics Library: ImageMagick 6.7.2-7

And everything is working. I'll wait for the next upate and try again.

Last edited by damon18 (2021-01-21 21:39:56)

Offline

 

Board footer

Powered by FluxBB

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