Advanced search  

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

Pages: [1]   Go Down

Author Topic: [Solved]: Keeping two cpg installations "in step"  (Read 2810 times)

0 Members and 1 Guest are viewing this topic.

steveeh131047

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Posts: 217
[Solved]: Keeping two cpg installations "in step"
« 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 ?

« Last Edit: March 31, 2008, 09:55:32 am by Joachim Müller »
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Keeping two cpg installations "in step"
« Reply #1 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.
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Keeping two cpg installations "in step"
« Reply #2 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.
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Keeping two cpg installations "in step"
« Reply #3 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  :-[
Logged
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

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Posts: 217
Re: Keeping two cpg installations "in step"
« Reply #4 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.032 seconds with 20 queries.