Doesn't work with php 7.2.1 Doesn't work with php 7.2.1
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Doesn't work with php 7.2.1

Started by ruzakuku, March 03, 2019, 08:00:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ruzakuku

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!

phill104

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
It is a mistake to think you can solve any major problems just with potatoes.

ruzakuku

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!