coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: koichirose on January 14, 2005, 12:27:42 PM

Title: bridging with smf and sharing db tables
Post by: koichirose on January 14, 2005, 12:27:42 PM
i messed up totally my old cpg 1.2.1, so i installed a fresh 1.3.2, bridged with smf
everything works ok, all my albums are gone (i still have all the images on server), but i still have all the db tables of cpg 1.2.1 (they have cpg11d_ prefix).
can i replace someway the 1.3.2 tables to get all my albums, comments, etc working again? what if i rename those tables with phpmyadmin utility?
i don't know if it can be done, thank you
Title: Re: bridging with smf and sharing db tables
Post by: Nibbler on January 14, 2005, 03:04:42 PM
You can try altering your include/config.inc.php to point to the old tables and then run update.php.
Title: Re: bridging with smf and sharing db tables
Post by: koichirose on January 14, 2005, 04:58:02 PM
should I change this :
$CONFIG['TABLE_PREFIX'] =                'cpg132_';
to this:
$CONFIG['TABLE_PREFIX'] =                'cpg11d_';   ?

and why running update.php?
Title: Re: bridging with smf and sharing db tables
Post by: Nibbler on January 14, 2005, 05:12:43 PM
Yes, you need to run update.php to update your 1.2.1 database to 1.3.2
Title: Re: bridging with smf and sharing db tables
Post by: koichirose on January 14, 2005, 05:32:27 PM
thank you very much it seems it worked!!!
should i delete the cpg132 tables now?
Title: Re: bridging with smf and sharing db tables
Post by: Nibbler on January 14, 2005, 05:36:06 PM
If there is no useful data there, then yes.