Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Three Coppermine Installations not working any more  (Read 4962 times)

0 Members and 1 Guest are viewing this topic.

sindbad5

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: de
  • Offline Offline
  • Posts: 215
    • My Images - medienarchiv.com
Three Coppermine Installations not working any more
« on: May 13, 2019, 10:11:42 am »

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?
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Three Coppermine Installations not working any more
« Reply #1 on: May 13, 2019, 01:33:04 pm »

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.
Logged

sindbad5

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: de
  • Offline Offline
  • Posts: 215
    • My Images - medienarchiv.com
Re: Three Coppermine Installations not working any more
« Reply #2 on: May 13, 2019, 04:39:08 pm »

Thank you. That solved all issues.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.