coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: stephunkin on May 20, 2006, 09:29:13 AM

Title: Question upgrading to Cpg 1.4.5 from Cpg 1.1
Post by: stephunkin on May 20, 2006, 09:29:13 AM
My installation of Cpg 1.1 all of a sudden does not alow me to do the batch upload (searchnew.php appears blank).  Since 1.1 is no longer supported, I was going to upgrade to 1.4.5.  Has anyone done such a drastic upgrade?  If so, what do I need to look out for in order to maintain my current albums and associated comments?

I searched for this before posting.

Thanks for your help,
S

www.infrapics.com/photos
Title: Re: Question upgrading to Cpg 1.4.5 from Cpg 1.1
Post by: stephunkin on May 20, 2006, 09:58:15 AM
The instructions are as follows:

3.2 Upgrading from releases of version 1.1
First, make a backup (dump) of your database.
Backup your include/config.inc.php file, your anycontent.php file and your "albums" directoy.
Unpack the archive
If the file install.php exists in the root directory, delete it.
Upload all of the new files and directories
CHMOD the albums directory and all subfolders once more to 755 or 777 (depending on your server config)
Call the upgrade script http://yousitename/coppermine_dir/update.php
Your upgrade should be complete.

I guess I do not know how to make the DB backup.
Title: Re: Question upgrading to Cpg 1.4.5 from Cpg 1.1
Post by: Joachim Müller on May 20, 2006, 10:21:10 AM
use phpMyAdmin (http://forum.coppermine-gallery.net/index.php?topic=31423.msg145472#msg145472) or mySqlDumper (http://forum.coppermine-gallery.net/index.php?topic=31423.msg145478#msg145478)
Title: Re: Question upgrading to Cpg 1.4.5 from Cpg 1.1
Post by: stephunkin on May 20, 2006, 10:36:28 AM
I used phpMyAdmin.  Not sure if I used the right options though:

Export -SQL
Structure - Add AUTO_INCREMENT value and Enclose table and field names with backquotes
Data - Use hexadecimal for binary fields
Compression - zipped

I gopt a zipped textfile with all the info in it.  Could not find anycontent.php though.  The only reason I believe I am running 1.1 is that the readme file shows 1.1.

Thanks
S
Title: Re: Question upgrading to Cpg 1.4.5 from Cpg 1.1
Post by: Joachim Müller on May 20, 2006, 01:24:56 PM
anycontent doesn't exist in cpg1.1, it has been introduced in cpg1.2.x