Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1
    Join Date
    May 2009
    Posts
    1,219
    Plugin Contributions
    2

    Default troubles updating from 1.38 to 1.50

    Hi,

    I think I've read all the tutorials, and many threads here, but perhaps it's my comprehension of English, or just my mind which is not set right; however I am trying to upgrade from 1.38 to 1.50.

    After many tries, and retries, I have managed to have zen-cart 1.5 with db of 1.39h
    And of course I get the warning to update the database to higher level (1.50)

    Here's the tools >> server info

    Zen Cart 1.5.0
    Livello Patch Database: 1.3.9h
    v1.3.9h [2012-06-22 14:14:18] (Version Update 1.3.8->1.3.9h)
    v1.3.8 [2012-06-22 14:07:57] (Version Update 1.3.7->1.3.8)
    v1.3.8 [2009-09-18 06:28:56] (Nuova installazione)

    I guess you don't need translation, but for the sake of complete info here it is
    Livello Patch Database: 1.3.9h >>> database patch level
    (Version Update 1.3.8->1.3.9h) >>> version update
    (Version Update 1.3.7->1.3.8) >>> version update
    (Nuova installazione) >>> new installation

    I am using the Italian version of zen-cart, and in the 1.50 zc_install/sql there wasn't any mysql_upgrade_zencart_xxx_to_yyy.sql

    I copied these three from the English package
    mysql_upgrade_zencart_137_to_138.sql
    mysql_upgrade_zencart_138_to_139.sql
    mysql_upgrade_zencart_139_to_150.sql

    And as you can see it did upgrade from 1.38 to 1.39

    But when I try to go to 1.50 I get
    "WARNING: An Error occurred, please refresh the page and try again."

    I had checked only the upgrades
    from 1.37 to 1.38,
    from 1.38 to 1.39,
    from 1.39 to 1.50
    a few times, getting errors, then I did only the first two, and apparently it worked, and now when I try the latter (1.39 to 1.50) I get the error (WARNING).

    When I access the directory I do see the "store": all products, etc. save the info pages (shipping, tos, etc.)

    I also think I messed up the original site/directory as in the tool >> server info I see
    Zen Cart 1.3.8a
    Patch: 1::
    Livello Patch Database: 1.3.9h
    v1.3.9h [2012-06-22 14:14:18] (Version Update 1.3.8->1.3.9h)
    v1.3.8 [2012-06-22 14:07:57] (Version Update 1.3.7->1.3.8)
    v1.3.8 [2009-09-18 06:28:56] (Nuova installazione)

    Thank you

  2. #2
    Join Date
    May 2009
    Posts
    1,219
    Plugin Contributions
    2

    Default Re: troubles updating from 1.38 to 1.50

    I think I fixed it.
    Can you please confirm if it is ok?

    This is what I did:

    I installed a new zencart 1.50
    I then exported about 30 tables (the ones I had my data in) from the 1.39 version database
    I deleted the corresponding tables form the new install (database version 1.50)
    I imported the tables I previously saved from the database v.1.39 into the new database v.1.50

    Now at the new install tools >> server info I see
    Zen Cart 1.5.0
    Livello Patch Database: 1.5.0
    v1.5.0 [2012-06-23 09:03:08] (Nuova installazione)
    v1.5.0 [2012-06-23 09:03:08] (Nuova installazione)

    And of course I do see the products, orders, etc.
    I have to check it all in details, but I am optimistic, specially if you confirm what I did is ok.

    Thank you

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

    Default Re: troubles updating from 1.38 to 1.50

    What you did is definitely not recommended. Whether you get away with it or not, I cannot say.

    Rob

  4. #4
    Join Date
    May 2009
    Posts
    1,219
    Plugin Contributions
    2

    Default Re: troubles updating from 1.38 to 1.50

    Thanks Rob.

    I know, indeed I tried to follow the instructions, but somewhere either I missed something (high probability), or something didn't go as expected.

    I hope someone can tell me what to look for potential risks I am going to face, or if there is a way out of it.

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

    Default Re: troubles updating from 1.38 to 1.50

    I suppose, to properly advise whether you're going to have problems, we'd have to know which tables you imported and which you didn't. And whether you did the database upgrade step after import, and so on. Not enough details yet to be sure. (Not that I could be sure anyway, but perhaps someone more experienced could assess the situation.)

    Rob

  6. #6
    Join Date
    May 2009
    Posts
    1,219
    Plugin Contributions
    2

    Default Re: troubles updating from 1.38 to 1.50

    Thank you Rob

    And whether you did the database upgrade step after import, and so on.
    Hmmmm ... was there an upgrade step to do? I missed that for sure, care to refresh it for me please?

    Anyhow, I attach the tables list, and the sql file (from which I removed all the data of the INSER INTO, but they where imported correctly to the new db)
    Attached Files Attached Files

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

    Default Re: troubles updating from 1.38 to 1.50

    Quote Originally Posted by keneso View Post
    Hmmmm ... was there an upgrade step to do? I missed that for sure, care to refresh it for me please?
    In your download of the ZC 1.5.0 package, in the docs folder, have a look at the file 2.readme_how_to_upgrade.html. That explains it clearly. If you didn't do that in your first attempt, that would explain the problem.

    Rob

  8. #8
    Join Date
    May 2009
    Posts
    1,219
    Plugin Contributions
    2

    Default Re: troubles updating from 1.38 to 1.50

    Quote Originally Posted by rstevenson View Post
    In your download of the ZC 1.5.0 package, in the docs folder, have a look at the file 2.readme_how_to_upgrade.html. That explains it clearly. If you didn't do that in your first attempt, that would explain the problem.
    Ohhh ... that one ...
    Yes, I had read it, and tried to follow it in the first place, but like said (or implied) in the opening post I must have not comprehended it well, and perhaps missed something, and that's why I got to this point.

    That explains it clearly.
    Obviously not for me. ;)

    Anyhow, now I tried to upgrade the last 1.50 installation, to not let anything untried, and I get this
    "WARNING: An Error occurred, please refresh the page and try again."

    I then renamed my admin, and I tried to access the admin, and luckily it works, while in the previous tries it wouldn't.
    I checked again the server info, and it reports
    Zen Cart 1.5.0
    Livello Patch Database: 1.5.0
    v1.5.0 [2012-06-23 09:03:08] (Nuova installazione)
    v1.5.0 [2012-06-23 09:03:08] (Nuova installazione)

    So we are back at post #2 ?!

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

    Default Re: troubles updating from 1.38 to 1.50

    I've run out of ideas.

    I guess if you're satisfied that you got all your data in your imports from the old db, and the site seems to be working both for customers and from the admin point of view, then you might as well just go ahead.

    Rob

  10. #10
    Join Date
    May 2009
    Posts
    1,219
    Plugin Contributions
    2

    Default Re: troubles updating from 1.38 to 1.50

    Thank you very much for your effort Rob, I really appreciate.
    I think I'll go with your suggestion and risk it, but meanwhile I am trying another approach:

    I duplicated the live 1.38, and tried upgrading it to 1.39, and then to 1.50
    All fine and smooth in the 1.38 to 1.39
    Unfortunatelly no luck with 1.39 to 1.50
    Where I do get again the
    "WARNING: An Error occurred, please refresh the page and try again."

    I am attaching the error logs to se if maybe DrByte can shed some light into it for me.
    I noticed in one of the logs there is some Italian word, with accented characters, might that be one of the issues?

    Also another peculiarity of the Italian version is they have removed basically all the sql upgrade files from zc_install/sql including mysql_upgrade_zencart_139_to_150.sql which I took from the English version.
    Another fact is they have bundled the currency/language in header mod.

    All the versions 1.38 - 1.39 - 1.50 I am using are the Italian version releases.
    Attached Files Attached Files

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v154 Troubles upgrading from 1.5.3 Database Upgrade Greyed Out
    By llynix in forum Upgrading to 1.5.x
    Replies: 7
    Last Post: 14 Jan 2015, 12:38 AM
  2. Updating from 1.3.9d
    By dddmx3 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 26 Sep 2010, 05:39 AM
  3. Updating from 1.3.8a
    By bogyi in forum General Questions
    Replies: 5
    Last Post: 31 Aug 2010, 07:01 PM
  4. updating from 1.2.6d to 1.3.2
    By SysFix in forum General Questions
    Replies: 1
    Last Post: 18 Jul 2006, 05:04 PM

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