Zen Cart Logo
Forums / Installing on a Linux/Unix Server / How to move Zen Cart from localhost to server

How to move Zen Cart from localhost to server

Locked

Views: 7,304

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
16 Oct 2007, 9:06 PM
#1
actorxfactor avatar

actorxfactor

New Zenner

Join Date:
Aug 2007
Posts:
84
Plugin Contributions:
0

How to move Zen Cart from localhost to server

Hi, I have re-done my site from scratch on my localhost and would like now to upload it to the server. I still have the original site on the server and would like to know how to over write it. Would I need to completely remove all the files from the server and start again. Heeelp:laugh:

16 Oct 2007, 10:53 PM
#2
bobdog avatar

bobdog

Totally Zenned

Join Date:
Mar 2006
Location:
Fresno, California
Posts:
590
Plugin Contributions:
0

Re: How to move Zen Cart from localhost to server

Just ftp the entire folder to the webserver. Then export the mysql database from localhost using phpmyadmin, log on to web server, import database.

17 Oct 2007, 1:25 AM
#3
actorxfactor avatar

actorxfactor

New Zenner

Join Date:
Aug 2007
Posts:
84
Plugin Contributions:
0

Re: How to move Zen Cart from localhost to server

bobdog:

Just ftp the entire folder to the webserver. Then export the mysql database from localhost using phpmyadmin, log on to web server, import database.
What about the version of the site that is already on the server incl the database, should I remove these first?

17 Oct 2007, 2:05 AM
#4
bobdog avatar

bobdog

Totally Zenned

Join Date:
Mar 2006
Location:
Fresno, California
Posts:
590
Plugin Contributions:
0

Re: How to move Zen Cart from localhost to server

If you are using version 1.3.7 on localhost, just upload the folder. And import the mysql database. If you have any worries, create a sandbox to test it.

I've done this a few times and never had any problems.

17 Oct 2007, 9:44 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: How to move Zen Cart from localhost to server

actorxfactor:

Still unsure what to do with the existing files (entire site) on the server, the tutorial does not take into consideration that the old version of the site is on the server.

Unless you have access to move the files between accounts on the server, you'll have to just follow the FAQ articles which tell you to use FTP to download the files from the old account and FTP to upload the files to the new account.

If you have access via a shell account to move the files between accounts, and have the permission to do so, just do it.

17 Oct 2007, 10:13 PM
#8
actorxfactor avatar

actorxfactor

New Zenner

Join Date:
Aug 2007
Posts:
84
Plugin Contributions:
0

Re: How to move Zen Cart from localhost to server

DrByte:

Unless you have access to move the files between accounts on the server, you'll have to just follow the FAQ articles which tell you to use FTP to download the files from the old account and FTP to upload the files to the new account.

If you have access via a shell account to move the files between accounts, and have the permission to do so, just do it.

So basically I am just uploading new files to the server and overwriting the old ones??

17 Oct 2007, 10:19 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: How to move Zen Cart from localhost to server

You can delete or overwrite the files ... it's up to you.
If you want a clean install, it would be wise to delete what's there and upload a fresh set ... that way there is nothing left lingering from the old site.

As to the database, you'll probably want to remove the existing one and load in the new one.
It all depends what you need to do with the old data.

If you don't need anything from the existing/old site/data/files, then ... just delete it.