Announcement

#1 2021-11-04 19:43:40

bmaehr
Member
2021-11-04
1

[resolved] Upgrade to 12.0.0 fails with table groups

Hi,

The Upgrade to 12.0.0 fails for me at the table groups with some error message containing

Code:

Uncaught Error: Call to a member function fetch_row() on bool piwigo "DESC groups"

I had to change https://github.com/Piwigo/Piwigo/blame/ … de.php#L81 to

Code:

DESC `'.$table.'`

MySQL 8.0.27-0ubuntu0.20.04.1 - (Ubuntu)
Apache/2.4.41 (Ubuntu)
DB Client Version: libmysql - mysqlnd 7.4.3
PHP-Version: 7.4.3

Offline

 

#2 2021-11-04 23:33:39

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

Re: [resolved] Upgrade to 12.0.0 fails with table groups

I had the same issue when testing the beta versions and it was because I didn't have a table prefix on my Piwigo tables in MySQL. Since 'groups' is a reserved word, you can't have a table called 'groups.' See here:

[Forum, post 181578 by windracer in topic 31410] Piwigo 12.0.0beta2

Offline

 

Board footer

Powered by FluxBB

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