Forums / General Questions / A problem in my twin webstore!

A problem in my twin webstore!

Locked

Views: 1,017

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
5 Jun 2010, 8:43 AM
#1
alhakeem2001 avatar

alhakeem2001

Zen Follower

Join Date:
Nov 2007
Posts:
434
Plugin Contributions:
1

A problem in my twin webstore!

OK, I made a twin webstore as a back up of my real store, So what I did I made a copy of my whole Catalogue,Copied the Sql, Then I installed a new zencart then I uploaded my original include directory of my Catalogue & admin to my new zen cart and did the same for the sql, now what I get when I go to my new Catalogue is this :

1146 Table 'arabbro1_4u2.znc_configuration' doesn't exist
in:
[select configuration_key as cfgkey, configuration_value as cfgvalue from znc_configuration]

and if I go to my admin panel it sends me back to my original admin panel ! what did I do wrong ? Is it the Sql that needs to be adjusted ? !I really need to have to two webstore to work on the same level of the installed addon apps ... please help !!:oops:

5 Jun 2010, 9:03 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: A problem in my twin webstore!

Check to see if the database prefix ( 'arabbro1_4u2.znc') is the same on the new store.

5 Jun 2010, 10:41 AM
#3
alhakeem2001 avatar

alhakeem2001

Zen Follower

Join Date:
Nov 2007
Posts:
434
Plugin Contributions:
1

Re: A problem in my twin webstore!

stevesh:

Check to see if the database prefix ( 'arabbro1_4u2.znc') is the same on the new store.

Thanks stevesh for your replay, But where to look exactly because I looked into my phpMyAdmin and my old store database has a deferent prefix than the new one "arabbro1_4u " , " arabbro1_4u2"

do you mean they should be both arabbro1_4u ?? how can I do that ? that means I'm using the same database ! right ?

5 Jun 2010, 10:57 AM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: A problem in my twin webstore!

Is this correct in your configure.php files ?

define('DB_PREFIX', '');

Your prefix should be between the single quotes. Maybe you didn't change it from the site #1 value?