Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: config.inc.php - add multiple db tables?  (Read 3073 times)

0 Members and 1 Guest are viewing this topic.

Eric Chadwick

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
config.inc.php - add multiple db tables?
« on: November 10, 2007, 03:37:33 am »

How would I go about re-adding an old backed-up gallery to the current gallery list, without throwing away the current galleries?

Some of my old galleries aren't showing up, even though all the source images are still there in Albums. I guess I messed up the db when I added a new gallery last year. I'm finally getting time to fix it now.

Comparing a config.inc.php backup from the old gallery, and the most recent config.inc.php, I see that they point to different database tables...

Backed-up config.inc.php:
$CONFIG['dbname'] =                         'XXXX_cop2';
$CONFIG['TABLE_PREFIX'] =                'cpg132_';

Current config.inc.php:
$CONFIG['dbname'] =                         'XXXX_cpm2';
$CONFIG['TABLE_PREFIX'] =                'cp_';

I couldn't find any docs about the config.inc.php file, is there a resource to point me to? I'm completely inexperienced with SQL, so I'm sorry if all this seems obvious. Today is the first time I've opened phpMyAdmin, and I'm gingerly wading through it now. Both tables seem to be there and in good shape.

Thanks for any help.
« Last Edit: November 12, 2007, 07:52:20 am by GauGau »
Logged

Nibbler

  • Guest
Re: config.inc.php - add multiple db tables?
« Reply #1 on: November 10, 2007, 04:03:18 pm »

You can't do that. You either use one database or the other.
Logged

Eric Chadwick

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: config.inc.php - add multiple db tables?
« Reply #2 on: November 11, 2007, 06:36:16 pm »

OK, thanks for the help.

Is there a way for me to add to your Karma?
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 15 queries.