Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jun 2006
    Posts
    56
    Plugin Contributions
    0

    Default upgrade vs clean install

    The only thing I have time invested in in my ver 1.3.0.2
    is my catagories and products. (product pictures, description, etc.

    No big page customiztion, was really just getting going. I have some payment module errors I cant resolve.

    If I want to just upgrade can i preserve all my products work? If yes, where are the directions on how to do this.

    I can't seem to find.

    thank you.

  2. #2
    Join Date
    Jan 2006
    Posts
    420
    Plugin Contributions
    0

    Default Re: upgrade vs clean install

    Quote Originally Posted by kdgjevre View Post
    The only thing I have time invested in in my ver 1.3.0.2
    is my catagories and products. (product pictures, description, etc.

    No big page customiztion, was really just getting going. I have some payment module errors I cant resolve.

    If I want to just upgrade can i preserve all my products work? If yes, where are the directions on how to do this.

    I can't seem to find.

    thank you.
    To do this I would use Easy populate to extract all your cats and prods , create a new 1.3.7 store install easy populate and import them in , then do any page customisation in the overides sections , takes about 20 mins !

    HOWEVER you will be suprised how many little setting you forgot you had changed in the DB so the prefered method is make a backup of your DB and files , and get the store working in a new folder , then dump over the updated files , run ZC_install and update the DB , check it all works , and move it back to your live folder. ( changing the various paths in configure.php)

    Do the backup and restore again once you are happy with the changes to reflect new data.
    Various Zen cart sites !

  3. #3
    Join Date
    Jun 2006
    Posts
    56
    Plugin Contributions
    0

    Default Re: upgrade vs clean install

    Is this a backup and restore of my database on the host? Or is there a backup and restore function in ZenCart. I can't find any documentation.

  4. #4
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: upgrade vs clean install

    Have you looked in your /docs directory?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: upgrade vs clean install

    If you can install 1.3.7 in a separate directory with its own db, you can fiddle with the template and then backup the entire thing before uploading it to the live site. If you do that, you can run zc_install to upgrade the db only which will preserve your data. Of course, you should back up the live site (ZC files and db) before doing this, but it can be done.
    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

  6. #6
    Join Date
    Jun 2006
    Posts
    56
    Plugin Contributions
    0

    Default Re: upgrade vs clean install

    Thank you afo you have been helpful.

  7. #7
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: upgrade vs clean install

    Quote Originally Posted by kdgjevre View Post
    Thank you afo you have been helpful.
    I know some of what I said may sound like gibberish, but it's basically what I did to upgrade a ZC site from 1.2.7 to 1.3.7. I created a separate space to install 1.3.7 with its own database (which I filled from the live database for testing purposes). I then worked on getting the look of the site the way I wanted it. Since the live site was functioning well, I figured I could address issues like payment and shipping after the upgrade. Once I was done with the template, I downloaded the entire thing to my harddrive (where I had most of it anyway) and took the live shop down for maintenance. I uploaded the 1.3.7 files INCLUDING zc_install to the live shop. I edited the config files to match the old config files from the shop so they would be pointing to the right place (not the test site). I then ran zc_install to update the DB only. The result is the shop in my sig.
    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

  8. #8
    Join Date
    Jun 2006
    Posts
    56
    Plugin Contributions
    0

    Default Re: upgrade vs clean install

    No your help is not gibberish....i have one last clarifying question. I have decided that there is nothing but products in my store that i want to preserve. So I'm going to do a new install.

    the directions that i am looking for...."and no these directions are not in the DOCS" I have looked is.....

    can i back up my data base I NEED THE SPECIFIC INSTRUCTION......DROP TABLES, DON'T DROP TABLES, WHAT COMPRESSION ALL THE RIGHT SETTINGS. then one new install is going can i restore the data base.

    this is what i want to do, CAN IT BE DONE? i don't care about templates or payment moduels, my time has all been put into products.

    thank you thank you thank you.

  9. #9
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: upgrade vs clean install

    Here's what I did when I set up the test environment for 1.3.7 (stay with me, I am going to answer your question, although I'm going over old ground as well)

    I went into my webmaster panel (NOT ZC admin, but the webmaster panel for your domain) and used phpMyAdmin to backup the data. If you have multiple mySql databases, select the one you want from the dropdown menu. At the top of the screen there should be an option (a tab or something like it) for EXPORT. When you select that, there should be a series of options for the export format. Select SQL and save it as a file. Compression is up to you. The IMPORT function should recognize it when it uploads the data, BUT you shouldn't need to do that if everything goes well. If you only run zc_install for the db upgrade ONLY, the backup will be your safety net.

    Once I set up the (empty) db and installed 1.3.7 (from the files I unzipped on my local drive), I used the IMPORT option from CPanel (the webmaster panel my host uses) to populate the db. Once the site looked the way I wanted, I took the live site down for maintenance, uploaded the files from my local drive (where I'd made all my changes before uploading them to the testbed) to the live site INCLUDING zc_install. I updated the config files to match the live site's config files (you might want to save a copy of them locally, so you have all the info handy) and ran zc_install to upgrade the db only. The db upgrade ran perfectly and I didn't lose any data.

    If you chose to upgrade the live site directly, when zc_install is done, you'll have to use IMPORT to repopulate your db.

    Does that help?
    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

  10. #10
    Join Date
    Jun 2006
    Posts
    56
    Plugin Contributions
    0

    Default Re: upgrade vs clean install

    Absolutely helps, thank you. I was confused due to some posts that talked about eventually getting data base errors because they did not choose the PHP back up choice of "drop tables". Other documentation didn't mention the need to do this.

    Thanks for hanging with ME!

    Kendall

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h Clean install 1.5 DB 1.39 upgrade question.
    By maperr55 in forum Upgrading to 1.5.x
    Replies: 3
    Last Post: 14 May 2012, 03:00 PM
  2. Can I just upgrade from to the new version without doing a clean install?
    By peterdrozd in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 30 Apr 2010, 03:02 PM
  3. Upgrade and Clean Install Same Errors
    By pillaroom in forum Upgrading from 1.3.x to 1.3.9
    Replies: 11
    Last Post: 21 Feb 2008, 07:21 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR