Forums / General Questions / Moving Live Zen Cart to another server...

Moving Live Zen Cart to another server...

Locked

Views: 2,633

Results 1 to 18 of 18
This thread is locked. New replies are disabled.
27 Mar 2009, 2:35 PM
#1
kubio avatar

kubio

New Zenner

Join Date:
Mar 2009
Posts:
33
Plugin Contributions:
0

Moving Live Zen Cart to another server...

Hi there,
I'm moving my Zen Cart from one hosting server to another...How this should be the right way?...

What I am planing to do: download the root (installation directory) => fresh install on the new server=>change the DNS (move the Domain name)=> upload the files to the new /public_html, overwriting the new installed files=>job done. :flex:
Am I missing something or is really that simple?... :lookaroun
...well I was thinking alternative way: make a full back up on the old server=>download it=>upload to the new server=>restore, but there is a few problems doing it that way... first the domain is an addon domain on the old server (hence moving it), plus I've got quiet few databases there (7 or 8), because been doing some experimental installation,etc and can't recognize which of all is the one for the site I want to move...so basically can't keep the database and have to create new one...? is that right?...
an thoughts welcome.
thanks

27 Mar 2009, 2:40 PM
#3
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Moving Live Zen Cart to another server...

You can identify which database is being used by your site by viewing the includes/configure.php file. Database name is clearly listed.

Why not have your new host move the files for you - unless they CHARGE to do it?

Tina

27 Mar 2009, 2:47 PM
#5
kubio avatar

kubio

New Zenner

Join Date:
Mar 2009
Posts:
33
Plugin Contributions:
0

Re: Moving Live Zen Cart to another server...

charmedbytina2:

You can identify which database is being used by your site by viewing the includes/configure.php file. Database name is clearly listed.

Why not have your new host move the files for you - unless they CHARGE to do it?

Tina
Hi,
I'll have a look at that configure.php now... let say I find the right one, how to transfer it to the new server (down and upload or is something else?)?...
The new host offering free of charge courtesy(?!) site transfers, but I'm not willing to give them access and as I said there is another two live sites on the old server and I'm afraid they'll mess it up... :)

Thanks kobra, I'll go trough the tutorials now...

27 Mar 2009, 5:52 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Moving Live Zen Cart to another server...

The new host offering free of charge courtesy(?!) site transfers, but I'm not willing to give them access and as I said there is another two live sites on the old server and I'm afraid they'll mess it up... :
They have access whether you know it or not, but may not excersise it without permission??
Not what I would call a good start to a new host that you do not trust???

Zen-Venom Get Bitten

27 Mar 2009, 11:33 PM
#7
kubio avatar

kubio

New Zenner

Join Date:
Mar 2009
Posts:
33
Plugin Contributions:
0

Re: Moving Live Zen Cart to another server...

So...I messed up myself already :wacko:....
did a new ZC installation on the new server while waiting the domain to be moved (DNS)... then after few hours it finally showed up the fresh installed Zen... i tried to log into /admin with my newly set pass...i couldn't...tried few times...than entered the old user and pass with no success... there is a option to resend the pass... suppose to be sent to [email protected], ...then realize that i havent set that email to my new account...then i got angry and decide to reinstall the cart again...couldn't...fantastico says it is one script installed cant overwrite... then i got angrier went to the Cpanel and deleted the database...went to /public_html and delete everything in there...tried again with the install...same result... went to the reseller account and delete the whole cpanel and everything connected with the site in question... tried to create a new account about it...it failed... something to do with the DNS...so i went to the old host and change the dns nameservers to it again... and now i'm nowhere... not sure what actually i've done...is it disaster or still can be fixed?...:no::no::no:

28 Mar 2009, 12:25 AM
#8
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Moving Live Zen Cart to another server...

Are your files still on the "old" host server? Can you still access their cpanel to get a database backup?

Tina

28 Mar 2009, 9:21 AM
#9
kubio avatar

kubio

New Zenner

Join Date:
Mar 2009
Posts:
33
Plugin Contributions:
0

Re: Moving Live Zen Cart to another server...

charmedbytina2:

Are your files still on the "old" host server? Can you still access their cpanel to get a database backup?

Tina

