Hello/Hi/Greetings,
my environment :
provider is one.com
SQL server :
Serveur : henri05.fr.mysql (henri05.fr.mysql.service.one.com via TCP/IP)
Type de serveur : MariaDB
Version du serveur : 10.3.29-MariaDB-1:10.3.29+maria~focal - mariadb.org binary distribution
Version du protocole : 10
Utilisateur : henri05_fr@10.27.22.48
Jeu de caractères du serveur : UTF-8 Unicode (utf8)
WEB Server :
nginx/1.14.0
Version du client de base de données : libmysql - mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $
Extension PHP : mysqli Documentation curl Documentation mbstring Documentation
Version de PHP : 7.2.24-0ubuntu0.18.04.8
PHP : 7.4
PHP Admin : 5.1.0
Piwigo URL: http://henri05.fr/z_piwigo/
ERROR Message :
Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /customers/8/4/d/henri05.fr/httpd.www/z_piwigo/include/common.inc.php:20 Stack trace: #0 /customers/8/4/d/henri05.fr/httpd.www/z_piwigo/index.php(11): include_once() #1 {main} thrown in /customers/8/4/d/henri05.fr/httpd.www/z_piwigo/include/common.inc.php on line 20
Offline
Are you sure about running PHP 7.4? Because get_magic_quotes_gpc() got removed in PHP 8 and Piwigo isn't PHP 8 ready yet.
Offline
That was the point : my inet provider stepped to PHP v8 without making me know.
I stepped back to PHP7.4 and it'all right .... for a while until they doesn't support 7.4 any longer.
Thanks for your help
Offline
PHP 7.4 will get active support until 28 Nov 2021, and security support until 28 Nov 2022.
See https://www.php.net/supported-versions.php
Until then your hosting provider should be able to offer PHP 7.4 as well.
Piwigo being PHP 8 ready hopefully will happen before.. said to be worked on for Piwigo 12.
Offline