Yeah, i can do that, but do i just copy and paste into a new directory and that is it? Shouldn't i run an install for the new store?
Yeah, i can do that, but do i just copy and paste into a new directory and that is it? Shouldn't i run an install for the new store?
Somewhere on this forum (a couple of weeks ago) I posted the procedure to do this.
No... no "install run" needed. The original store was "installed", so whatever you "clone" will also be "installed".
basically, the process involves:
1. Create a database with a different name (easy in Cpanel) and then in phpMyAdmin COPY your live database into it.
2. COPY the zc folders/files in the root, to a sub-directory (quick & easy in Cpanel)
3. EDIT the two configure.php files to reflect the PATH and DATABASE changes.
4. CHMOD all folders/files to required settings
5. Run fix_cache_key.php to sort our cache ref in dbase.
That's it
Last edited by schoolboy; 10 Nov 2009 at 02:27 AM.
20 years a Zencart User
Ok i THINK i can do that. Sorry if the question was asked before, i guess the search i did, didn`t direct me to that thread.
Now, just waiting for my store/sites/blog/mail/control panel to be accessible (hopefully a short maintenance on the host)
Ohhhhh.. good idea!!
20 years a Zencart User
I would add that these stores will be identical twins the first time you open them up, and (as I have discovered to my regret on several occasions), if you don't act quickly to make them NON-identical twins, you can find yourself doing the testing on the live site, and the legitimate required changes on the cloned site.
So, one of the FIRST things I do is load up NEW LOGOS - for both the admin panel AND the webshop in the clone...
These logos say THIS IS THE CLONE OF xxxxxxxxxx and the logos are just big, red banners!
20 years a Zencart User
Change the permissions on the folders/files. You should be able to do that either with your FTP client or from your webmaster panel (CPanel, most likely). It's usually best to do it through your webmaster panel. You want to limit access to the folders to most of the world. Most folders should be set to 755. Some will need to be set to less depending on the setup of your server. If there's a problem with the setting, Zen Cart may display an error message about being able to write to a certain file or folder.
OK maybe i did something wrong along the way, but when i created my new database, i was not prompted to set a username and password. Can i go back and do it? Is it set without me knowing it? So at this point, i am not sure where i am anymore![]()
You should be able to go back into your webmaster panel and assign a user and password for the database.