Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,026
    Plugin Contributions
    61

    Default 1.5.8a Upgrade stops

    Upgrading database from 1.5.6c to 1.5.8a

    Stops says must upgrade from 1.5.5 first, log below


    [28-Jun-2023 11:00:54 UTC] MySQL error 1062 encountered during zc_install:
    Duplicate entry 'categoriesProductListing' for key 'page_key'
    VALUES ('categoriesProductListing', 'BOX_CATALOG_CATEGORIES_PRODUCTS', 'FILENAME_CATEGORY_PRODUCT_LISTING', '', 'catalog', 'Y', 1);
    ---------------
    I have manually verified only 1 page key for categoriesProductListing exists.


    [28-Jun-2023 11:00:54 UTC] MySQL error 1054 encountered during zc_install:
    Unknown column 'e.pages_title' in 'field list'
    LEFT JOIN languages l ON 1;
    ---------------
    Not sure about this one at all

    Any suggestions would be appreciated, I've dealt with quite a few of these upgrade issues... Never these

    Thank in advance
    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,529
    Plugin Contributions
    88

    Default Re: 1.5.8a Upgrade stops

    What plugins are installed on the zc156c version of the site?

    I'll note that @swguy's "Mod List" plugin (https://www.zen-cart.com/downloads.php?do=file&id=2039) can be invaluable in situations like this. You won't be able to use the most recent version, which uses the zc_plugins structure, but you can use v1.2a.

  3. #3
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,026
    Plugin Contributions
    61

    Default Re: 1.5.8a Upgrade stops

    Quote Originally Posted by lat9 View Post
    What plugins are installed on the zc156c version of the site?

    I'll note that @swguy's "Mod List" plugin (https://www.zen-cart.com/downloads.php?do=file&id=2039) can be invaluable in situations like this. You won't be able to use the most recent version, which uses the zc_plugins structure, but you can use v1.2a.
    Click image for larger version. 

Name:	Admin-Mod-List.jpg 
Views:	68 
Size:	52.6 KB 
ID:	20323

    I see multiples of Quick Updates & EP... I tried to uninstall Quick Updates, but it looks like there are multiple versions or maybe hacked up versions installed.
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  4. #4
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,699
    Plugin Contributions
    9

    Default Re: 1.5.8a Upgrade stops

    Quote Originally Posted by mprough View Post
    Upgrading database from 1.5.6c to 1.5.8a


    [28-Jun-2023 11:00:54 UTC] MySQL error 1054 encountered during zc_install:
    Unknown column 'e.pages_title' in 'field list'
    LEFT JOIN languages l ON 1;
    ---------------
    Not sure about this one at all

    Any suggestions would be appreciated, I've dealt with quite a few of these upgrade issues... Never these

    Thank in advance
    ~Melanie
    at some point, ezpages was split into 2 files. it seems on your upgrade path that split is missing.

    i think it was from 155 to 156. but you would have to look it up.

    it seems there was problems with that upgrade that others had as well.

    but that is my best guess of the problem that you are running into.

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  5. #5
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,026
    Plugin Contributions
    61

    Default Re: 1.5.8a Upgrade stops

    Quote Originally Posted by carlwhat View Post
    at some point, ezpages was split into 2 files. it seems on your upgrade path that split is missing.

    i think it was from 155 to 156. but you would have to look it up.

    it seems there was problems with that upgrade that others had as well.

    but that is my best guess of the problem that you are running into.

    best.
    You mean 2 database tables? Because that is done already as it's 1.5.6

    Click image for larger version. 

Name:	upgrade-phpMyAdmin-5-2-1.png 
Views:	58 
Size:	7.0 KB 
ID:	20324
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,716
    Plugin Contributions
    123

    Default Re: 1.5.8a Upgrade stops

    > Stops says must upgrade from 1.5.5 first, log below

    1.5.6 has three checks. See
    zc_install/includes/systemChecks.yml
    lines 328-341. You are failing one of these tests.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,529
    Plugin Contributions
    88

    Default Re: 1.5.8a Upgrade stops

    Quote Originally Posted by mprough View Post
    You mean 2 database tables? Because that is done already as it's 1.5.6

    Click image for larger version. 

Name:	upgrade-phpMyAdmin-5-2-1.png 
Views:	58 
Size:	7.0 KB 
ID:	20324
    It would help to see the "Structure" of those two tables, per previous comments.

  8. #8
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,699
    Plugin Contributions
    9

    Default Re: 1.5.8a Upgrade stops

    it is choking on the upgrade. that is happening here:

    https://github.com/zencart/zencart/b....sql#L194-L202

    any number of people had problems with this splitting of the 2 ezpages table. look at the comments on line 198.

    i think you can safely comment out lines 194-196.

    but as @lat9 says, looking at the table structure would give you best idea as to what has happened.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  9. #9
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,716
    Plugin Contributions
    123

    Default Re: 1.5.8a Upgrade stops

    > it is choking on the upgrade. that is happening here:
    Or rather, it choked on the upgrade that was done when you went to 1.5.6.

    You can run these commands to get things fixed up again:

    ALTER TABLE customers_basket DROP final_price;
    ALTER TABLE ezpages DROP languages_id;
    ALTER TABLE ezpages DROP pages_title;
    ALTER TABLE ezpages DROP pages_html_text;

    Then run zc_install again.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #10
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,699
    Plugin Contributions
    9

    Default Re: 1.5.8a Upgrade stops

    Quote Originally Posted by swguy View Post
    > it is choking on the upgrade. that is happening here:
    Or rather, it choked on the upgrade that was done when you went to 1.5.6.

    You can run these commands to get things fixed up again:

    ALTER TABLE customers_basket DROP final_price;
    ALTER TABLE ezpages DROP languages_id;
    ALTER TABLE ezpages DROP pages_title;
    ALTER TABLE ezpages DROP pages_html_text;

    Then run zc_install again.
    i think this is wrong. look above; the OP says the system says:

    "Stops says must upgrade from 1.5.5 first, log below..."

    the upgrade from 155 to 156 expects the ezpages table to have the pages_title field. clearly it does not.

    to get to 156 all of the remaining lines in the script i referenced in my previous post need to be run, ie, lines 203-264.

    after that the OP can continue the upgrade from v156.

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Installation in Progress stops v1.5.4
    By Fjolsvith in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 9 Sep 2016, 04:13 PM
  2. Admin Stops Working
    By awatson945 in forum General Questions
    Replies: 2
    Last Post: 10 Jun 2010, 05:52 PM
  3. checkout stops at shipping
    By TJR in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 7 Oct 2006, 08:44 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