CPG PHP7-compatible ?? CPG PHP7-compatible ??
 

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

CPG PHP7-compatible ??

Started by specialist383, March 30, 2017, 04:46:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

specialist383

Recently I upgraded one of my servers from Ubuntu 14.04LTS to 16.04LTS. That included a system migration from PHP5.5 to PHP7.
From then on I could not start my CP Gallery but faced each time an error message about deprecated statements in the PHP code. I went into the code and fixed the first 5 or six usually from mysql_connect() to mysqli_connect() or alike but I could not find any indications how many further statements might need fixing. Maybe PHP7 requires a more or less complete redesign and test of the code. This may be a really major effort.
Is this effect of startup breakdown something special only in my machine setup ?  Are there any plans in the CPG teams to create a future PHP7 compatibility of the existing code base ? Is there a proven workaround to make CPG work from a second PHP5.5 set on this Ubuntu 16.04LTS software system ?
After so many years I would really miss my Coppermine photo gallery, on the other hand cannot delay OS updates indefinetly. :-) 


phill104

Many thanks to maxhasher for assisting with support here.

Just to add, the team is very small. We would love extra members but I am not sure how we can attract people. Things are progressing very slowly and with some superb work from Ron5mac there is a working PHP 7 version in beta test, details available in the aforementioned thread. I intend to open up the currently empty CPG version 6 forums very soon for bug reports, testing and so contributors can test and update available extensions.
It is a mistake to think you can solve any major problems just with potatoes.