coppermine-gallery.com/forum

Support => cpg1.6.x Support => cpg1.6 miscellaneous => Topic started by: sindbad5 on January 27, 2025, 03:05:44 PM

Title: Error after updating to php 8.4
Post by: sindbad5 on January 27, 2025, 03:05:44 PM

Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_runtime() in /www/htdocs/w012fc80/medienarchiv.com/0/include/init.inc.php:63 Stack trace: #0 /www/htdocs/w012fc80/medienarchiv.com/0/login.php(21): require() #1 {main} thrown in /www/htdocs/w012fc80/medienarchiv.com/0/include/init.inc.php on line 63

https://www.medienarchiv.com/0/

This happened after setting PHP from 7.4 to 8.4 at my hoster. I can't get back to 7.4.  Anyone knows how to solve this? Thanks!
Title: Re: Error after updating to php 8.4
Post by: Joe Carver on January 27, 2025, 06:37:36 PM
It looks like you are running an older version of Coppermine.

Upgrade to version 1.6.26 (links above).

(from the release notes: "Line  56: 2020-02-25 [M] Remove use of deprecated *magic_quotes* functions {ron4mac}")