Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Moving existing install to new server... HELP!!!

Moving existing install to new server... HELP!!!

Locked

Views: 1,303

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
17 Jun 2008, 11:58 AM
#1
penguino avatar

penguino

New Zenner

Join Date:
Mar 2008
Posts:
8
Plugin Contributions:
0

Moving existing install to new server... HELP!!!

ok, so I admit I am a complete noob when it comes to zen cart configuration. I am moving an installation from server A to server B. Both servers are using cpanel for configuration so I compressed all the files into a zip, downloaded to local workstation, then unzipped and uploaded with all the same pemissions to the new server. I used the backup wizard to grab the .gz file for the SQL database and everything goes smoothly until I restore the SQL database and the page throws up an error about not being able to access the db.

I went into the config.php file in the includes directory and updated the db name as cpanel does some funky stuff by renaming it userid_zc1.sql and it was referencing the old sub-domain from the other server it was hosted on and the old UID so I updated all references in the config file that I could find to the new uid_zc1.sql. The only other thing I can think of is that my user names are not going to match exactly for the db in My SQL on cpanel due to it being a new host.

I would post files, but this is for a client that hired me so I can't post files or links under our agreement. If anyone has any suggestions of what I may be doing incorrectly to move over the install, I would greatly appreciate it. Thanks

17 Jun 2008, 12:08 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Moving existing install to new server... HELP!!!

Edit the 2 configure.php files to match new details - also see

https://www.zen-cart.com/tutorials/index.php?article=100

17 Jun 2008, 3:19 PM
#3
penguino avatar

penguino

New Zenner

Join Date:
Mar 2008
Posts:
8
Plugin Contributions:
0

Re: Moving existing install to new server... HELP!!!

exactly what I was searching for. Thanks Kobra, you just saved me hours of frustration. I will try the steps and post back if I run into any further snags.