Page 8 of 8 FirstFirst ... 678
Results 71 to 77 of 77
  1. #71
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    314
    Plugin Contributions
    0

    Default Re: Database Conversion Tools [Support Thread]

    Hi @lat9
    I am trying to set up a test DB in ZC 2.1.0, and import the old 1.5.6c DB into that.
    However, if I try to use a DB with ZC 2.1.0, I have to set up admin & storefront configure.php first.

    I am confused now, since it appears that utf8mb4 is a requirement in the configure.php:
    Code:
    define('DB_CHARSET', '%%_DB_CHARSET_%%'); // 'utf8mb4' required. If using older 'utf8' or 'latin1', convert your database to utf8mb4. See conversion util in docs site.
    So it appears I would need to convert the database first, other charsets are no longer supported in 2.1.0?

    If so, then I suppose I will need to revert to the other plan option, of converting to utf8mb4 on 1.5.6c, and then converting again later in 2.1.0, only for the the collation update?
    Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

  2. #72
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    314
    Plugin Contributions
    0

    Default Re: Database Conversion Tools [Support Thread]

    Hi @lat9
    I suppose I might try to run a DB upgrade using ZC 1.5.8a, where an option of utf8 is still there, and where you mentioned there is automatic adjusting of VARCHAR columns.
    I am not sure if this is viable though using the base ZC files and my 1.5.6c database, or whether I would need to customize the base ZC files first, so as to let the installer "know" about the extra tables. Which would be several more weeks of work.
    All in all, this seems like too many dependencies not all in one place.
    Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

  3. #73
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    314
    Plugin Contributions
    0

    Default Re: Database Conversion Tools [Support Thread]

    I have gone for the to me safer-sounding convert-now approach in ZC 1.5.6c.
    The conversion, as previously noted, deleted 3 indices on my test DB, which I then recreated manually using truncated lengths of fields as applicable.

    I now have a utf8mb4 DB with a fairly old collation which I plan to update in ZC 2.1.0.
    Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

  4. #74
    Join Date
    Jul 2017
    Location
    West Midlands, UK
    Posts
    42
    Plugin Contributions
    0

    Default Re: Database Conversion Tools [Support Thread]

    Hi,
    I have recently upgraded our site from 1.5.7c to 2.1.0. After upgrading I used the Zen Cart Database Conversion Tool to convert from UTF8 to UTF8MB4.

    A customer has informed us that they are no longer able to log into their account. I have checked our old test customer account and this did not seem to work either.

    It looks as though the passwords may not have converted to the new format or were affected by the upgrade to 2.1.0. The accounts can be accessed by resetting the passwords.

    If anyone can offer any advice on what may be causing this issue it would be much appreciated.
    Many thanks
    Rick

  5. #75
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,413
    Plugin Contributions
    94

    Default Re: Database Conversion Tools [Support Thread]

    Quote Originally Posted by richard7315 View Post
    Hi,
    I have recently upgraded our site from 1.5.7c to 2.1.0. After upgrading I used the Zen Cart Database Conversion Tool to convert from UTF8 to UTF8MB4.

    A customer has informed us that they are no longer able to log into their account. I have checked our old test customer account and this did not seem to work either.

    It looks as though the passwords may not have converted to the new format or were affected by the upgrade to 2.1.0. The accounts can be accessed by resetting the passwords.

    If anyone can offer any advice on what may be causing this issue it would be much appreciated.
    Many thanks
    Rick
    I'm remembering an issue with "special" characters (i.e. & < > " ') in admin passwords, I don't know if that's what's going on.

  6. #76
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,319
    Plugin Contributions
    125

    Default Re: Database Conversion Tools [Support Thread]

    If you have access to the old database, you might verify that the old password still works, and if it does, export the customers table and try updating the customers_password field in the new database.

    Do in a test environment first, of course.
    This was an issue in the old database updater but I have not seen it in this current version, even after running it dozens of times. Sorry you are having this issue.
    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. #77
    Join Date
    Jul 2017
    Location
    West Midlands, UK
    Posts
    42
    Plugin Contributions
    0

    Default Re: Database Conversion Tools [Support Thread]

    Hi lat9 and swguy
    Many thanks for your replies. After further investigation I have found some older test account login details. I can confirm that these passwords are working after upgrading, but they don’t contain special characters.

    It appears that special characters in the customers password could be the cause of the issue. I will contact the customer to see if this is the case.
    Rick

 

 
Page 8 of 8 FirstFirst ... 678

Similar Threads

  1. v155 Database I/O Manager (DbIo) Plugin [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 585
    Last Post: 29 May 2025, 03:25 PM
  2. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 20
    Last Post: 23 Apr 2025, 08:49 AM
  3. v156 PWA, Offline support Push notifications addon [Support Thread]
    By perfumbg in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 May 2019, 02:27 PM
  4. v155 Database Server Info [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 20 Jan 2017, 01:17 PM
  5. Rate conversion in paypal non-support currency
    By limcheewooi in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 7 Jul 2009, 03:13 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