Announcement

#1 2017-10-18 01:21:17

PEU
Member
Buenos Aires, Argentina
2017-02-12
100

Error only when logged in

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

 

#2 2017-10-18 08:41:23

teekay
Member
2013-06-12
427

Re: Error only when logged in

Did you try deleting compiled templates in Admin -> Tools?
And does template/menubar.tpl really exist in the theme's directory?

Offline

 

#3 2017-10-18 14:45:57

flop25
Piwigo Team
2006-07-06
7037

Re: Error only when logged in

also check the chmod and owner of the files for that theme


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

 

#4 2017-10-18 17:52:21

PEU
Member
Buenos Aires, Argentina
2017-02-12
100

Re: Error only when logged in

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

 

#5 2017-10-18 18:00:40

flop25
Piwigo Team
2006-07-06
7037

Re: Error only when logged in

have you checked that your account has a theme which exists? I think the theme set for your account has been deleted from FTP


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

 

#6 2017-10-18 18:17:47

PEU
Member
Buenos Aires, Argentina
2017-02-12
100

Re: Error only when logged in

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

 

#7 2017-10-18 18:19:11

flop25
Piwigo Team
2006-07-06
7037

Re: Error only when logged in

an user without theme? weirdo! What happened before? you've made an update, changed users...?


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

 

#8 2017-10-18 18:22:02

PEU
Member
Buenos Aires, Argentina
2017-02-12
100

Re: Error only when logged in

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

 

Board footer

Powered by FluxBB

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