forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: oldspice on June 09, 2017, 10:38:32 pm

Title: Broken by PHP 7
Post by: oldspice on June 09, 2017, 10:38:32 pm
I have two Coppermine sites both with version 1.5.4?
Myhosting company has just updated to PHP 7.0.19 and it immediately broke my Coppermine Galleries.
How can I update my installations to start working again.
The error messages include "Fatal error: Uncaught Error: Call to undefined function mysql_connect() "  "183 Stack trace: #0 "
As I can't get to the 'Front End', I wonder if I am able to do an update using FTP ?
Title: Re: Broken by PHP 7
Post by: ron4mac on June 10, 2017, 03:33:36 am
You will need to get your hoster to help you run PHP 5.x again.
Then update your Coppermine sites to the current 1.5.x version.
http://documentation.coppermine-gallery.net/en/upgrading.htm#upgrade_15
Followed by upgrading them to version 1.6.x.
http://forum.coppermine-gallery.net/index.php/topic,79013.0.html
Then you can return to using PHP 7.