Bonsoir
49129 photos dans 1408 photos
et depuis l'upgrade 15.6.0 les photos d'un album ne s'affichent plus et j'ai l'erreur
Fatal error: Uncaught mysqli_sql_exception: 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 'ASC' at line 7 in /home/charra/www/phpwebgallery/include/dblayer/functions_mysqli.inc.php:132 Stack trace: #0 /home/charra/www/phpwebgallery/include/dblayer/functions_mysqli.inc.php(132): mysqli->query('\nSELECT DISTINC...') #1 /home/charra/www/phpwebgallery/include/dblayer/functions_mysqli.inc.php(888): pwg_query('\nSELECT DISTINC...') #2 /home/charra/www/phpwebgallery/include/section_init.inc.php(317): query2array('\nSELECT DISTINC...', NULL, 'image_id') #3 /home/charra/www/phpwebgallery/index.php(12): include('/home/charra/ww...') #4 {main} thrown in /home/charra/www/phpwebgallery/include/dblayer/functions_mysqli.inc.php on line 132
J'ai essayé les outils de maintenance mais ça ne fonctionne toujours pas.
Je ne sais pas comment réparer. Une idée ? Merci d'avance.
Version de Piwigo: 15.6.0
Version de PHP: 8.3.21
Version de MySQL: MySQL: 8.0.42-33 [2025-08-21 22:31:39]
URL Piwigo: https://photos.charra.net (privé)
Hors ligne
Bonjour
En admin essai d’imposer un ordre de trie des photos
Hors ligne
Bonjour
Super, merci ça fonctionne!
Hors ligne