Broken by PHP 7 Broken by PHP 7
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Broken by PHP 7

Started by oldspice, June 09, 2017, 10:38:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

oldspice

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 ?

ron4mac

#1
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.