PDA

View Full Version : Replicating osCommerce installations


JadedMan
9-22-03, 02:37 AM
I want to replicate one osCommerce installation to another so that I can use the same setup, but with a few modifications. I am thinking that it is easier to copy the site and change the couple of things that need changing than to have a fresh install and redo all of it from scratch. What I'm asking is this: in general, which files would I need to copy over and which files would I need to edit to make one osCommerce installation work on another server? I could install a default osCommerce setup and then copy over the appropriate files and make the correct changes. Sorry if this sounds log winded!!! :cool:

tbonekkt
9-22-03, 11:36 AM
Originally posted by JadedMan
I want to replicate one osCommerce installation to another so that I can use the same setup, but with a few modifications. I am thinking that it is easier to copy the site and change the couple of things that need changing than to have a fresh install and redo all of it from scratch. What I'm asking is this: in general, which files would I need to copy over and which files would I need to edit to make one osCommerce installation work on another server? I could install a default osCommerce setup and then copy over the appropriate files and make the correct changes. Sorry if this sounds log winded!!! :cool:

Will you be using the same data (tables & database)?

If yes, the files I think that you'd want to copy over would be:

/catalog/includes/config.php
/admin/includes/config.php
/catalog/stylesheet.css (l believe that's the correct path & name)

Also, you'd want to copy over your entire language directory as well.

I think that would accomplish what you're trying to do, if I understand correctly.

Whatever you do, just make sure you have a backup copy of all files somewhere.

JadedMan
9-23-03, 02:41 AM
Same data, different database name. I am trying to copy the osc install I already have to a different directory referenced by a different URL. I want 2 osc sites on my 1 powweb account, basically identical to each other except the store name and pricing will be different. They will have the same items, etc. I don't want to have to reconfigure my clone site and add the items, etc. because they will be the same. Just trying to save myself some work and learn too :) Thanx.

tbonekkt
9-23-03, 09:22 AM
If the pricing structure will be different, I think you're going to need to implement a fresh install totally separate from the first. It doesn't seem likely that you could use two different prices for the same item.