[Solved]: Keeping two cpg installations "in step" [Solved]: Keeping two cpg installations "in step"
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: Keeping two cpg installations "in step"

Started by steveeh131047, March 30, 2008, 10:54:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

steveeh131047

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 ?


François Keller

Quotebut 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.
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Joachim Müller

That's not entirely correct: you'll lose the hits counter if you constantly overwrite the www table with the local one.

François Keller

Quote from: 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.
oups, yes, i didn't think to this point  :-[
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

steveeh131047

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.