Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2015
    Posts
    42
    Plugin Contributions
    0

    Default MySQL error 1060 encountered during zc_install - Duplicate column name 'logmessage'

    Upgrading DB from 1.56 to 1.57 on a test/different domain.

    2 errors in log:

    MySQL error 1060 encountered during zc_install:
    Duplicate column name 'logmessage'
    ALTER TABLE zen_admin_activity_log ADD logmessage mediumtext NOT NULL;
    ---------------

    MySQL error 1060 encountered during zc_install:
    Duplicate column name 'severity'
    ALTER TABLE zen_admin_activity_log ADD severity varchar(9) NOT NULL DEFAULT 'info';
    ---------------

    Compared 3 versions of the admin_activity_log table (before upgrade version, 1.57 fresh install, and currently upgraded version).

    My collation is not the same, but otherwise, the 'severity' and 'logmessage' fields both have the same structure in each of the 3 instances.


    Am I concerned with this error?


    Guessing I can use the Zen Cart Database Conversion Tool to address my latin1_swedish_ci issue after I've upgraded?

  2. #2
    Join Date
    Jun 2015
    Posts
    42
    Plugin Contributions
    0

    Default Re: MySQL error 1060 encountered during zc_install - Duplicate column name 'logmessag

    To be more concise, I upgraded from 1.5.6c to 1.5.7d

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,436
    Plugin Contributions
    11

    Default Re: MySQL error 1060 encountered during zc_install - Duplicate column name 'logmessag

    Any particular reason as to why you are upgrading to a version that is over three years old? Why not do a database only upgrade to 2.0.1?

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,318
    Plugin Contributions
    94

    Default Re: MySQL error 1060 encountered during zc_install - Duplicate column name 'logmessag

    Quote Originally Posted by fravac View Post
    To be more concise, I upgraded from 1.5.6c to 1.5.7d
    Did you use the zc_install process to perform that upgrade?

  5. #5
    Join Date
    Jun 2015
    Posts
    42
    Plugin Contributions
    0

    Default Re: MySQL error 1060 encountered during zc_install - Duplicate column name 'logmessag

    Quote Originally Posted by lat9 View Post
    Did you use the zc_install process to perform that upgrade?
    Yes.

    so far, I don't have any error-related issues I'm aware of . just a little concerned about the message.

    Quote Originally Posted by dbltoe View Post
    Any particular reason as to why you are upgrading to a version that is over three years old? Why not do a database only upgrade to 2.0.1?
    More than one reason. None of them very good.

    My first problem is getting to at least php 7.4 so I can move from Centos 7 to Almalinux 8.

    I know that 1.5.7 using php 7.4 supports the stamps.com and taxjar plugins that I use (have another cart on 1.5.7).

    Will try to upgrade again once I'm on different server
    Last edited by fravac; 1 Jun 2024 at 02:05 PM.

  6. #6
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,436
    Plugin Contributions
    11

    Default Re: MySQL error 1060 encountered during zc_install - Duplicate column name 'logmessag

    CloudLinux will allow you to keep 5.6 thru 8.2

  7. #7
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: MySQL error 1060 encountered during zc_install - Duplicate column name 'logmessag

    Quote Originally Posted by fravac View Post
    2 errors in log:

    MySQL error 1060 encountered during zc_install:
    Duplicate column name 'logmessage'
    ALTER TABLE zen_admin_activity_log ADD logmessage mediumtext NOT NULL;
    ---------------

    MySQL error 1060 encountered during zc_install:
    Duplicate column name 'severity'
    ALTER TABLE zen_admin_activity_log ADD severity varchar(9) NOT NULL DEFAULT 'info';
    ---------------
    If those errors were only in the Log, and didn't halt your upgrade with a blank white screen, then it was only logging the fact that those individual SQL statements were attempted but didn't complete because they were unnecessary.
    zc_install runs all statements individually (with the exception of some specialized grouping overrides, but that's another topic) specifically so that things don't block each other when such situations occur, so it is likely that all subsequent upgrade queries ran correctly.
    If you run zc_install again and it tells you no further db upgrade steps are needed, then it's probably fine.
    .

    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.

  8. #8
    Join Date
    Jun 2015
    Posts
    42
    Plugin Contributions
    0

    Default Re: MySQL error 1060 encountered during zc_install - Duplicate column name 'logmessag

    I ran the zc_install again and got the following message:

    An existing configure.php file was found. However, your database seems to be current. This suggests you are on a live site. Proceeding with Install will delete the current database contents! Are you sure you want to continue with Install?

    Guessing that's telling me no further db upgrade steps are needed?

    Thanks DrByte!

 

 

Similar Threads

  1. v158 PHP Fatal error: 1060:Duplicate column name 'products_id'
    By jodean in forum Bug Reports
    Replies: 9
    Last Post: 23 Jul 2023, 10:17 PM
  2. v153 During zc_install CURL problems detected: Error 28
    By frank18 in forum General Questions
    Replies: 5
    Last Post: 13 Aug 2014, 09:59 PM
  3. v151 Upgrade to 1.5 from a 1.3 version error during zc_install
    By marie893 in forum Upgrading to 1.5.x
    Replies: 5
    Last Post: 6 Oct 2012, 04:52 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