Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: ZC upgrade fails from 1.3.9 to 1.50 using Zencart 1.5.5f install

    Actually there should be no harm in executing the script/sql that you found in that associated thread. Would suggest executing it before attempting the zc_install database upgrade.

    Like was said, those four provided queries would get things rolling as compared to what has been provided, but there are likely to be additional reports after that if only those four are executed.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #12
    Join Date
    Oct 2005
    Posts
    211
    Plugin Contributions
    0

    Default Re: ZC upgrade fails from 1.3.9 to 1.50 using Zencart 1.5.5f install

    Well now I see but do not understand what I am a looking at.
    The below error came up when I tried the above script for the (4).

    SQL query:

    ALTER TABLE admin_activity_log MODIFY COLUMN log_id bigint(15) NOT NULL auto_increment

    #1075 - Incorrect table definition; there can be only one auto column and it must be defined as a key
    I just pasted the script into Run sql (in phpmyadmin) of a copy of same database and did not change any settings, only clicked Go.

    I did do the short cut in phpmyadmin Operations to make another copy, other way was taking too long, was that a bad thing to do? I have concluded that Supertracker is bloated and causing errors. Tried to remove first from an older backup but could not get uploaded yet to even try. I could take from a copy of live sight but the older backups are being an issue. Thought to see what happens to same sql live copy as is to follow errors.

    Is there a clue in this error?
    Justwade
    Zen 1.5.5f
    Zen 1.3.9h, Zen 1.27 + (did that, done with that)

  3. #13
    Join Date
    Oct 2005
    Posts
    211
    Plugin Contributions
    0

    Default Re: ZC upgrade fails from 1.3.9 to 1.50 using Zencart 1.5.5f install

    Quote Originally Posted by mc12345678 View Post
    Actually there should be no harm in executing the script/sql that you found in that associated thread. Would suggest executing it before attempting the zc_install database upgrade.

    Like was said, those four provided queries would get things rolling as compared to what has been provided, but there are likely to be additional reports after that if only those four are executed.

    My last post was before I saw your reply.
    What I thought is there was a similar large group of scripts but was updated as per the Red lined notice.
    Should I be looking for that?
    Justwade
    Zen 1.5.5f
    Zen 1.3.9h, Zen 1.27 + (did that, done with that)

  4. #14
    Join Date
    Oct 2005
    Posts
    211
    Plugin Contributions
    0

    Default Re: ZC upgrade fails from 1.3.9 to 1.50 using Zencart 1.5.5f install

    I tried Dr. Bytes's longer script on my database as it is in the post #17 I referenced and got the below error. I never could find an updated version.

    Also looked at the (4) structures as to the images prior and see no change.
    I expected more errors, but then I know little of what is or is not happening.

    Error

    SQL query:


    # This script simply rebuilds the auto-increment settings on tables which should have them. ALTER TABLE upgrade_exceptions CHANGE COLUMN upgrade_exception_id upgrade_exception_id smallint(5) NOT NULL auto_increment
    #1075 - Incorrect table definition; there can be only one auto column and it must be defined as a key
    Justwade
    Zen 1.5.5f
    Zen 1.3.9h, Zen 1.27 + (did that, done with that)

  5. #15
    Join Date
    Oct 2005
    Posts
    211
    Plugin Contributions
    0

    Default Re: ZC upgrade fails from 1.3.9 to 1.50 using Zencart 1.5.5f install

    Tried to upgrade again after running this sql of Dr. Bytes and have these errors from store Log to report below.
    Appears to be similar and with no sign of AUTO_INCREMENT showing up in the EXTRA column in database Structure has me wondering if anything really happened.


    Code:
    ---------------
    Apr 15 2018 19:22 -- upgradeException
    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Telephone - Customer Service', 'STORE_TELEPHONE_CUSTSERVICE', '', 'Enter a telephone number for customers to reach your Customer Service department. This number may be sent as part of payment transaction details.', 1, 7, now());  1364: Field 'configuration_id' doesn't have a default value  
    
    ---------------
    Apr 15 2018 19:22 -- upgradeException
    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('login mode https', 'SSLPWSTATUSCHECK', '', 'System setting. Do not edit.', 6, 99, now());  1364: Field 'configuration_id' doesn't have a default value  
    
    ---------------
    Apr 15 2018 19:22 -- upgradeException
    ALTER TABLE admin_activity_log CHANGE COLUMN log_id log_id bigint(15) NOT NULL auto_increment;  1075: Incorrect table definition; there can be only one auto column and it must be defined as a key  
    
    ---------------
    Apr 15 2018 19:22 -- upgradeException
    ALTER TABLE admin_activity_log DROP INDEX page_accessed;  1091: Can't DROP 'page_accessed'; check that column/key exists  
    
    ---------------
    Apr 15 2018 19:22 -- upgradeException
    ALTER TABLE admin_activity_log DROP INDEX access_date;  1091: Can't DROP 'access_date'; check that column/key exists  
    
    ---------------
    Apr 15 2018 19:22 -- upgradeException
    FROM project_version;  1364: Field 'project_version_id' doesn't have a default value
    Justwade
    Zen 1.5.5f
    Zen 1.3.9h, Zen 1.27 + (did that, done with that)

  6. #16
    Join Date
    Oct 2005
    Posts
    211
    Plugin Contributions
    0

    Default Re: ZC upgrade fails from 1.3.9 to 1.50 using Zencart 1.5.5f install

    So to follow up on this issue, what we had was a large database that created these errors if it succeeded to be transferred.

    What we had to do was use a program, "Bigdump" to get the database properly transferred from a PC backup to the store. Then the upgrade process went rather smoothly from there.
    Justwade
    Zen 1.5.5f
    Zen 1.3.9h, Zen 1.27 + (did that, done with that)

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. cannot upgrade from 1.3.9h to 1.5.4 install page blank
    By soaringeagle in forum Upgrading to 1.5.x
    Replies: 32
    Last Post: 8 Nov 2015, 08:04 AM
  2. Replies: 2
    Last Post: 26 Sep 2012, 08:55 PM
  3. Fresh install of 1.5 using database from 1.3.8
    By plsony in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 22 Jun 2012, 06:59 PM
  4. upgrade from v1.3.9b to v1.3.9d Eazy install?
    By hello in forum Upgrading from 1.3.x to 1.3.9
    Replies: 10
    Last Post: 11 Aug 2010, 03:59 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