forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: ruzakuku on March 03, 2019, 08:00:59 am

Title: Doesn't work with php 7.2.1
Post by: ruzakuku on March 03, 2019, 08:00:59 am
Hello!

I will stop using php 5.x and installed 7.2.1 as an option on a Webmin/CentoOS7 system.

Unfortunately Coppermine doesn't work on this config:

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/xxx/public_html/include/functions.inc.php:183 Stack trace: #0 /home/xxx/public_html/include/init.inc.php(171): cpg_db_connect() #1 /home/xxx/public_html/index.php(26): require('/home/xxx...') #2 {main} thrown in /home/xxx/public_html/include/functions.inc.php on line 183

Any suggestion?

Thank you!
Title: Re: Doesn't work with php 7.2.1
Post by: Phill Luckhurst on March 03, 2019, 08:39:15 am
I assume you are using CPG1.5.x. Upgrading to 1.6.x should fix you problem.

Please see this thread for details - https://forum.coppermine-gallery.net/index.php/topic,79013.msg383037.html#msg383037
Title: Re: Doesn't work with php 7.2.1
Post by: ruzakuku on March 04, 2019, 06:05:11 am
Hello,
Thank you for your reply,
Indeed I thought I upgraded ... but for some reasons I did not :(
That is done now, and all is working!