Results 1 to 7 of 7
  1. #1
    Join Date
    May 2007
    Posts
    8
    Plugin Contributions
    0

    Default Clone site - not working ?

    [FONT=Times New Roman]Hi All[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]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. [/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]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?[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]Any ideas?[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]Thanks[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]James [/FONT]

  2. #2
    Join Date
    Jan 2004
    Posts
    58,460
    Blog Entries
    3
    Plugin Contributions
    111

    Default Re: Clone site, how do I find database info please?

    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  3. #3
    Join Date
    May 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Clone site, how do I find database info please?

    [FONT=Times New Roman]Hi thanks for the reply.[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]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. [/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]for the example the original sit is at [/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]http://localhost/originalsite/[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]then the clone is at [/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]http://localhost/thisistheclonesite/[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]the problem is if I try to access the admin section of the clone site it goes back to [/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]https://localhost/originalsite/admin/login.php?zenAdminID=%%^^&**[/FONT][FONT=Times New Roman]((()([/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]I made this bit up %%^^&**((()( just incase it was a secret code for security![/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]So are you able to help or can any one else make any suggestions please?[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]Thanks[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]James[/FONT]

  4. #4
    Join Date
    Jan 2004
    Posts
    58,460
    Blog Entries
    3
    Plugin Contributions
    111

    Default Re: Clone site, how do I find database info please?

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

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  5. #5
    Join Date
    May 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Clone site, how do I find database info please?

    [FONT=Times New Roman]Hi[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]Thanks for another reply. Sorry Im not very good at all this. I have now managed to change the [/FONT]
    [FONT=Verdana]admin/includes/configure.php[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]is that not the same as [/FONT]
    [FONT=Verdana]includes/configure.php[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]Because I can only find one file?[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]But now I get this message[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]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.
    [/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]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?[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]Thanks[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]James[/FONT]

  6. #6
    Join Date
    May 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Clone site - not working ?

    http://tutorials.zen-cart.com/index.php?article=206


    Just found this and now Im in.

    Thanks for your help. Its much appreciated.

    All the best

    James

  7. #7
    Join Date
    Sep 2007
    Posts
    14
    Plugin Contributions
    0

    Default 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...

 

 

Similar Threads

  1. Site does not load in IE--other browsers are fine
    By mjpowers in forum General Questions
    Replies: 11
    Last Post: 11 Jan 2008, 10:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •