forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upgrading => Topic started by: specialist383 on March 30, 2017, 04:46:47 pm

Title: CPG PHP7-compatible ??
Post by: specialist383 on March 30, 2017, 04:46:47 pm
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. :-) 
Title: Re: CPG PHP7-compatible ??
Post by: maxhasher on March 30, 2017, 05:52:33 pm
Have a look at this thread
http://forum.coppermine-gallery.net/index.php/topic,78952.0.html
Title: Re: CPG PHP7-compatible ??
Post by: phill104 on March 30, 2017, 06:41:30 pm
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.