Zen Cart Logo
Forums / General Questions / Moving zen-cart to a different server...

Moving zen-cart to a different server...

Locked

Views: 8,845

Results 1 to 20 of 21
This thread is locked. New replies are disabled.
24 Feb 2008, 9:10 PM
#1
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Moving zen-cart to a different server...

Hello,

I'm interested in moving my zen-cart to a different server. I want to know what is the correct steps to move my files and database over......

Thank You
DigitalGuard

24 Feb 2008, 11:06 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Moving zen-cart to a different server...

Are you currently with a host that provides cPanel and moving to one that also provides cPanel?

25 Feb 2008, 3:23 AM
#3
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Re: Moving zen-cart to a different server...

Yes, Cpanel to Cpanel. Domain name will stay the same, only change I want is from this hosting company to another.

Thanks
DigitalGuard

25 Feb 2008, 4:04 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Moving zen-cart to a different server...

If your host will do it for you, it could be almost seamless.

If you have to do it yourself, here are the steps you'll need to follow:
https://www.zen-cart.com/tutorials/index.php?article=100

25 Feb 2008, 7:20 AM
#5
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Re: Moving zen-cart to a different server...

DrByte:

If your host will do it for you, it could be almost seamless.

If you have to do it yourself, here are the steps you'll need to follow:
https://www.zen-cart.com/tutorials/index.php?article=100

How would the host do it so its seamless? Would they need to follow the same steps as said in the tutorial...

Also, what if i have a template for the design and also i want to know if the old server mysql user name and password need to be the same.

Thanks
DigitalGuard

25 Feb 2008, 7:42 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: Moving zen-cart to a different server...

If it's cPanel-to-cPanel, and your host is willing to assist in the transfer, and you're willing to give them the cPanel password to your old site, and the data capacity to be transferred is within a reasonable size, they may be able to do a direct transfer of everything from server-to-server.
You need to talk to them about this. It's not something you can do yourself.

I don't understand your template question ... a template is a template. You can install a template on your new host the same as you would on the old one.

As to databases, if you keep the same password, that's one less thing to make a mistake on. But if you use a different one, you have better security since you can start fresh. And, if your host is transferring cPanel-to-cPanel for you, they'll take care of the database automatically, because it'll recreate the old one on the new server for you exactly as it was before.

Again, talk to your hosting company.

25 Feb 2008, 8:47 AM
#7
kobra avatar

kobra

Black Belt

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

Re: Moving zen-cart to a different server...

DrByte covered this mostly...

Just add that cPanel to cPanel....you can go to backup and perform a "Full Site" backup... This will generate a tar gzipped file with "ALL" account details, files, DB's, mail, etc.

Now you can not use this yourelf but your new host can restore this for you...

As stated, they can also do a server to server transfer if they are willing.

25 Feb 2008, 9:16 AM
#8
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Re: Moving zen-cart to a different server...

My new host refuses to do this, I guess i have not choice but to redo it...

Just one question, if i forgot the password & username for the mysql login and i need to create a new user and pass, how would i insert that in the new config file? which file is it?

Thanks
DigitalGuard

25 Feb 2008, 11:31 AM
#9
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Moving zen-cart to a different server...

There are 2 -

**includes/configure.php **and admin/includes/configure.php

25 Feb 2008, 8:14 PM
#10
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Re: Moving zen-cart to a different server...

Thank you it makes sense...

25 Feb 2008, 8:31 PM
#11
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Re: Moving zen-cart to a different server...

Okay, i want to start out the transfer of my site, but i need zen-cart 1.2.6, I have certain customization on it and i can just switch to 1.3.x

can any1 tell me where i can download 1.2.6 from

Thanks
DigitalGuard

25 Feb 2008, 9:18 PM
#13
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Re: Moving zen-cart to a different server...

Thanks Guys, just a simple problem now... I installed everything brand new and everyhing is fine except it give me the follow error on my homepage on the buttom.

Fatal error: Call to a member function Execute() on a non-object in /home/hostname/public_html/sitename/shop/includes/functions/sessions.php on line 72

Not sure whats going on... should i worry about it or once i copy my old files it will get fixed?

Thanks
DigitalGuard

25 Feb 2008, 9:36 PM
#14
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Re: Moving zen-cart to a different server...

Also, Im testing my site on a demo area of a new server

servername.com/~username...

or

username.servername.com

and now once i click somewhere it goits to my domain.com/shop/....

is there a way i can make it temp think my site is username.domain.com? and then switch it back once i go live?

Thanks
DigitalGuard

26 Feb 2008, 12:43 AM
#15
kobra avatar

kobra

Black Belt

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

Re: Moving zen-cart to a different server...

You can try editing the configure.php files....or if you have elected to have a dedicated IP you can use this

26 Feb 2008, 3:14 AM
#16
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Re: Moving zen-cart to a different server...

kobra:

You can try editing the configure.php files....or if you have elected to have a dedicated IP you can use this

Any info how to fix

Fatal error: Call to a member function Execute() on a non-object in /home/hostname/public_html/sitename/shop/includes/functions/sessions.php on line 72

I use to have php 4.x

new server is 5.x

would this make a difference...

Thanks

26 Feb 2008, 3:39 AM
#17
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Re: Moving zen-cart to a different server...

DigitalGuard:

Any info how to fix

Fatal error: Call to a member function Execute() on a non-object in /home/hostname/public_html/sitename/shop/includes/functions/sessions.php on line 72

I use to have php 4.x

new server is 5.x

would this make a difference...

Thanks

I actually found the answer, and to any1 who wants to know.. it is because of the php4 to php5... here is the fix

http://www.zen-cart.com/forum/showpost.php?p=287587#post287587

Thanks Every1
DigitalGuard

28 Feb 2008, 6:32 PM
#18
ectogon avatar

ectogon

New Zenner

Join Date:
Feb 2008
Posts:
1
Plugin Contributions:
0

Re: Moving zen-cart to a different server...

That link doesn't go anywhere, but thanks!

28 Feb 2008, 6:36 PM
#19
kobra avatar

kobra

Black Belt

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

Re: Moving zen-cart to a different server...

ectogon:

That link doesn't go anywhere, but thanks!
Worked for me???

28 Feb 2008, 7:16 PM
#20
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Moving zen-cart to a different server...

the link is truncated, it goes to an error page not found, (Sitemap)