Page 5 of 5 FirstFirst ... 345
Results 41 to 44 of 44
  1. #41
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,545
    Plugin Contributions
    89

    Default Re: Database Conversion Tools [Support Thread]

    Quote Originally Posted by gothstone View Post
    The converter fails out for me at Processing table [address_book]:
    Error log says:
    [19-Sep-2023 13:16:26 UTC] PHP Fatal error: Uncaught mysqli_sql_exception: Data too long for column 'address_title' at row 19641 in /home/pcs/dev/utf8mb4-conversion.php:170
    Stack trace:
    #0 /home/pcs/dev/utf8mb4-conversion.php(170): mysqli_query(Object(mysqli), 'ALTER TABLE `ad...')
    #1 {main}
    thrown in /home/pcs/dev/utf8mb4-conversion.php on line 170

    I don't know the sort order, how can I find row 19641 to fix the address?
    What was the original definition of that address_title field? Perhaps varchar(255)? If that's the case, the maximum varchar length for a utf8mb4 database is 192, so you're looking for records in that table that are between 193 and 255 characters in length.

  2. #42
    Join Date
    Jun 2005
    Posts
    309
    Plugin Contributions
    0

    Default Re: Database Conversion Tools [Support Thread]

    Ya, please ignore entirely. Not only was the column complete garbage, but i had the entirely wrong version of the plug-in from your github. The published one worked quite nicely. No clue what i was thinking or how i managed that.
    2 + 2 = 5 for extremely large values of 2

    Pez Collectors Store

  3. #43
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,545
    Plugin Contributions
    89

    Default Re: Database Conversion Tools [Support Thread]

    Thanks for the follow-up!

  4. #44
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,731
    Plugin Contributions
    323

    Default Re: Database Conversion Tools [Support Thread]

    It could be worthwhile to do a pre-check (just like the date pre-check) for this condition. I had to do a few ALTER TABLE commands to fix things like this:

    CREATE INDEX `idx_last_page_url_zen` ON `whos_online` (last_page_url)
    1071: Specified key was too long; max key length is 1000 bytes
    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.

 

 
Page 5 of 5 FirstFirst ... 345

Similar Threads

  1. v155 Database I/O Manager (DbIo) Plugin [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 475
    Last Post: 23 Feb 2024, 05:44 PM
  2. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 19
    Last Post: 23 Jan 2023, 08:04 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