Three Coppermine Installations not working any more Three Coppermine Installations not working any more
 

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

Three Coppermine Installations not working any more

Started by sindbad5, May 13, 2019, 10:11:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sindbad5

Hello!  I have three coppermine installations, which worked fine for a long time. But now they all have issues and I don't understand why. Maybe it has something to do with switching from PHP 5.x to 7.x, but I do not know.

A) http://www.photoinfos.com/telescopes/
B) http://www.oxly.de/foto/index.php

Both are cpg 1.6 an show the same behavior: Everyone can see the first page. But when you open an album, you'll get a blank page. If you are logged in as admin everything works fine.

C) http://www.medienarchiv.com/0/

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /www/htdocs/w012fc80/medienarchiv.com/0/include/functions.inc.php:183 Stack trace: #0 /www/htdocs/w012fc80/medienarchiv.com/0/include/init.inc.php(171): cpg_db_connect() #1 /www/htdocs/w012fc80/medienarchiv.com/0/index.php(26): require('/www/htdocs/w01...') #2 {main} thrown in /www/htdocs/w012fc80/medienarchiv.com/0/include/functions.inc.php on line 183

I don't remember, if that was switched from cpg 1.5x to 1,6x.

Does anyone see anything, which affects those installations?

ron4mac

The last site needs to be upgraded to CPG 1.6.x.
https://forum.coppermine-gallery.net/index.php/topic,79013.msg383037.html#msg383037

The first two have problems with the theme you are using. In the <theme>/theme.php files, replace all mysql_xxx_xxx with cpg_db_xxx_xxx.

sindbad5