Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Jun 2007
    Posts
    113
    Plugin Contributions
    0

    Default Is upgrading easier than I am making it?

    I am trying to upgrade just to see how hard it is, and I read the upgrade instructions in the docs section and am trying to follow it step by step. So I installed a whole new install into a differnt directory so I have the new version there with a new database file. I am to the point now where it says to compare the files using WinMerge. This seems like a lot of work and I want to make sure I am doing it right. I thought the whole point of the template overrides was to make upgrading easy. I thought when it came time to upgrade, you would just upgrade the current version and all your custom template directories you created would stay and not get overwriten by the new version, and it would make it easier. I don't really get the point of comparing these files because a lot of them just seem to be minor things that would not effect anything. This just seems a lot more time consuming and difficult than I thought and I just wanted to make sure I am doing this the right way.

  2. #2
    Join Date
    Nov 2007
    Location
    Essex, UK
    Posts
    137
    Plugin Contributions
    1

    Default Re: Is upgrading easier than I am making it?

    I wasn't sure about how to upgrade either but what I'm going to do is using my ftp I'm going to overwrite the old files, then check any mods that I've installed, then if necessary fix any mods. Shouldn't take to long and it should be easy ....... I hope.

  3. #3
    Join Date
    Dec 2005
    Posts
    1,059
    Plugin Contributions
    2

    Default Re: Is upgrading easier than I am making it?

    There were a lot of changes in the new 1.3.8. One thing that helps me is to print
    out the Changelog from 1.3.7 to 1.3.8 in the docs folder, so I can pretty quickly identify which files were used in my template or installed mods and need to be compared/updated.
    [FONT=Arial]Country Kitty Crafts[/FONT][FONT=Arial]
    [/FONT] [FONT=Garamond]
    [/FONT]

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Is upgrading easier than I am making it?

    Quote Originally Posted by dman76 View Post
    I thought the whole point of the template overrides was to make upgrading easy. I thought when it came time to upgrade, you would just upgrade the current version and all your custom template directories you created would stay and not get overwriten by the new version, and it would make it easier. I don't really get the point of comparing these files because a lot of them just seem to be minor things that would not effect anything.
    The point of the over-ride system is top prevent your changes from being over-written. However, that doesn't necessarily mean that your changes are compatible with the latest version. Even aparently minor changes can have a dramatic effect if not merged into your customised files.

    For example, there is a new security token created when a visitor first arrives at your site and checked at key times such as when they login. If you've changed the login page and don't merge in the code to pass the security token (one line), then your customers will be blocked from logging in.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Jun 2007
    Posts
    113
    Plugin Contributions
    0

    Default Re: Is upgrading easier than I am making it?

    So what if I did it this way...

    I copy the entire folder structure of the store to a new directory (say at www.domain.com/test). I backup the database and copy that to the store in the test directory. So then I should have two identical stores. Then, can I just unzip the new fileset and copy the entire contents to that test directory? Will that just overwrite all the system files and leave any template overrides I made?

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

    Default Re: Is upgrading easier than I am making it?

    Quote Originally Posted by dman76 View Post
    So what if I did it this way...

    I copy the entire folder structure of the store to a new directory (say at www.domain.com/test). I backup the database and copy that to the store in the test directory. So then I should have two identical stores. Then, can I just unzip the new fileset and copy the entire contents to that test directory? Will that just overwrite all the system files and leave any template overrides I made?
    Yes, that'll work. If you've used the override system correctly, your changes will be kept intact, but you should merge them with latest version of the same files. Something like WinMerge is helpful for 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

  7. #7
    Join Date
    Aug 2007
    Posts
    18
    Plugin Contributions
    0

    Default Re: Is upgrading easier than I am making it?

    Is it possible to just do a new install and then export and inport the database or did you guys change the database also?

    I think that you have just lost about 10,000 users.

  8. #8
    Join Date
    Jun 2007
    Posts
    113
    Plugin Contributions
    0

    Default Re: Is upgrading easier than I am making it?

    Ok I have been messing around with Winmerge a little and it appears pretty straightforward. So when I go through each file, and I see minor things (things that I havent changed), I just leave these alone and use the whole new file? And then for stuff where I have added code or something that is totally different, do I just copy that over? Is there anyway I can copy something over that will do me harm in that it disables any thing on the new version that should belong there? I guess what I want to know is how do you know what should be copied over and what shouldnt?

  9. #9
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Is upgrading easier than I am making it?

    Steps for updating your override folders:

    Make a list of all files in your override folders (this is something you ought to keep current whenever you do work on your site.)

    Compare the changelog with your list and note any files that match. There will be a bunch of files in your overrides that will not be in the changelog. These haven't been changed in the new version and can be left as is.

    Files that have been changed will need to be winmerged. This may require a two-step process, depending on what the changes are. To be safe, you should first compare the new version file to the original old version file to see what was changed in the new. If the changes are not in the same part of the file as your custom changes, it may be ok to simply copy the changes into your custom copy.

    You do need to understand what you have done and what the new version has changed, as sometimes there can be conflicts. If the new version has changed lines that your custom copy has also changed, then you may need to do some recoding to reconcile them. Obviously this has to be handled on a case-by-case basis.

    I have found in previous upgrades that only a few of my custom files had to be compared, and hardly any conflicts arose. We'll see how it goes this time.

  10. #10
    Join Date
    Jun 2007
    Posts
    113
    Plugin Contributions
    0

    Default Re: Is upgrading easier than I am making it?

    What is the changelog you mention? Is it a file somewhere?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Making a large inventory easier to navigate?
    By farmpartsandmore in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 25 Feb 2011, 09:24 PM
  2. Upgrading in root of the domain - is there an easier way?
    By ardhill in forum Upgrading from 1.3.x to 1.3.9
    Replies: 9
    Last Post: 24 Jun 2010, 06:35 AM
  3. Making more than one copy of a product
    By Kbee87 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 14 May 2009, 03:15 PM
  4. Easier way of upgrading? 1.3.0.2 - 1.3.7??
    By darrennanos in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 9 May 2007, 08:02 PM
  5. Easier way of upgrading?
    By bugmenot in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 24 Feb 2007, 05:13 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