Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / changing servers and upgrading to 1.3.9 at same time

changing servers and upgrading to 1.3.9 at same time

Views: 2,208

Results 1 to 7 of 7
28 Jan 2011, 6:34 AM
#1
alleyo avatar

alleyo

New Zenner

Join Date:
Jan 2011
Posts:
6
Plugin Contributions:
0

changing servers and upgrading to 1.3.9 at same time

My ZenCart was crawling, so my host suggested that I transfer everything to their newer system-cPanel.

I was on 1.3.8 and needed to upgrade, but I wanted to transfer everything to the new system first. I wanted to start out with 1.3.8 on the new server so I had a store running and then upgrade. According to ZenCart this is the best way to do it. https://www.zen-cart.com/tutorials/index.php?article=100

Problem is, my host had some problems. First Fantistico De Lux was scapped for Simple Scripts. We tried to install with that, but it didn't work. They have a problem now with all of Simple Scripts working, so they said I had to use QuickInstall. With QuickInstall there is no way of installing an older version of Zencart-only the newest is allowed. Also you can not import, you have to use a fresh new install.

Now I do not know how to import my database from the old system to the new. I have it backed up, but if I import it in phpmyadmin will it override the newer database config and cause problems?

I need my old customers, their accounts, histories, etc in the new system.

Thanks for any direction anyone can offer!

28 Jan 2011, 6:50 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: changing servers and upgrading to 1.3.9 at same time

There is no need to use an outside install script to install Zen Cart. Download the version you want from Sourceforge to your pc, unzip it, ftp it to your server, and run the zc_install (the built-in install script). It takes no more technical knowledge to do it this way; you will have to know how to use FTP anyway to maintain your Zen Cart.

Read the tutorials (and the various readme files in the unzipped /docs/ folder) for full instructions.

28 Jan 2011, 6:52 AM
#3
kobra avatar

kobra

Black Belt

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

Re: changing servers and upgrading to 1.3.9 at same time

I would upgrade on the old server as you might have php issues if the new server is up to date and running php 5.x

Your DB issue is addressed here
https://www.zen-cart.com/tutorials/index.php?article=108
and to do it properly with phpmyadmin
'https://www.zen-cart.com/tutorials/index.php?article=103

28 Jan 2011, 7:04 AM
#4
alleyo avatar

alleyo

New Zenner

Join Date:
Jan 2011
Posts:
6
Plugin Contributions:
0

Re: changing servers and upgrading to 1.3.9 at same time

Thanks, gjh42, I know how to install manually from the past. Because of the server change, I did not think I could do it manually this time. I guess because I was on the phone with the host all day and they acted like I had to use a script. I thought maybe their system only worked that way. I am not too familiar with how databases work. It is good to know I can do it manually.

Hi Kobra! I did think about trying to upgrade on the old server first, but the problem is that they already repointed my DNS. I can't access the old site online anymore. Any suggestions in this scenerio?

Thanks again :)

28 Jan 2011, 7:13 AM
#5
kobra avatar

kobra

Black Belt

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

Re: changing servers and upgrading to 1.3.9 at same time

If you have a dedicated IP on the old you can edit your 2 configure.php files with it
Replace the instances of
http://domain.com
https://domain.com

with
http://IP_number
https://IP_number

28 Jan 2011, 7:24 AM
#6
alleyo avatar

alleyo

New Zenner

Join Date:
Jan 2011
Posts:
6
Plugin Contributions:
0

Re: changing servers and upgrading to 1.3.9 at same time

Thanks Kobra, I'll try to figure that out tomorrow. I don't know if I still have a dedicated IP on the old server.

I tried to quickly update the database on the new server to see what would happen. It said on phpMyAdmin, "Import has been successfully finished, 460 queries executed." I looked and my customers were all there!!

BUT, in my ZenCart admin I have a pink message on top that reads, "Your database appears to need patching to a higher level. See Tools->Server Information to review patch levels." I looked where the message instructed, but don't really know what I am looking for!

Does this need I will indeed need to start over with a manual install, or can I try to perservere form here, since i have the database at least showing?

28 Jan 2011, 7:30 AM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: changing servers and upgrading to 1.3.9 at same time

I suppose that depends on how much you want to keep your old template. You may be able to install the template override files in the new site and check/merge as required.