Announcement

#1 2016-07-08 22:42:27

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

Piwigo 2.8.2

Greetings everybody!

Piwigo 2.8.2 is out.

Several users have reported a "missing CSPRNG" issue, ie Cryptographically Secure PseudoRandom Number Generator, see Wikipedia. This new version introduces a new CSPRNG for specific environment where the one introduced in version 2.8.1 doesn't work. CSPRNG is important for security reasons.

This version also brings the password reset form to the mobile theme SmartPocket.

Read the full release notes, happy 1-click upgrade and enjoy your summer :-)

Offline

#2 2016-07-12 15:53:43

n2011all
Guest

Re: Piwigo 2.8.2

ERROR

Warning:  [mysql error 3065] Expression #1 of ORDER BY clause is not in SELECT list, references column 'piwigo.piwigo_images.date_available' which is not in SELECT list; this is incompatible with DISTINCT

SELECT DISTINCT(image_id)
  FROM piwigo_image_category
    INNER JOIN piwigo_images ON id = image_id
  WHERE
    category_id = 2

  ORDER BY date_available DESC, file ASC, id ASC
; in /var/www/html/piwigo/include/dblayer/functions_mysqli.inc.php on line 832


Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /var/www/html/piwigo/include/dblayer/functions_mysqli.inc.php:893 Stack trace: #0 /var/www/html/piwigo/include/section_init.inc.php(318): query2array('\nSELECT DISTINC...', NULL, 'image_id') #1 /var/www/html/piwigo/index.php(27): include('/var/www/html/p...') #2 {main} thrown in /var/www/html/piwigo/include/dblayer/functions_mysqli.inc.php on line 893

#3 2016-07-12 15:56:37

n2011all
Guest

Re: Piwigo 2.8.2

Server type: MySQL
Server version: 5.7.12-0ubuntu1.1 - (Ubuntu)

Apache/2.4.18 (Ubuntu)
PHP extension: mysqli Documentation
PHP version: 7.0.4-7ubuntu2.1

#4 2016-07-15 04:51:43

cstroe
Guest

Re: Piwigo 2.8.2

Piwigo is not compatible with MySQL 5.7.  See http://piwigo.org/forum/viewtopic.php?pid=162338

#5 2016-07-15 22:34:29

Zentalquabula
Member
2014-05-10
217

Re: Piwigo 2.8.2

It is, but you need to disable strict mode.

Or install MariaDB, it is easier to handle and consumes less resources.

cstroe wrote:

Piwigo is not compatible with MySQL 5.7.  See http://piwigo.org/forum/viewtopic.php?pid=162338

Offline

#6 2016-07-19 18:31:50

n2011all
Guest

Re: Piwigo 2.8.2

OK!!! It works!!!
Thanks for the advice, I change mysql server settings and it worked Hurrah!!!
  in the configuration file,
/etc/mysql/mysql.conf.d/mysqld.cnf
it is necessary to make changes
sql_mode=NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
and then everything works!!!
На русском
Начиная с Ubuntu 16.04  - для многих вебприложений надо изменить конфигурацию mysql-сервера версии 5.7
Подробно описано на этом ресурсе
https://laravel.ru/posts/357
В данном случае я отключил две опции
-STRICT_TRANS_TABLES (если отключить только строгий режим piwigo не заработал)
-ONLY_FULL_GROUP_BY
После этого piwigo чудесно заработал

#7 2016-07-22 15:50:09

viewadam
Member
2014-08-27
17

Re: Piwigo 2.8.2

Zentalquabula wrote:

It is, but you need to disable strict mode.

Or install MariaDB, it is easier to handle and consumes less resources.

cstroe wrote:

Piwigo is not compatible with MySQL 5.7.  See http://piwigo.org/forum/viewtopic.php?pid=162338

Normal user - The same efficiency - one core.
http://www.fromdual.com/mysql-single-qu … -the-truth


MariaDB have leak memory to.

Offline

#8 2016-08-13 12:43:57

SDOUCarchief1908
Guest

Re: Piwigo 2.8.2

Ik gebruik Piwigo 2.8.2 en heb je vertalingen voor 2.8.2 gedownload. Ik heb geconstateerd dat er in die vertalingen een groot aantal fouten zit op het gebied van spelling, syntax en kromme computervertalingen. Ik heb alle files van 2.8.2 gedownload en gecontroleerd en gecorrigeerd. Ik ben al sinds begin juni 2016 bezig met Pierrick om die vertalingen ge-update te krijgen. Ik begrijp nu dat het via deze weg zal moeten.
Dus wat moet ik doen om de gecorrigeerde vertalingen geïnstalleerd te krijgen als dat via deze weg moet?

Hoe is de controle procedure van de Nederlandse vertaling? Is er een eindcontrole? Wie geeft het groene licht dat de vertaling goed is?

#9 2016-08-13 17:03:11

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7198

Re: Piwigo 2.8.2

SDOUCarchief1908 wrote:

Ik gebruik Piwigo 2.8.2 en heb je vertalingen voor 2.8.2 gedownload. Ik heb geconstateerd dat er in die vertalingen een groot aantal fouten zit op het gebied van spelling, syntax en kromme computervertalingen. Ik heb alle files van 2.8.2 gedownload en gecontroleerd en gecorrigeerd. Ik ben al sinds begin juni 2016 bezig met Pierrick om die vertalingen ge-update te krijgen. Ik begrijp nu dat het via deze weg zal moeten.
Dus wat moet ik doen om de gecorrigeerde vertalingen geïnstalleerd te krijgen als dat via deze weg moet?

Hoe is de controle procedure van de Nederlandse vertaling? Is er een eindcontrole? Wie geeft het groene licht dat de vertaling goed is?

Hi :-)

If you register on forum, I can give you acces to translate tool -> http://piwigo.org/translate/


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

#10 2016-10-07 17:37:08

Zentalquabula
Member
2014-05-10
217

Re: Piwigo 2.8.2

In your OS dependent config file (e.g. /etc/mysql/mariadb.conf.d/):

sql-mode=""

Sindie wrote:

Zentalquabula wrote:

It is, but you need to disable strict mode.

Or install MariaDB, it is easier to handle and consumes less resources.

cstroe wrote:

Piwigo is not compatible with MySQL 5.7.  See http://piwigo.org/forum/viewtopic.php?pid=162338

Hi Zental, how do you disable strict mode? Thanks.

Offline

#11 2016-12-15 10:47:26

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

Re: Piwigo 2.8.2

hzr079146 wrote:

I have the same situation, disable strict mode is no effect,

Update to Piwigo 2.8.3, it has been fixed (if it's the same issue)

Offline

Board footer

Powered by FluxBB

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