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
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.
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.
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
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.
Re: Duplicate a htlm_public installation to a newdomain folder
Quote:
Originally Posted by
iciwing
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.