If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading from 1.2 to 1.3.x / Upgrading from 1.2.7 to 1.3.7

Upgrading from 1.2.7 to 1.3.7

Locked

Started by dealbyethan_com on 25 Mar 2007, 2:28 AM · Views: 3,823

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
25 Mar 2007, 2:28 AM
#1
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Upgrading from 1.2.7 to 1.3.7

Hi,

I am finally thinking to upgrade from version 1.2.7 to 1.3.7. Can anyone please provide me with the detailed instructions on how to do this? For your information, I have a SSL certificate, custom template and SEO friendly URL installed. Thanks in advance.

Best regards,
Ethan

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

25 Mar 2007, 3:14 AM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Upgrading from 1.2.7 to 1.3.7

I upgraded the site in my sig from 1.2.7 to 1.3.7. I build a duplicate 1.3.7 cart and fiddled with the template until I was satisfied then uploaded the whole thing to the live site and ran zc_install to upgrade the database only. The site doesn't have SSL or SEO.

The one thing you DON'T want to do is upload 1.3.7 to the live site and run zc_install without building a duplicate site and using that to do the upgrade. If you simply upload and run zc_install, you'll overwrite your database and lose all the data in it.

I'm sure others will have different/more advice to offer. :D

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

25 Mar 2007, 4:12 AM
#3
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Upgrading from 1.2.7 to 1.3.7

Hi,