yes, they are still there,plus I've downloaded copy of the backup on the PC...
ok, update: now the domain is back to the old server and the original site is showing up as normal...
shall start all over again (following the Zen Cart Tutorial strictly this time) or I've done some irreversible mistakes?...
When I try to create a new CPanel on the new server it gives me that:

Account Creation Status: failed (Sorry, a DNS entry for mysticstreasury.com already exists, please delete it first (from all servers in the dns cluster) )
Sorry, a DNS entry for mysticstreasury.com already exists, please delete it first (from all servers in the dns cluster)
what does it mean, where are those dns clusters... is that what ppl call: ''flushing the DNS''?...
cheers

28 Mar 2009, 9:28 AM
#10
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Moving Live Zen Cart to another server...

You're in a bit of a rush... and you're putting carts before horses it seems.

Much of what's going on here has nothing to do with ZC - esp the DNS flushing...

There will always be a little bit of down-time when you make a server/host move - for many reasons. But things need to happen in a specific sequence. You need to adhere to this sequence.

20 years a Zencart User

28 Mar 2009, 9:51 AM
#11
kubio avatar

kubio

New Zenner

Join Date:
Mar 2009
Posts:
33
Plugin Contributions:
0

Re: Moving Live Zen Cart to another server...

schoolboy:

You're in a bit of a rush... and you're putting carts before horses it seems.

Much of what's going on here has nothing to do with ZC - esp the DNS flushing...

There will always be a little bit of down-time when you make a server/host move - for many reasons. But things need to happen in a specific sequence. You need to adhere to this sequence.

so what to do now?...wait?...

28 Mar 2009, 11:22 AM
#12
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Moving Live Zen Cart to another server...

Let's assume that:-

  1. Your NEW hosting account is set up, and the server is configured, and you are able to FTP files to the server.

  2. You are able to create a database, and populate it with data.

  3. You have re-assigned the domain to its NEW NAME SERVERS, and are just waiting now for the changes to propogate through to the DNS nodes.

You should be able to access your site through a temporary URL provided by your host, eg:

http://subdom.hostwebsitename.com/~sitename/

(Generally, these temp URLS do not allow php, cgi, perl or other functionality, but it may be helpful for ftp purposes).

The objective is to get the back-end in order, and if you can follow 1,2,3 above, this should not be a problem.

You will have to wait for the new NS to propogate through the DNS nodes, and that can take minutes... hours... or a couple of days.

20 years a Zencart User

29 Mar 2009, 2:14 AM
#13
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Moving Live Zen Cart to another server...

As a reseller, you become your own host in a sense.
Your issue of now not being able to create an account is most likely that the domain name is in your httpd.cnf - editing this in a shell session is probably what you need to do - BUT - messing with this and erroring can bring the server down...

What sounds great on first glance - only means that you now must educate yourself on the duties of a host and might be a bit more than you currently can "chew" owing to the fact that you are installing ZenCart with fantastico...

Zen-Venom Get Bitten

4 Apr 2009, 7:25 PM
#14
kubio avatar

kubio

New Zenner

Join Date:
Mar 2009
Posts:
33
Plugin Contributions:
0

Re: Moving Live Zen Cart to another server...

OK, I've gone trough all that above and got to stage of migrating the actual Zen Cart Site from old server to the new one.
Did everything as it is in this tutorial: https://www.zen-cart.com/tutorials/index.php?article=100
everything went very smoothly and straight forward 'till the moment I went to check is my site working.
Then I've got this on the place where the site should be:

1146 Table 'mystic_zc1.zen_db_cache' doesn't exist
in:
[db_cache table]
???
what I've done wrong this time? :wacko::oops:
I did everything, step by step as it is in the tutorial...
this is the site I'm on about: MysticsTreasury.com
thanks in advance

4 Apr 2009, 11:12 PM
#16
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Moving Live Zen Cart to another server...

Is the site you're working in Mystic?
I get an error when trying to view.

Tina

5 Apr 2009, 6:09 PM
#18
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Moving Live Zen Cart to another server...

kubio:

what sort of error you're getting?... It's working fine for me...
The following errors "Server can not be found"

http://www.mysticstreasury.com/

Zen-Venom Get Bitten