Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

duplicating store problems


UncleSteve

Recommended Posts

I've duplicated my store before (to test mods out etc.) but I'm obviously overlooking something simple this time! :blush: Just need a fresh bit of input please :)

 

My original database is called osc1

I've created another database and called it osc3 and filled it with the contents of osc1 (using the same username and password).

 

I've copied all the files from the original store (mystore.com/store), and loaded them into a separate folder on my webspace (mystore/specials).

 

In mystore/com/specials/admin/includes/configure.php I've changed all references to the 1st store to the new store (store - specials and osc1 - osc2). I've also done the same exercise to - In mystore/com/specials/includes/configure.php

 

In admin, everything is fine :), I can edit the data base, and everything relates to the 'specials' store, however something is amiss with the public side, as the URL in the address bar says In mystore/com/specials/index.php :) However the products shown are from the 1st store (I've changed some via admin to identify which database is being displayed), plus all the links go to the first store :( ?

 

Obviously I've missed something basic, but what? :blush:

 

Thanks in advance for any help and guidance please :)

____________________________________________________________________

____________________________________________________________________

Link to comment
Share on other sites

In both "inlcudes" folders (catalog and admin) there is a folder named "local".

 

See if there is a configure.php file in each "local" folder.

 

If one is there, be sure it contains the correct information.

 

osC will use info from it if it's there.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Thanks for the helping hand.

 

On my install, there is no configure.php in mystore/admin/local/ however I did find one in mystore/includes/local/ which had the wrong information, so made good.

 

However..... it was still not working correctly :( After doing some more searching, I found the problem in the .htaccess file. Now working correctly :)

____________________________________________________________________

____________________________________________________________________

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...