Announcement

#1 2021-11-04 12:02:31

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

Piwigo 12

Hello Piwigo community,

We're happy to announce the release of Piwigo version 12. This is major release with new features, redesigned administration pages and also invisible improvements to increase performances.

https://piwigo.org/plugins/piwigo-piwigodotorg//images/changelogs/12/piwigo12-features-matrix.jpg

Read the full release notes, with screenshots and animations

We know by experience that you're going to quickly ask for extensions to be compatible with this version 12. As said in [Forum, post 178992 by plg in topic 30882] Piwigo 11 :

plg wrote:

Yes, that's the problem with software having plugins: we do as much as we can to have them compatible with the new version, but we can't wait for them to be all compatible to release the new version (or you would wait forever)

We hope extensions will be made compatible as soon as possible :-)

Offline

#2 2021-11-05 11:05:22

buddhabaker
Member
2019-03-28
21

Re: Piwigo 12

Hello,
I've just updated to version 12.0

Board operating ok'ish but without any images!  File names are there but without the actual pictures.

Have I done something wrong?
Thanks
Bill

Offline

#3 2021-11-05 12:04:20

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

Re: Piwigo 12

buddhabaker wrote:

Board operating ok'ish but without any images!  File names are there but without the actual pictures.

please open a dedicated discussion :-) we can't answer (and close) each problem if it's discussed in the announcement topic ;-)

Offline

#4 2021-11-05 15:48:09

Artyom Sokirko
Guest

Re: Piwigo 12

As a long-term happy user, I have started the upgrade without making any backups. Now my piwigo is reduced to
++++++++++
Warning:  [mysql error 1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups' at line 1

DESC groups
; in /var/www/html/photos/include/dblayer/functions_mysqli.inc.php on line 847


Fatal error: Uncaught Error: Call to a member function fetch_row() on bool in /var/www/html/photos/include/dblayer/functions_mysqli.inc.php:216 Stack trace: #0 /var/www/html/photos/upgrade.php(87): pwg_db_fetch_row() #1 /var/www/html/photos/upgrade.php(260): get_columns_of() #2 {main} thrown in /var/www/html/photos/include/dblayer/functions_mysqli.inc.php on line 216
++++++++++++++
My question: is it possible to reverse the upgrade at the current stage and go back to version 11? I foresee many unhappy visitors to my website...

#5 2021-11-05 16:27:37

windracer
Member
St. Pete, FL
2014-12-28
444

Re: Piwigo 12

Artyom Sokirko wrote:

Now my piwigo is reduced to
++++++++++
Warning:  [mysql error 1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups' at line 1

DESC groups
; in /var/www/html/photos/include/dblayer/functions_mysqli.inc.php on line 847

See here [Forum, topic 31584] Upgrade to 12.0.0 fails with table groups

Offline

#6 2021-11-05 17:10:34

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

Re: Piwigo 12

Sorry windracer, I had not seen it when you reported it on beta2 :-/ I have created an issue on Github [Github] Piwigo issue #1547

Offline

#7 2021-11-05 17:42:24

deemon
Member
2021-05-03
45

Re: Piwigo 12

running upgrade ended up with error:

Fatal error: Uncaught --> Smarty: property 'literals' does not exist. <-- thrown in /var/www/html/galerii/include/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 92

but it seems it did upgrade anyway and it seems to work as expected, except the plugins update page ( /admin.php?page=updates&tab=ext ), which does show nothing at all inside the page like reported already by several people.

Last edited by deemon (2021-11-05 17:45:34)

Offline

#8 2021-11-05 19:52:25

mfgpi
Guest

Re: Piwigo 12

Cannot update from Piwigo 11  to version 12 because server was updated with php8.
Piwigo gives a blank screen.

Please indicate how to update from command line.
I tried running php update.php but response is:
No upgrade required, the database structure is up to date<br><a href="index.php">← back to gallery</a>mfg@luz:/usr/share/photos$

Server OS: Ubuntu 21.10 (GNU/Linux 5.13.0-20-generic x86_64)

Thank you,

#9 2021-11-06 20:01:03

alb
Member
2021-01-25
18

Re: Piwigo 12

I just upgraded to 12.0.

Three comments:

1. I locked the gallery. Once replaced the files of piwigo application, I immediately saw the search bots were redirected to upgrade.php. This is scary. I would strongly prefer that guest users be continued shown the banner that the gallery is locked until it is unlocked. I didn't check which information is revealed in the upgrade.php page for guests and if the administrative action to update the database was actually available. But if anyone is allowed to "upgrade" and especially if he/she/it is suggested to by the redirection, it is scary, especially if the site administrator is busy doing some database manipulations at the moment. Even showing version details to everyone during maintenance is not the best practice.

2. Pressing the "Unlock gallery" link in the Admin->Tools->Maintenance page shows the banner "Are you sure you want to lock the gallery?". The banner should ask about unlocking.

3. In the ContactForm plugin, the following change is necessary:

Code:

--- git/ContactForm/include/functions.inc.php  2021-11-06 21:53:33.937590849 +0300
+++ web/ContactForm/include/functions.inc.php  2021-11-06 21:25:25.004639183 +0300
@@ -63,7 +63,7 @@
 /**
  * change contact link in footer
  */
-function contact_form_footer_link($content, &$smarty)
+function contact_form_footer_link($content)

While here, would you please consider fixing or mitigating problems with the ContactForm Plugin described in here: https://piwigo.org/forum/viewtopic.php?id=31446  ?

Offline

#10 2021-11-08 09:06:02

fseveri
Member
1970-01-01
7

Re: Piwigo 12

Hi, and sorry for my english.

I have update to Piwigo 12, and the plugin page show plugin deactivated and nothing action possible.

My ambient is:

Piwigo 12.0.0 Controllo aggiornamenti
Sistema operativo: Linux
PHP: 7.3.18-1+0~20200515.59+debian9~1.gbp12fa4f (Mostra le informazioni) [2021-11-08 08:52:08]
MySQL: 5.7.30 [2021-11-08 08:52:08]
Libreria grafica: GD 2.2.5
Cache size 4110.17 MB

At example, nothing happens when i click to activate-deactivate tab to select

Bye

Offline

Board footer

Powered by FluxBB

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