Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,144
    Plugin Contributions
    11

    Default Errors on 1.5.1 to 1.5.7c

    standard load of new 1.5.7c, remove new database, bring in old database, zc_install for upgrade, bombs out every time saying I have 1.5.2 and must perform 1.5.3 first.

    I have used all the arrows in my quiver including the date fix and cannot get past this point. database says version is 1.5.3.

    What am I missing? Probably something simple as pain meds are wearing off.

    Name:  157Upgrade.com.jpg
Views: 144
Size:  48.1 KB

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

    Default Re: Errors on 1.5.1 to 1.5.7c

    One of the SQL updates didn't work and a subsequent check for it failed.
    This is almost always because you have added a date to a table and the date format hasn't been fixed.
    There will be upgrade logs in your logs folder that you can review. See also:

    https://docs.zen-cart.com/user/upgra...andardization/

    https://docs.zen-cart.com/user/upgra...d_not_upgrade/
    That Software Guy. My Store: Zen Cart Modifications
    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.

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

    Default Re: Errors on 1.5.1 to 1.5.7c

    Quote Originally Posted by dbltoe View Post
    I have used all the arrows in my quiver including the date fix and cannot get past this point. database says version is 1.5.3.
    And, there are no upgrade logs.

  4. #4
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Errors on 1.5.1 to 1.5.7c

    Quote Originally Posted by dbltoe View Post
    And, there are no upgrade logs.
    Has the admin been accessed after the last attempt to upgrade the database? This code section of the admin deleted some of the logs associated with install: https://github.com/zencart/zencart/b....php#L202-L211

    Specifically at: https://github.com/zencart/zencart/b...rrors.php#L206

    Code:
    // log cleanup for zc_install "info logs". This still leaves behind any zcInstallDEBUG or zcInstallException log files
      if ($za_dir = @dir(DIR_FS_LOGS)) {
        while ($zv_file = $za_dir->read()) {
          if (preg_match('/^zcInstallLog.*\.log$/', $zv_file)) {
            unlink(DIR_FS_LOGS . '/' . $zv_file);
          }
        }
        $za_dir->close();
        unset($za_dir);
      }
    They are deleted relatively quickly after performing the upgrade, once the admin is accessed after performing the upgrade attempt.

    I suspect following the second link above from swguy will assist in addressing the issue.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

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

    Default Re: Errors on 1.5.1 to 1.5.7c

    The second link points you to the file zc_install/includes/systemChecks.yml.
    For 153, that file checks two things: customers.customers_password (makes sure it is varchar(255)) and admin.admin_pass (same check).
    Have you modified those fields?
    That Software Guy. My Store: Zen Cart Modifications
    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.

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

    Default Re: Errors on 1.5.1 to 1.5.7c

    I will check. I've inherited an upgrade that has been "adapted" by many in the past.

    First time to run into a problem like this.

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

    Default Re: Errors on 1.5.1 to 1.5.7c

    customers.customers_password was 40

    Got it going now.

    THANX

 

 

Similar Threads

  1. v154 Page Errors and Account Errors
    By Ravedragon in forum Bug Reports
    Replies: 4
    Last Post: 24 May 2015, 04:22 PM
  2. v139h Troubleshooting SQL errors, server 500 errors
    By jgold723 in forum General Questions
    Replies: 5
    Last Post: 30 Jul 2014, 09:43 PM
  3. category dressing errors and move add to cart errors
    By MachaNeko in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 18 May 2008, 02:29 PM
  4. Admin errors on fresh installation - module errors and language definition errors
    By etrader in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 5 Oct 2007, 09:05 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