Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2008
    Posts
    30
    Plugin Contributions
    0

    Default Upgrade alternative?

    Hi all,

    Just a question. Rather an upgrade my store from 1.39 to 1.5.

    Is it possible to just do a clean install of 1.5 and then import the product and customer database into it from my old store?


    I've read loads of problems from other users about hacks and other problems because of old files or something similar remaining on the server.

    I'm not particularly techie so would like to avoid problems at all costs. My site could also do with a revamp! What do you guys think?

    Thanks in advance.
    ----------------------------------------------------

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,268
    Plugin Contributions
    3

    Default Re: Upgrade alternative

    You admin that you are not particularly "techie"... so you've answered your question...

    Do a proper, conventional upgrade.

    Fiddling about with the database is something that can even confuse "experts".

    Be aware that some add-ons you may have in 1.3.9 may not be compatible qith 1.5 . If this is the case, then there is quite a bit of work required in doing the upgrade.

    For some of our clients sites, we are holding back on upgrading to 1.5, because some essential modules are not yet compatible.
    20 years a Zencart User

  3. #3
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Upgrade alternative

    I'm not sure I'd interpret the OP's question as you did, though if you interpreted it correctly, your advice is spot on.

    But if he just meant to install a new blank v1.5.0 and then import, as per the upgrade instructions, his complete old database and run the Database Upgrade step on it, then that can work quite well, especially as he was thinking about perhaps redesigning his site at the same time. In fact, that's my usual upgrade path.

    Just be aware, OP, that your old database can contain traces of old mods. It might be a good idea to recall what old mods were installed, check to see if any of them included sql files to mod the database, and run any uninstall sql commands those mods may have provided (they don't always.) Then you'll have a clean old database to bring into your new install.

    Rob

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Upgrade alternative

    Part of a "regular upgrade" is deleting all the old files from the server before putting the new files in place and updating the database content to suit the new version. So in that regard it cleans out bad files that might have been sitting around.
    As Rob said, removing old mod stuff from the database is good too, if you have the uninstall info for those mods.

    In its simplest form, an upgrade is basically a rebuild of your site anyway: you build your new set of PHP files and put those files on the server. Then run the database-update step to make your live data work with the new version. That way you keep all your customers/products/orders/etc. It's the safest and smartest way.
    Of course, you do ALL of it in a test area first, and then once you've got all the hiccups cleaned out, you re-do the process on the live site ... which takes only a few minutes because you've taken good notes and have all your steps lined up ready to go.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Apr 2006
    Location
    Midland TX
    Posts
    428
    Plugin Contributions
    0

    Default Re: Upgrade alternative

    Quote Originally Posted by DrByte View Post
    Part of a "regular upgrade" is deleting all the old files from the server before putting the new files in place and updating the database content to suit the new version. So in that regard it cleans out bad files that might have been sitting around.
    As Rob said, removing old mod stuff from the database is good too, if you have the uninstall info for those mods.

    In its simplest form, an upgrade is basically a rebuild of your site anyway: you build your new set of PHP files and put those files on the server. Then run the database-update step to make your live data work with the new version. That way you keep all your customers/products/orders/etc. It's the safest and smartest way.
    Of course, you do ALL of it in a test area first, and then once you've got all the hiccups cleaned out, you re-do the process on the live site ... which takes only a few minutes because you've taken good notes and have all your steps lined up ready to go.
    I tried doing a up-grade and that does not work very well do to unused left over junk from I assume mods I am not using with 1.5.0 DB as discuss above.



    I have straight forward Customers and Orders (no gift coupons, guest accounts, or group discounts etc.) I assume I could export all files needed and import back into 1.5.0DB. If I can do this where can I get a list of files to use?


    Is there anyway using Cpanel and use the “Synchronize “ feature?

    I have plenty of backups of old and new DB's

    If none of the above will work then Dr Byte would you give a lot more details on how to do what you were talking about?

    Thank you,

  6. #6
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Upgrade alternative

    Quote Originally Posted by EZorb View Post
    If none of the above will work then Dr Byte would you give a lot more details on how to do what you were talking about?
    Sure: This and the links contained therein: www.zen-cart.com/upgrade
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Captcha alternative?
    By jgold723 in forum General Questions
    Replies: 3
    Last Post: 12 Jan 2012, 09:18 PM
  2. alternative to mod_expires?
    By bonnit in forum Basic Configuration
    Replies: 1
    Last Post: 3 Oct 2011, 05:57 PM
  3. Alternative upgrade step
    By enquirer66 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 28 Feb 2008, 08:15 AM
  4. Alternative to 1shoppingcart
    By tridean in forum General Questions
    Replies: 3
    Last Post: 16 Apr 2007, 04:44 PM

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