Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2009
    Posts
    3
    Plugin Contributions
    0

    Default Failed DB update

    Hello,

    I am in the process of attempting to perform a upgrade from 1.3.8a to 1.3.9f. I have followed the tutorial to the point where I am telling zc_install to do the update to the 1.3.8a DB.

    I created the 1.3.8a install "raw", ran zc_install on the maually created DB, restored a copy of my production DB to this new DB, copied my modified config.php with new DB info to the "demo", and all was good (aside from the writable and zc_install notes).. so I copied /zc_install (v1.3.9f) to / of my "demo" and ran it.. and the following error is what I get:

    Insight anyone?

    1253 COLLATION 'latin1_general_ci' is not valid for CHARACTER SET 'utf8'
    in:
    [CREATE TABLE zen_counter_history_clean as SELECT * FROM zen_counter_history WHERE 1 GROUP BY startdate COLLATE latin1_general_ci;]

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Failed DB update

    Since your database is using utf8 and not latin1, you'll need to manually edit the /zc_install/includes/install_params.php file and change the 'latin1' to 'utf8', and then run the upgrade step again.
    .

    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.

  3. #3
    Join Date
    Feb 2009
    Posts
    3
    Plugin Contributions
    0

    Default Re: Failed DB update

    OK, thanks. In process right now, hopefully this is the only hitch.... been working WAY too long at this

  4. #4
    Join Date
    Feb 2009
    Posts
    3
    Plugin Contributions
    0

    Default Re: Failed DB update

    that worked. thank you for the tip.

    now onto the file compare and "merge" processing... argh....

  5. #5
    Join Date
    Jul 2008
    Posts
    16
    Plugin Contributions
    0

    Default Re: Failed DB update

    Quote Originally Posted by DrByte View Post
    Since your database is using utf8 and not latin1, you'll need to manually edit the /zc_install/includes/install_params.php file and change the 'latin1' to 'utf8', and then run the upgrade step again.

    I have the same problem except that somehow, some of my tables are latin and some are utf8.

    I did the change as you suggested and it finally says that my database is up to date. When I ran zcinstall, though, it did say it skipped several files. They all were tax related.

    Now, the problem is that I can't access anything in the 'admin-configuration- part of my admin panel.

    I've been going crazy with this for days. Please help!!

    Thanks in advance.

  6. #6
    Join Date
    Jul 2008
    Posts
    16
    Plugin Contributions
    0

    Default Re: Failed DB update

    Quote Originally Posted by woodstuff59 View Post
    I have the same problem except that somehow, some of my tables are latin and some are utf8.

    I did the change as you suggested and it finally says that my database is up to date. When I ran zcinstall, though, it did say it skipped several files. They all were tax related.

    Now, the problem is that I can't access anything in the 'admin-configuration- part of my admin panel.

    I've been going crazy with this for days. Please help!!

    Thanks in advance.

    Never mind. It wouldn't let me do anything because I hadn't reset the permissions on my configure files yet. So far, everything seems to be working well. Let's hope it stays that way.

 

 

Similar Threads

  1. v151 What to update for the jan. 17, 2016 USPS update?
    By zaug in forum Addon Shipping Modules
    Replies: 11
    Last Post: 17 Jan 2016, 07:35 PM
  2. Bulk update of prices needed - which table to update thru back end?
    By one tall man in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 8 Dec 2013, 11:02 PM
  3. Change Email Subject of Status Update Messages e.g. Order Update XXXX
    By apemusic in forum Managing Customers and Orders
    Replies: 4
    Last Post: 13 Oct 2010, 08:42 AM
  4. Update to 1.3.8a Probblems after Database Update
    By wirnsperger in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 4 Feb 2010, 06:41 PM
  5. creating a backup that does not update when i update the live site
    By hereliesboots in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Mar 2007, 05:25 AM

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