Announcement

#1 2022-01-31 14:24:42

matthys
Member
2014-04-02
188

Missing Extend templates under config menu after upgrade to 12.2.0

Hello,

Just did a upgrade to 12.2.0 (from 11.5.0) and did had this error message:
piwigo Warning:  [mysql error 1146] Table 'piwigo.piwigo_lounge' doesn't exist

However running both upgrade_feed.php and upgeade.php didn't help.
After setting the option "$conf['check_upgrade_feed'] = true;" I notice the upgrade message.
See also https://piwigo.org/forum/viewtopic.php? … 50#p182050
After pressing the upgrade again, it worked ...

But now I notice I am missing the Extend templates under config menu, is it somewhere hidden or other location?
So where did it go??? Because I use some custom templates etc.

Offline

 

#2 2022-02-04 11:34:15

matthys
Member
2014-04-02
188

Re: Missing Extend templates under config menu after upgrade to 12.2.0

If I modified the url manually with "admin.php?page=extend_for_templates" and than I see what I was searching for. But no clue where this configuration menu is hidden, or at least I do not 'see' it...

Any update on this?

Last edited by matthys (2022-02-04 11:35:09)

Offline

 

#3 2022-02-04 11:42:35

erAck
Only trying to help
2015-09-06
2034

Re: Missing Extend templates under config menu after upgrade to 12.2.0

Add this

Code:

$conf['show_template_in_side_menu'] = true;

to your local config.


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

Offline

 

#4 2022-02-04 12:17:19

matthys
Member
2014-04-02
188

Re: Missing Extend templates under config menu after upgrade to 12.2.0

Okay, did that but no joy. Also tried in other browser and not working also not in new private window.
But why did this change, because it was there in 11.5.0 version ... and suddenly gone.

PS .. I also tried to logoff/logon again, and no joy :-(

Last edited by matthys (2022-02-04 13:43:37)

Offline

 

#5 2022-03-30 14:35:10

matthys
Member
2014-04-02
188

Re: Missing Extend templates under config menu after upgrade to 12.2.0

I just did another upgrade from 11.5.0 and also no template config.
Only when I add it manually: admin.php?page=extend_for_templates

And I also added this line in the local config:

Code:

$conf['show_template_in_side_menu'] = true;

BTW .. this 2nd machine runs with:

Piwigo 12.2.0
Operating system: Linux
PHP: 7.4.3 (Show info) [2022-03-30 14:32:07]
MySQL: 8.0.28-0ubuntu0.20.04.3 [2022-03-30 14:32:07]
Graphics Library: GD 2.2.5

Offline

 

#6 2022-04-03 10:11:51

matthys
Member
2014-04-02
188

Re: Missing Extend templates under config menu after upgrade to 12.2.0

Okay, I got it working but no clue why.

On this 2nd machine I downloaded the Piwigo 12.2.0 version and removed all folders in the home EXCEPT _data, local and upload. Then I copied the clean Piwigo and it works, the Extended Template menu is there ... very strange (for me).

Before this I only removed the admin folder and reinstalled that one, as I was sure this was related to admin theme or something. But it seems it's related to some other location? Did it not do a cleanup?

Offline

 

#7 2022-05-23 09:48:51

matthys
Member
2014-04-02
188

Re: Missing Extend templates under config menu after upgrade to 12.2.0

I feel very embarrassed as it seems the problem is all my fault :-(

As I really didn't understand I did a diff from my Piwigo installation with the source.
And the diff shows that 4 files in the root where not the same, these files are:
admin.php, install.php, upgrade.php and ws.php

After I copied these files from source to my Piwigo installation, all problems where gone.

Now I wonder how did this happen and why didn't I notice before?
Well maybe because I always download the diff files, like the "12.x_to_12.2.0.zip".
But this package does contain the correct admin.php and upgrade.php (the others are not there).
The only other thing is that maybe not all files where copied do to some permission rights...

Anyway above solved these problems for me:
-After upload photo it's instantly in album (no delay)
-The Templates is under Configuration in the Admin (when enabled in the config)

Matthijs

Offline

 

Board footer

Powered by FluxBB

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