Hello/Hi/Greetings,
Hi, I got a message telling me that piwigo should be updated.
I clicked on "Save database" but I got:
Fatal error: Uncaught Error: Call to undefined function mysql_select_db() in /web/htdocs/www.sinapsi.org/home/piwigo/admin/include/mysqldump.php:75 Stack trace: #0 /web/htdocs/www.sinapsi.org/home/piwigo/admin/include/mysqldump.php(66): MySQLDump->setDatabase() #1 /web/htdocs/www.sinapsi.org/home/piwigo/admin/include/updates.class.php(466): MySQLDump->__construct() #2 /web/htdocs/www.sinapsi.org/home/piwigo/admin/updates_pwg.php(91): updates::dump_database() #3 /web/htdocs/www.sinapsi.org/home/piwigo/admin/updates.php(28): include('/web/htdocs/www...') #4 /web/htdocs/www.sinapsi.org/home/piwigo/admin.php(309): include('/web/htdocs/www...') #5 {main} thrown in /web/htdocs/www.sinapsi.org/home/piwigo/admin/include/mysqldump.php on line 75
I decided to update it and then now I get:
Warning: popen() has been disabled for security reasons in /web/htdocs/www.sinapsi.org/home/piwigo/admin/intro.php on line 395
Warning: fgets() expects parameter 1 to be resource, null given in /web/htdocs/www.sinapsi.org/home/piwigo/admin/intro.php on line 396
Warning: pclose() expects parameter 1 to be resource, null given in /web/htdocs/www.sinapsi.org/home/piwigo/admin/intro.php on line 398
Warning: A non-numeric value encountered in /web/htdocs/www.sinapsi.org/home/piwigo/admin/intro.php on line 406
So now my Piwigo site is visible, but the admin section is corrupted!
Thanks.
Piwigo 11.0.0
Sistema operativo: Linux
PHP: 7.4.10 (Mostra le informazioni) [2021-01-20 10:17:36]
MySQL: 5.7.32-35-log [2021-01-20 10:17:36]
Libreria grafica: ImageMagick 6.9.10-68
Piwigo URL: http://
Offline
See [Forum, post 179056 by erAck in topic 30891] Error warnings on new update
Ask your hoster to enable popen().
Offline