forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: steveeh131047 on March 30, 2008, 10:54:10 pm

Title: [Solved]: Keeping two cpg installations "in step"
Post by: steveeh131047 on March 30, 2008, 10:54:10 pm
I have cpg installed on a live site and also on a local development version of the site running on XAMPP.

I prefer to upload new pictures, and add captions to them, on the local development system. If I transfer a dump of the local MySQL db to the live site, and ftp the images (full size, normal and thumbnails) with the exact same Albums folder structure, can I be sure the two cpg installations are keeping "in step".

It seems to work fine, but I wondered if there were other cpg files that I didn't know about which get modified when you add pictures and which I would also need to upload ?

Title: Re: Keeping two cpg installations "in step"
Post by: François Keller on March 31, 2008, 07:26:36 am
Quote
but I wondered if there were other cpg files that I didn't know about which get modified when you add pictures and which I would also need to upload ?
No it's fine so.
Title: Re: Keeping two cpg installations "in step"
Post by: Joachim Müller on March 31, 2008, 07:48:29 am
That's not entirely correct: you'll lose the hits counter if you constantly overwrite the www table with the local one.
Title: Re: Keeping two cpg installations "in step"
Post by: François Keller on March 31, 2008, 07:50:12 am
That's not entirely correct: you'll lose the hits counter if you constantly overwrite the www table with the local one.
oups, yes, i didn't think to this point  :-[
Title: Re: Keeping two cpg installations "in step"
Post by: steveeh131047 on March 31, 2008, 08:30:18 am
Thanks guys.

I'm not too worried about the hit counter, but I guess that if I were to download a dump of the www MySQL db to the local XAMPP  before adding new pictures offline, that would also stay in step.

Thanks again for your help - my main worry was that there might be some other "internal" cgp files that got changed in addition to Albums and MySQL.