Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2023
    Location
    Canada
    Posts
    5
    Plugin Contributions
    0

    Default Duplicate a htlm_public installation to a newdomain folder

    I have a running site under the home/xxx/public_html. I want to duplicate the site with a different newdomain name and new database. I donwload a zc_install zip in the new domain folder. Unzip it. Run newdomain.com/zc_installfolder/zc_install.

    Now for the Store physical path I give Home/xxx/newdomain.com. The system gives me a message saying that I have a problem with the path. Asking fix or continue.Should I continu?

    I want to used the both sites in running mode

    Thanks

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Duplicate a htlm_public installation to a newdomain folder

    FTP to newdomain.com and put this PHP file in the root folder, named "getcwd.php"

    <?php
    echo getcwd();

    Then run it from your browser:

    newdomain.com/getcwd.php

    This will print out the exact path that you should use in your configure files.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Mar 2023
    Location
    Canada
    Posts
    5
    Plugin Contributions
    0

    Default Re: Duplicate a htlm_public installation to a newdomain folder

    Sorry but I need more explination.do you mean FTP a zc_install in the new domain or a duplicate copy of the existing domain that I want to copy?

    Thanks.

  4. #4
    Join Date
    Mar 2023
    Location
    Canada
    Posts
    5
    Plugin Contributions
    0

    Default Re: Duplicate a htlm_public installation to a newdomain folder

    Ok I made your post suggestion. It give me Home/xxx/newdomain.com.
    So I will answer Continu at the error and see.

    Thanks for your reply

  5. #5
    Join Date
    Mar 2023
    Location
    Canada
    Posts
    5
    Plugin Contributions
    0

    Default Re: Duplicate a htlm_public installation to a newdomain folder

    It saying that the configure.php hd problems. I dont know what happens.
    Can I delete everything database and the installation folder and execute .
    I wonder if I could copy my database and give another name, Then copy a backup of my site that is in public_html in the new domain folder. Change all configures files. Will it work .Thanks again.Sorry for my problems.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,477
    Plugin Contributions
    88

    Default Re: Duplicate a htlm_public installation to a newdomain folder

    Quote Originally Posted by iciwing View Post
    It saying that the configure.php hd problems. I dont know what happens.
    Can I delete everything database and the installation folder and execute .
    I wonder if I could copy my database and give another name, Then copy a backup of my site that is in public_html in the new domain folder. Change all configures files. Will it work .Thanks again.Sorry for my problems.
    Remember that the storefront /includes/configure.php file is marked read-only (permissions 444), so you need to "un-read-only" it (permissions 644) before you can either edit or overwrite that file.

 

 

Similar Threads

  1. moving folder and duplicate files
    By haked in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 7 Nov 2009, 09:30 PM
  2. Installation complete. When i remove installation folder it resets?
    By zindras2 in forum Installing on a Windows Server
    Replies: 1
    Last Post: 3 Oct 2009, 07:43 PM
  3. duplicate admin folder has appeared
    By Adam65 in forum General Questions
    Replies: 1
    Last Post: 4 Aug 2009, 10:27 AM
  4. Duplicate Folder
    By phzed in forum General Questions
    Replies: 0
    Last Post: 26 Nov 2008, 07:31 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR