Support > cpg1.6 upgrading

Upgrading to v1.6 from...? PHP outdated...

(1/2) > >>

jwkohl:
Hello, everyone.  Hope someone can help me.  I've been running CPG for a long time, and let my site get a bit outdated.  It has now crashed because they updated PHP and I'm not sure what version of CPG I had before, nor how to fix this so it's operational again without losing everything. 

Part of the problem is that PHP updated, which means I can no longer use CPG, I just have errors.  PHP is now updated to v7.3.6
The errors I'm getting are:
Several of these "Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP"; for Inspekt_Error, Inspekt_Cage, Inspekt_Supercage, and cpg_debugger for depreciated constructors, and a fatal error, "Uncaught Error: Call to undefined function mysql_connect()"...

I'm guessing that I need to just install 1.6 from scratch?  How to I make sure it captures my old entries without error?  Obviously, I know just enough to be dangerous with PHP, but I don't want to lose all my years of hard work.

Thanks!

JK

phill104:
Hello and welcome to the forum.

First thing I would ask is for your host to temporarily restore php5.x so you can take backups etc.

Once done, remove any plugins you have installed.

Here is a great guide to what to do from there - https://forum.coppermine-gallery.net/index.php/topic,79013.0.html

jwkohl:
Thanks Phill...that's an answer I didn't expect.  I'll open a ticket today...what if they decline to acquiesce to my request?  :)

Cheers!

JK

phill104:
Then we can still do it, but a few things are a little harder. Most hosts are understanding, some have an option in their control panel and others you just put an entry in your .htaccess file. So nothing to worry about.

stefanbartelski:
I am facing a similar situation. I inherited a Coppermine site that turned out to be VERY old and way behind in updates (version 1.3.2 in config.php). My current server service provider allows me to backdate the PHP version to 7.0 but not further. I have access to all the files, most importantly the Albums, that had been set up in the old version. Is there a process whereby I could re-install CPG as the latest version and then rebuild/reconnect the albums? As this was inherited and we have little or no support from the old webmaster I do not need to rebuild in the exact same model or with specific plug-ins (AFAIK), just need to make sure that the pictures are restored.

Stefan Bartelski
Cadillac & LaSalle Club webmaster

Navigation

[0] Message Index

[#] Next page

Go to full version