forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upgrading => Topic started by: parabola on December 01, 2010, 11:12:19 am

Title: Keeping old data when upgrading from 1.4 to 1.5
Post by: parabola on December 01, 2010, 11:12:19 am
Hi all,

I'm trying to upgrade from 1.4 to 1.5. Is there any way I can keep the data from 1.4 after upgrading?

My problem is, when I try to run update.php, it redirected me to install.php. When running the install.php, when I reached the "Creating database structure", it tries to create new table instead of modifying the structure of existing table. Is there a way that I can upgrade without setting up my albums, comment and everything again?

Regards,
parabola
Title: Re: Keeping old data when upgrading from 1.4 to 1.5
Post by: Αndré on December 01, 2010, 11:49:11 am
All data is kept during an update. Seems that you've done something wrong while replacing the Coppermine files. Make sure the file include/config.inc.php still exists.
Title: Re: Keeping old data when upgrading from 1.4 to 1.5
Post by: parabola on December 02, 2010, 06:52:02 pm
Got it! I removed include/config.inc.php by mistake. Restored it from backup and upgrade worked like a charm. Thanks for the help!