Buy Domain Name, Domain Name Registration Domain Transfer & Free Web Hosting on LimeDomains
Search for:
View unanswered posts | View active topics It is currently Thu Sep 09, 2010 6:20 pm



Post new topic Reply to topic  [ 3 posts ] 
 Local Host ZenCart to Lime Host ZenCart 
Author Message
User avatar

Joined: Fri Apr 02, 2010 1:14 pm
Posts: 4
Post Local Host ZenCart to Lime Host ZenCart
Hello,
I have ZenCart with the mods, layouts, ect. almost done on local host.
After a fresh ZenCart Lime install. Will this work..?
FTP overwrite all folders/files (except admin/includes/config & includes/config).
Drop Lime tables. Add/Insert tables from local.
I am thinking that parts of the config table & all of the admin table should remain intact.
What parts of the config table should remain intact, if any need be.?
So far, I have over 824 config tables to sift through, but am assuming just a couple have to do with db/site connections.
I'll give it a go on another local sub-folder and post what's what.
In the mean time if any one has done this successfully, please post the correct procedure.
Thanks, dh


Fri Apr 02, 2010 7:52 pm
Profile

Joined: Tue Sep 29, 2009 2:34 pm
Posts: 39
Post Re: Local Host ZenCart to Lime Host ZenCart
Hi darrylh,

To move Zen Cart installation to another host or a different server, please find below the steps mentioned below and this would work.

1. On your NEW host, create a new MySQL database. Note the username, password, database name, and host name
2. Go to your NEW host and upload (FTP) a fresh NEW install using the same version files that you built your other site on.... this will make sure that you get the proper settings in your configure.php files...
While installing, allow it to install the demo products, so that you can test and be sure that it's working nicely.
a. Install (when asked about the database-table-prefix during Database-Setup, use the same prefix that your old store uses)
b. Test it.
c. Make backups of the NEW server's /includes/configure.php and /admin/includes/configure.php files by downloading them (FTP) to your PC.

3. On your OLD host, Make a COMPLETE backup of your DATABASE and STORE.
a. Use either the "Backup MySQL Database" contribution to do the backup of your database, or use phpMyAdmin to export your entire database ... include the "DROP" tables command, and under Data, choose "Complete Inserts" and "Extended Inserts".
Save the SQL file to your PC for later.
b. Download all your old site's files via FTP (or if you have the option, zip them up on the server and download the zip)

4. Now upload your OLD files over the NEW files on the NEW server, WITH TWO EXCEPTIONS: Don't overwrite the /includes/configure.php and /admin/includes/configure.php files on the NEW server.
5. Go back to phpMyAdmin on your NEW server.
a. Select your NEW database (that you installed the NEW Zen Cart into)
b. DROP all the tables. (Check them all and scroll down and on "With Selected..." select DROP. Confirm Yes.
c. Click on the SQL tab across the top (or "Import" on newer phpMyAdmin configurations) and click Browse.
d. Select the SQL file you made in step 3a when you exported your old database, and click Go.

6. Grab the "Fix_Cache_Key" utility to reset your Admin->Sessions->Session Directory key so that it uses the proper folder path for your new server:
http://www.zen-cart.com/index.php?main_ ... ucts_id=82

Simply upload the file to your NEW Zen Cart folder and open fix_cache_key.php in your browser. It will give you status messages. Delete fix_cache_key.php when you're finished.

7. You're done. Open your store and admin areas to see it all ready to go!

8. You should review all your email settings in Admin->Configuration->Email Options -- especially any SMTP server/account settings, and of course all your email addresses.

_________________
Thanks and Regards,

Hemant Batra


Sun Apr 04, 2010 6:56 am
Profile
User avatar

Joined: Fri Apr 02, 2010 1:14 pm
Posts: 4
Post Re: Local Host ZenCart to Lime Host ZenCart
hemantbatra,

Thanks a lot.... very good instructions.

Didn't know about that cache key step at all. That'd save some headaches.... thanks


Sun Apr 04, 2010 5:13 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

 
Jump to:  
cron