Zen Cart Logo
Forums / General Questions / How to Attach an old database 2 a new store

How to Attach an old database 2 a new store

Locked

Views: 885

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
27 Feb 2007, 2:35 AM
#1
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
858
Plugin Contributions:
0

How to Attach an old database 2 a new store

Okay. I crashed out my first store! Have quite the database built up already though. I set up a new cart in a new directory installed it and EVERYTHING works!

The old one is still in it's own directory and LIVE.
I set the admin/includes/config.php ( define('DB_PREFIX', 'myshop_'); )
and it listed all my products but it also somehow became messed up looking
like the original.

Any Ideas?

27 Feb 2007, 2:07 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How to Attach an old database 2 a new store

On your new directory, check the two configure.php files:
/includes/configure.php
/admin/includes/configure.php

Do all of the paths match the new directory?

Does all of the database information match?

27 Feb 2007, 6:22 PM
#3
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
858
Plugin Contributions:
0

Re: How to Attach an old database 2 a new store

okay, no they weren't . Now they are the same tho and it works but I still get a "crippled" theme.

Okay I have this:

Godaddy dir/
*new-good-store/
(Theme=Silverfish)
includes/config.php is from old store
admin/includes/confil.php from old store

*old-store/
(Theme = Classic)

Prob. I messed up the old store in the beging. ( kids, , , DONT CHANGE CORE FILES!!!) and didnt even know it. Now it wont use a different theme for some reason. I can install, preview and apply new themes they just dont show up in Live store view.

New store uses different themes like a charm! ( no core file changes by a beginner :smile:) .
Thats before I change the admin/includes/config.php and the includes/config.php. Once they are change I can see all of my product listings but once again I end up with a Green Classic Store.

It happens as soon as I point the new store to the old stores database table prefix.

Thanks for the help. I can almost taste it! Success ! ! !