Announcement

#1 2021-08-06 17:42:47

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

Piwigo 12.0.0beta2

Piwigo 12 gets a new update with a second beta version. Minor new features and many bug fixes.

A) Changes

https://piwigo.org/screenshots/piwigo-12-move-album.gif
A new "move" button goes from the album manager to the album mover.

https://piwigo.org/screenshots/piwigo-12-user-status.png
User edition: let's give details about status.

https://piwigo.org/screenshots/piwigo-12-maintenance-plugin-list.png
Maintenance now displays the list of active plugins.

https://piwigo.org/screenshots/piwigo-12-cache-size.png
Maintenance provides more details about cache size and the ability to refresh it (before purge).

B) Bug fixes and PHP compatibility

Many bugs were fixed. discover them all

Piwigo 12 will require at least PHP 7.0... and Matthieu has checked/fixed compatibility with PHP 8.0 ! (including a big update of Smarty, the template engine Piwigo relies on). So please, test this beta version on your latest PHP version if you can.

C) Start to beta test

Download Piwigo 12.0.0beta2

If you want to test but don't have the ability to install it, contact us.

Please, open a new topic in the beta testing forum for each problem you may encounter.

Happy beta-testing :-)

Online

#2 2021-08-06 23:26:29

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

Re: Piwigo 12.0.0beta2

I had the old 'groups' reserved word issue when trying to upgrade to beta2. After unzipping, when I visited upgrade.php I got this error:

Code:

Piwigo encountered an irrecoverable error
[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
;

#1  my_error /usr/local/piwigo-beta/include/dblayer/functions_mysqli.inc.php(132)
#2  pwg_query /usr/local/piwigo-beta/upgrade.php(83)
#3  get_columns_of /usr/local/piwigo-beta/upgrade.php(265)

I had to put the $escape_reserved_words workaround (from [Github] AMenuManager issue #5) back into pwg_query in functions_mysqli.inc.php to get it working again.

edit: I see there are updated versions of the Advanced Menu Manager and Grum Plugin Classes extensions, so I updated those, but still got the error from upgrade.php if I took out that workaround code. So not sure if this is a problem I've caused or something else.

Last edited by windracer (2021-08-06 23:40:59)

Offline

#3 2021-08-06 23:33:49

Zentalquabula
Member
2014-05-10
187

Re: Piwigo 12.0.0beta2

PHP 8? Great!

Reserved words? Backticks, people… `groups`

Offline

#4 2021-08-07 00:22:35

erAck
Only trying to help
2015-09-06
1026

Re: Piwigo 12.0.0beta2

windracer wrote:

I had to put the $escape_reserved_words workaround (from [Github] AMenuManager issue #5) back into pwg_query

edit: I see there are updated versions of the Advanced Menu Manager and Grum Plugin Classes extensions, so I updated those, but still got the error from upgrade.php if I took out that workaround code. So not sure if this is a problem I've caused or something else.

You mean you got the error when you first upgraded AMenuManager and after that did the upgrade and you still got an error from an AMenuManager query?


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

Offline

#5 2021-08-07 03:08:18

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

Re: Piwigo 12.0.0beta2

erAck wrote:

You mean you got the error when you first upgraded AMenuManager and after that did the upgrade and you still got an error from an AMenuManager query?

No, I upgraded Piwigo first and had the error accessing upgrade.php (and lots of similar errors when trying to get into the Admin area) so I put in the workaround.

After that fixed it, I noticed the updates for AMenuManager and Grum Plug-in Classes and upgraded those. So I tried removing the workaround from functions_mysqli and still had the error, so put the workaround back again.

Offline

#6 2021-08-07 09:30:42

erAck
Only trying to help
2015-09-06
1026

Re: Piwigo 12.0.0beta2

There may be other still broken plugins.


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

Offline

Board footer

Powered by FluxBB

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