Announcement

#1 2021-01-20 10:19:15

passegua
Member
Italy
2017-04-20
14

Fatal error when saveing database

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

 

#2 2021-01-20 14:21:03

erAck
Only trying to help
2015-09-06
1415

Re: Fatal error when saveing database


Running Piwigo at https://erack.net/gallery/

Offline

 

Board footer

Powered by FluxBB

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