Hi, I started seeing this error on my site only if I'm logged, if I delete cookies everything is normal in the public gallery page, I can log into the admin panel but then if I reload the public page I get these errors, what can be wrong or how can it be fixed?
It started when I tried to manually update a theme, went back to the one that worked but this I cannot resolve.
Help will be appreciatted
Warning: include(/themeconf.inc.php): failed to open stream: No such file or directory in /www/docs/peu.net/public_html/cuchillos/include/template.class.php on line 1156
Warning: include(): Failed opening '/themeconf.inc.php' for inclusion (include_path='.:/www/docs/peu.net/public_html/') in /www/docs/peu.net/public_html/cuchillos/include/template.class.php on line 1156
Fatal error: Uncaught --> Smarty: Unable to load template file 'menubar.tpl' <-- thrown in /www/docs/peu.net/public_html/cuchillos/include/smarty/libs/sysplugins/smarty_internal_template.php on line 139
Piwigo 2.9.2
Operating system: Linux
PHP: 5.6.21 (Show info) [2017-10-17 20:18:24]
MySQL: 5.0.45-Max [2017-10-17 20:18:24]
Graphics Library: GD bundled (2.1.0 compatible)
Piwigo URL: http://peu.net
Offline
Did you try deleting compiled templates in Admin -> Tools?
And does template/menubar.tpl really exist in the theme's directory?
Offline
also check the chmod and owner of the files for that theme
Offline
teekay wrote:
Did you try deleting compiled templates in Admin -> Tools?
And does template/menubar.tpl really exist in the theme's directory?
Deleted them and the problem remains, yes its there, if I go to the public gallery www.peu.net without being logged it works.
flop25 wrote:
also check the chmod and owner of the files for that theme
Folders are 755 and files 644 all of them with the proper user (the same of the whole gallery tree)
Last edited by PEU (2017-10-18 18:00:47)
Offline
have you checked that your account has a theme which exists? I think the theme set for your account has been deleted from FTP
Offline
flop25 wrote:
have you checked that your account has a theme which exists? I think the theme set for your account has been deleted from FTP
BINGO!
It wasn't deleted, it was unnasigned it seems, when I went to users>choose an action>theme and assigned it to the admin user the problem resolved !!
Thanks Flop and TK !!
Offline
an user without theme? weirdo! What happened before? you've made an update, changed users...?
Offline
I tried (and failed) to update bootstrap darkroom 2.x update, if I go thru the update page I get an error (if there is any log I would be happy to share it, just let me know where it is)
Then I did it manually unzipping it to a different folder and thats where the problem began, noticed that if unlogged it worked and thats why I posted this thread.
Offline