Thanks for your suggestions. Can you tell me what are the steps to do the upgrade (an idiot's guide would be good). In particular, which are the files which I must change to make things work?

Regards,
Ethan

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

25 Mar 2007, 5:01 AM
#4
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Upgrading from 1.2.7 to 1.3.7

When I upgraded the Holzheimer's site, I had the luxury of installing 1.3.7 on another server and playing with it there. You can always install it in a separate folder to do the same.

First thing you have to realize is that you will lose your current template. It won't work with 1.3.7 which is (nearly) tableless.

If you can install 1.3.7 in a folder, act as if you're setting ZC up for the first time. Create a separate database for it. You can either leave it empty or import/export your current db into it.

Download 1.3.7 (use the link in the forum header) and unzip it on your local drive. You'll be better able to manipulate files that way. Use a good FTP program (Filezilla is a good free one) and upload the 1.3.7 files into the folder on your domain and run zc_install. There's documentation in the download and the installer will help you through. Once you get it installed, you can start laying out the design for your template.

To create a very basic custom template (you can build from there), you need:
includes/languages/YOUR_TEMPLATE/english.php
includes/languages/english/YOUR_TEMPLATE/index.php
includes/languages/english/YOUR_TEMPLATE/header.php (to change the logo)
includes/templates/YOUR_TEMPLATE/template_info.php
includes/templates/YOUR_TEMPLATE/common/tpl_header.php
includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
includes/templates/YOUR_TEMPLATE/images/logo.gif
includes/templates/YOUR_TEMPLATE/css/stylesheet.css

Any where you see a /classic/ folder, you can create a folder for your custom template. Simply copy the required file from /classic/, /template_default or the top level directory (like /english/).

When I did the Holzheimer's site, I didn't fool with the extras (like the SSL or SEO) since I knew it would never be live. If you want, you can always make the "temporary" folder the live site, but that's a bit more than you need to know right now.

For the moment, leave your live site alone and work in a separate folder (or locally, if you're up to installing what you need... there's a section on the forum with info on that).

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

28 Mar 2007, 9:05 AM
#5
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Upgrading from 1.2.7 to 1.3.7

Hi,

Thanks for your help. I installed the v1.3.7 in a separate folder using cpanel and have been reading the instructions to learn how to upgrade. Is your idea to make this newest zencart as close as to the current one I have by finding the differences between the old and new files? If so, how do we transfer all the products from the old version to the new version?

Regards,
Ethan

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

29 Mar 2007, 3:45 PM
#6
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Upgrading from 1.2.7 to 1.3.7

Hi all,

I am still figuring out how to upgrade (I am not good at this). I would like to ask a few basic questions.

  1. How do we backup the live database and upload it to the test cart?
  2. How do we run zc_install to upgrade the database only?

Please help. Thanks in advance.

Regards,
Ethan

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

29 Mar 2007, 6:17 PM
#7
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Upgrading from 1.2.7 to 1.3.7

You can export and import your old DB from phpMyAdmin in your CPanel.

When I did the 1.2.7 to 1.3.7 upgrade, I did export/import the DB, but I did it for test purposes only (so I could see what the site would look like with products).

I did all my editing on my local machine and uploaded the changes to the test cart. When I was done with the look/feel of the site, I took the live site down for maintenance, uploaded my 1.3.7 version from my local machine - including the zc_install file - and ran zc_install. It offered me the option of upgrading the db only since all the other information was 1.3.7 already.

You'll likely have to tweak some of the settings on the live cart once you do that... like payment methods and the template selection, but otherwise you should be good to go.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

29 Mar 2007, 6:20 PM
#8
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Upgrading from 1.2.7 to 1.3.7

dealbyethan.com:

Hi,

Thanks for your help. I installed the v1.3.7 in a separate folder using cpanel and have been reading the instructions to learn how to upgrade. Is your idea to make this newest zencart as close as to the current one I have by finding the differences between the old and new files? If so, how do we transfer all the products from the old version to the new version?

Regards,
Ethan

I didn't bother with the differences since 1.3.7 is very different from 1.2.7. I acted as if I was setting the cart up for the first time in the test cart. The old 1.2.7 template won't work with 1.3.7, so you'll have to do that over.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

30 Mar 2007, 12:29 AM
#9
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Upgrading from 1.2.7 to 1.3.7

Hi,

Thanks for your reply. I still don't get how I can import the old database to the test cart so I can see what the site would look like with products. In the phpmyadmin, where do I import the old database to? The old database already has its own tables. I installed the latest zencart but I don't see a database. Am I supposed to create a new one manually? If so, how do I do that?

Regards,
Ethan

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

30 Mar 2007, 3:06 AM
#10
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Upgrading from 1.2.7 to 1.3.7

You can create the database for the new cart using phpMyAdmin. phpMyAdmin also has options for exporting and importing data. You'll have to export the old db and then import it into the new db you created. You may have to run zc_install again on the test cart to upgrade the db.

If you didn't create the db before installing 1.3.7, how did you do the install? It asks about the db.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

30 Mar 2007, 4:56 AM
#11
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Upgrading from 1.2.7 to 1.3.7

Hi,

I installed 1.3.7 through fantastico in cpanel. It didn't ask if I wanted to create the db or not. Does this mean I should reinstall 1.3.7 using other method? Thanks for your help.

Regards,
Ethan

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

30 Mar 2007, 1:12 PM
#12
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Upgrading from 1.2.7 to 1.3.7

Are you certain it didn't create a database? I'm not sure how it could install without one.

Does the test cart have a folder called zc_install? If so, use your CPanel to create a database and assign a user to it. Also use CPanel phpMyAdmin to export the data from the live database and then import it to the new database. Open a browser and go to http://www.yourdomain.com/test cart folder/zc_install/ and the installer should do the rest.

If that doesn't work, you should probably delete that test cart that Fantastico created and begin the process over using the download available directly from ZC (link at top of site).

Unzip the download onto your local machine (this is a great idea anyway since it allows you to edit files locally and then upload them to your site).

Use a good FTP program like Filezilla (another freebie) to upload the ZC files to the test cart folder.

After that you can start building the custom template.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

30 Mar 2007, 2:53 PM
#13
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Upgrading from 1.2.7 to 1.3.7

Hi,

I exported the live database successfully and dropped all the tables on the new database. How do I import it to the live database into the new database? I mean what settings do I need in the phpmyadmin?

Regards,
Ethan

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

30 Mar 2007, 3:44 PM
#14
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Upgrading from 1.2.7 to 1.3.7

When I did it, I just imported it and let phpMyAdmin decide. That may not be very "professional", but I wasn't concerned with the content of the test database since I planned to disgard it once I was done testing. Even doing that, I didn't notice any information missing from the db during my testing. As I said, I wanted to see how things would look with categories/products available, working links, etc. The admin on the test cart appeared to work just as well.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey