Forums / Installing on a Windows Server / Clone site - not working ?

Clone site - not working ?

Locked

Started by james_b on 8 Sep 2007, 8:20 AM · Views: 2,091

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
8 Sep 2007, 8:20 AM
#1
james_b avatar

james_b

New Zenner

Join Date:
May 2007
Posts:
8
Plugin Contributions:
0

Clone site - not working ?

Hi All

I have a Zen Cart install on a local host I have been building for ever! What I want to do is clone the site and then work on the clone but to a smaller scale. I have purchased a different domain name to do this so the business will actually be split into two similar business ideas.

I have exported the original database and ready to import. I am not sure what my original database was called though or what the passwords are. Is there a file I can look at to work this out please? I also use Drupal and know that looking at the settings file shows me the database name, user name and password?

Any ideas?

Thanks

James

8 Sep 2007, 8:53 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Clone site - not working ?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

9 Sep 2007, 12:31 PM
#3
james_b avatar

james_b

New Zenner

Join Date:
May 2007
Posts:
8
Plugin Contributions:
0

Re: Clone site - not working ?

Hi thanks for the reply.

Unfortunately it does not help me much. If I set up a new data base on my local host and access the copied sites files through the web browser the site shows up with the new name.

for the example the original sit is at

http://localhost/originalsite/

then the clone is at

http://localhost/thisistheclonesite/

the problem is if I try to access the admin section of the clone site it goes back to

https://localhost/originalsite/admin/login.php?zenAdminID=%%^^&**((()(


I made this bit up %%^^&**((()( just incase it was a secret code for security!

So are you able to help or can any one else make any suggestions please?

Thanks

James

9 Sep 2007, 1:16 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Clone site - not working ?

Did you update **both **configure.php files with the new paths ?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

9 Sep 2007, 1:36 PM
#5
james_b avatar

james_b

New Zenner

Join Date:
May 2007
Posts:
8
Plugin Contributions:
0

Re: Clone site - not working ?

Hi

Thanks for another reply. Sorry Im not very good at all this. I have now managed to change the
admin/includes/configure.php

is that not the same as
includes/configure.php

Because I can only find one file?


But now I get this message


1146 Table 'I have deleted this bit .project_version' doesn't exist
in:
[select * from project_version WHERE project_version_key = 'Zen-Cart Database' ]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.


I have not imported any of the data base from the original site or run the install. I think that’s what it said to do when I did a search but I’m well confused?

Thanks

James

4 Oct 2007, 12:52 PM
#7
bakerman avatar

bakerman

New Zenner

Join Date:
Sep 2007
Posts:
15
Plugin Contributions:
0

Re: Clone site - not working ?

Okay... so let me slip in here and ask.... I have a "clean shop" set up... but I also have one online on my website... now I need to have a dev copy of the live database (someone else built it for me online and now I have to make changes myself)...

I copied the directory holding all the live code... I ftp-ed it down from my live site....

I then put it in the copied directory into my xampp directory:
C:\Program Files\xampp\htdocs\shop\includes\templates{MyCopi edLiveDir}

Now localhost\shop still does NOT display my copy of the live site... I have also changed the
configure.php
index.php
files but which one should I have changed? The copies in here?
C:\Program Files\xampp\htdocs\shop\includes

Please help. Last time I started dabbling I messed up my install for two days and had to reinstall xampp and MySQL.... once I get a local copy I'll be straight but until then I am too scared to experiment...

Oh, and I have bought the book but its been a week and it has yet to arrive so that will be here anyday now - hopefully - but help still urgently needed.

Thanks in advance for any help.

Oh, and I have edited both the configure files but still no joy...