coppermine-gallery.com/forum

Support => cpg1.6.x Support => cpg1.6 upgrading => Topic started by: PvtPulse on February 07, 2024, 06:03:17 AM

Title: Coppermine Crash
Post by: PvtPulse on February 07, 2024, 06:03:17 AM
I'm not sure if this is the correct forum, if not I apologize.

However, my host upgraded us to PHP 8.x and I was having issues logging in. They changed it back to PHP 7x and now I'm getting the following errors.


https://www.thebeyonceworld.com/photos/
Fatal error: Uncaught Error: Call to undefined function json_decode() in /home2/beyonce/public_html/photos/include/upgrader.inc.php:23 Stack trace: #0 /home2/beyonce/public_html/photos/include/functions.inc.php(4388): CPG_Updater->__construct(true) #1 /home2/beyonce/public_html/photos/include/functions.inc.php(4428): cpg_has_updates() #2 /home2/beyonce/public_html/photos/include/themes.inc.php(2499): cpg_alert_dev_version() #3 /home2/beyonce/public_html/photos/include/themes.inc.php(1547): theme_display_message_block() #4 /home2/beyonce/public_html/photos/index.php(1110): pageheader('Home') #5 {main} thrown in /home2/beyonce/public_html/photos/include/upgrader.inc.php on line 23

Is there a way to save my gallery without starting over?
Title: Re: Coppermine Crash
Post by: ron4mac on February 07, 2024, 01:46:52 PM
Your host has a crippled configuration of PHP 7 that doesn't include the most used modules. Either have them correct that or return to PHP 8 and we'll address the issues that you have with that.
Title: Re: Coppermine Crash
Post by: PvtPulse on February 07, 2024, 02:03:33 PM
They seem to have fixed it. Thank you for the reply.