How do I upgrade my site?

Preamble worth reading: http://www.zen-cart.com/entry.php?3-...d-of-upgrading

Detailed upgrade instructions that help you retain your customizations while upgrading to new features, can be found in your ZIP file under the /docs/2.Readme-Upgrade.html file and also in this related FAQ article 

A. ALERT: If you want to preserve your CUSTOMIZATIONS, use these instructions INSTEAD: upgrading and preserving customizations

B. If you have NO CUSTOMIZATIONS to preserve, here's a high-level overview/summary of a slightly shorter process:

  1. Back up your site from the server as well as the copy on your computer.
  2. Backup your database
  3. Create a new directory and copy your site into it
  4. Then create a new database and load your old database in it
  5. Next, change the two configure.php files to utilize the new directory and database
    This way ... when you attempt to upgrade you are "practicing" to see where the problems, if any will happen
  6. Make sure all appears to be working on your temp site.
  7. Now load the "new" version files to your new temp directory (from latest downloaded ZIP)
  8. Run the http://www.your_domain_name.com/your_new_site/zc_install
  9. Choose the Upgrade Database option
  10. Process each suggested step one at a time ... leave the first checkbox that the upgrader picked checked and uncheck the others.
    -Advantage is that you can see your problems step by step
    -Each time it completes it will recheck the boxes left to go.
    -Continue in this method until all boxes are unchecked.
  11. If you find you have issues, you are not hurting anything and can always start over without damage to your existing shop and live database.

Reminder:  Read the /docs/2.readme-upgrade.html document for step-by-step details and information on tools to help in the process.



QUESTION: "Why is this process so long?"

ANSWER: Another way to look at it is this:  An "upgrade" is essentially a rebuilding of your site.
The steps outlined above are the recommended way to do it so that you rebuild your site in a temporary location, letting you resolve all potential problems *before* you ever touch your actual live site. This gives you time to sort out whatever needs sorting "just in case", and allows you to keep taking sales while you're preparing the upgrade. It also helps take some of the pressure off and makes it less urgent to do it all in one fell swoop. 

The process of comparing your site against the original code for the old version is, in one sense, to simply help you quickly identify what customizations you need to make to put those same capabilities into your new site. It simply speeds the process and creates a sort of checklist of things for you to re-do on your new site.

Then, after you've got it all built in the temporary location, you put your live store down for maintenance, quickly redo the upgrade there, and then bring it online ... meaning your actual live store's downtime could be as short as 5-10 minutes depending on complexities etc. 

So, follow the guide, and while there may be some learning involved and remembering of things you did awhile back, it's all time well spent.



QUESTION: "I have a very old version. Do I upgrade in stages, or all-at-once?"

ANSWER: If you are upgrading from v1.3.xx to v1.5.xx then you can upgrade to the latest version directly. When you do the database-upgrade step it will show you all the database-version-levels which need upgrading, and will pre-check the checkboxes for you and will take care of upgrading through all those steps automatically.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I find out what version of Zen Cart or PHP or MySQL I'm using?

To find out what version of Zen Cart or PHP or MySQL you are currently using, you can simply go...

Getting a BLANK PAGE? Here's the answer ...

If you're getting a blank page when trying to browse to a certain page on your store, or after...

What's New in the Upcoming v2.0 release?

Database Abstraction Layer and Sql CacheThe abstraction layer has been re-factored to include a...

Image Preparation - How-to

I've seen several posts where people obviously aren't quite sure about the best way to set up...

Some tips to modify stylesheet

1. Download Web Developer extension for FireFox here2. Install & restart FireFox. You should...