Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Errors when trying to access the gallery  (Read 2487 times)

0 Members and 1 Guest are viewing this topic.

lilguy43uk

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Errors when trying to access the gallery
« on: February 25, 2019, 02:26:17 pm »

Hi
I'm running Coppermine 1.5.48 and, until today, I've had no problems until I updated to PHP7.2.
Now, however, when I try to access the logon page I get the following errors............
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Inspekt_Error has a deprecated constructor in /var/sites/f/fleetwood-fishing-industry.co.uk/public_html/gallery/include/inspekt/error.php on line 31

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Inspekt_Cage has a deprecated constructor in /var/sites/f/fleetwood-fishing-industry.co.uk/public_html/gallery/include/inspekt/cage.php on line 40

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Inspekt_Supercage has a deprecated constructor in /var/sites/f/fleetwood-fishing-industry.co.uk/public_html/gallery/include/inspekt/supercage.php on line 42

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cpg_debugger has a deprecated constructor in /var/sites/f/fleetwood-fishing-industry.co.uk/public_html/gallery/include/debugger.inc.php on line 26

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/sites/f/fleetwood-fishing-industry.co.uk/public_html/gallery/include/functions.inc.php:183 Stack trace: #0 /var/sites/f/fleetwood-fishing-industry.co.uk/public_html/gallery/include/init.inc.php(171): cpg_db_connect() #1 /var/sites/f/fleetwood-fishing-industry.co.uk/public_html/gallery/index.php(26): require('/var/sites/f/fl...') #2 {main} thrown in /var/sites/f/fleetwood-fishing-industry.co.uk/public_html/gallery/include/functions.inc.php on line 183

I have 2 sites and they both link into the gallery and I can't access it from either. I've gone back down to PHP7.0 to see if that would help but it hasn't.

Is CPG 1.5.48 compatible with PHP7.2?

I need to establish if this is an error with the PHP version, my web host or with CPG. I have no knowledge of PHP at all so I'm at a bit of a loss here.
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1367
Logged
Pages: [1]   Go Up
 

Page created in 0.069 seconds with 22 queries.