coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: SejoIzbue on March 27, 2007, 05:24:36 AM

Title: Multiple Instances of Coppermine?
Post by: SejoIzbue on March 27, 2007, 05:24:36 AM
Hello All....

Can I create multiple instances of Coppermine Gallery in one database/one website?

For instance...I have four projects that I want separate galleries for; is there a certain way to set up Coppermine for this kind of setup, is it possible?

Can I even have seperate instances of Coppermine Gallery in separate databases/on website?

Any ideas, tips, tricks?
Title: Re: Multiple Instances of Coppermine?
Post by: Joachim Müller on March 27, 2007, 08:13:16 AM
Yes, you can: just choose different database table prefixes when installing. Don't double-post!
Title: Re: Multiple Instances of Coppermine?
Post by: NinjaForce on April 15, 2007, 09:56:08 AM
If the separate galleries relate to separate subdomains, i.e. a family site and each member has their own site under a subdomain, say family.com has dad.family.com, mum.family.com, kid.family.com; should the main files be installed under family.com/coppermine/?  From there, do we run the family.com/coppermine/install.php each time and link to one of the three databases setup in advance?   Is that how I'd do it?
Title: Re: Multiple Instances of Coppermine?
Post by: Sami on April 15, 2007, 10:04:11 AM
- You should install CPG on each subdomain separately

- You can have 1 database for all of them and choose different table prefixes
- Or you can install them on separate databases
Title: Re: Multiple Instances of Coppermine?
Post by: NinjaForce on April 15, 2007, 10:16:48 AM
What prefix, just any old thing that I nominate?
Title: Re: Multiple Instances of Coppermine?
Post by: Sami on April 15, 2007, 10:19:20 AM
Any thing you want ;)
just make sure to be different from others
Title: Re: Multiple Instances of Coppermine?
Post by: NinjaForce on April 15, 2007, 10:27:39 AM
Does that mean I need to copy all the files into each subdirectory as you have suggested? 
Title: Re: Multiple Instances of Coppermine?
Post by: Sami on April 15, 2007, 10:45:02 AM
yes, if you want separate gallery for each site
Title: Re: Multiple Instances of Coppermine?
Post by: NinjaForce on April 15, 2007, 11:10:42 AM
Okay, thanks for you help.  I will try and pare down unnecessary files to reduce usage in limited space.
Title: Re: Multiple Instances of Coppermine?
Post by: Joachim Müller on April 15, 2007, 02:08:04 PM
http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#minimumInstall