forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: MechMykl on September 05, 2005, 01:15:31 am

Title: Porting users/comments
Post by: MechMykl on September 05, 2005, 01:15:31 am
Hi, I just installed the latest version of coppermine to a new subdomain on my site, I was wondering if there was a way to port the userlist and the comments?
Title: Re: Porting users/comments
Post by: Tranz on September 05, 2005, 01:17:54 am
port from what?
Title: Re: Porting users/comments
Post by: MechMykl on September 05, 2005, 07:25:49 am
im trying to port my userlist (and their files?) and comments to my new version of coppermine and to a different subdomain (if it matters)
Title: Re: Porting users/comments
Post by: Joachim Müller on September 05, 2005, 07:54:57 am
users and comments exist in your database, so the subdomain doesn't really matter. If your question is: "how can I move my gallery from one subdomain to another?", then the answer is easy: move all of your files (download them to your client, then upload them to the new subdomain), go to coppermine's config and change "target for ecards" and you're done.
Title: Re: Porting users/comments
Post by: MechMykl on September 05, 2005, 07:53:42 pm
No, i got the gallery down, but since i upgraded when i moved, the database tables are differnet, im wondering if I can get the users and comments back somehow.
Title: Re: Porting users/comments
Post by: Joachim Müller on September 06, 2005, 07:35:27 am
upgrading doesn't touch the users and comments table, how are they suppossed to be related? If you did a fresh install (instead of upgrading as suggested in the docs) and you want your users and comments back, you'll have to make a dump of the old coppermine's mySQL tables and restore the dump on the new table. Not sure what else to recommend, generically speaking. For details, post a link to your old site and your new one, together with db details (db names, table prefixes etc.). Don't post security related data though (no passwords or similar).
Title: Re: Porting users/comments
Post by: MechMykl on September 07, 2005, 01:48:48 am
I did a fresh install, "Clean slate" kinda thing, old copp. was was to unorganized... anyway
old
http://www.mechmykl.hqubed.com/portfolio

new
http://www.coppermine.hqubed.com
Title: Re: Porting users/comments
Post by: Joachim Müller on September 07, 2005, 07:14:00 am
well, as suggested before: a fresh install of course doesn't have the users and other stuff from your old page. Do as suggested and perform an upgrade instead of a fresh install, then do some cleaning up.