Page 6 of 7 FirstFirst ... 4567 LastLast
Results 51 to 60 of 62
  1. #51
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    Default Re: Database Conversion Tools [Support Thread]

    It doesn't matter how long the current data is. The field is sized for 255 characters. When a character takes 4 bytes (UTF), you can see this is > 1000.
    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.

  2. #52
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    278
    Plugin Contributions
    0

    Default Re: Database Conversion Tools [Support Thread]

    Ah, now I understand. I need to reduce the size of the field definition to be < 1000 chars(=bytes) when using 4-bytes per character.
    Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.0.1.

  3. #53
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    Default Re: Database Conversion Tools [Support Thread]

    Correct - or change the index to work on less than 1,000 characters.
    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.

  4. #54
    Join Date
    Mar 2012
    Location
    NJ
    Posts
    46
    Plugin Contributions
    0

    Default Re: Database Conversion Tools [Support Thread]

    Evening all,

    I ran the tool and I believe corrected prior mismatch. However I'm still seeing the following message and unsure if it needs to be addressed.

    Code:
    Next Action
    • The database's character-set doesn't match DB_CHARSET.
    • Congratulations, no database issues were found.
    Here is what my current output states after using the tool:

    Code:
    MySQL Version: 8.0.36
    Zen-Cart Database Version: 2.1.0
    Database Name: dbs12804405
    Database Prefix: 'zencrt_'
    Database Character Set: utf8mb4
    DB_CHARSET: utf8
    Database Collation: utf8mb4_general_ci
    Number of Tables: 115
    I checked all my configure and language files and they are set to utf8 and utf-8 accordingly.
    I was a shy, quiet kid. I was happiest playing by myself with my toys, rather than hanging around people.
    -- Christian Slater

  5. #55
    Join Date
    Mar 2012
    Location
    NJ
    Posts
    46
    Plugin Contributions
    0

    Default Re: Database Conversion Tools [Support Thread]

    Unless this is relevant, found this under server info:

    Database Variables: MySQL 8.0.36

    Variable Name Value

    character_set_client utf8mb3
    character_set_connection utf8mb3
    character_set_database utf8mb4
    character_set_filesystem binary
    character_set_results utf8mb3
    character_set_server utf8mb4
    character_set_system utf8mb3
    I was a shy, quiet kid. I was happiest playing by myself with my toys, rather than hanging around people.
    -- Christian Slater

  6. #56
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,363
    Plugin Contributions
    94

    Default Re: Database Conversion Tools [Support Thread]

    Quote Originally Posted by Bubbadood View Post
    Evening all,

    I ran the tool and I believe corrected prior mismatch. However I'm still seeing the following message and unsure if it needs to be addressed.

    Code:
    Next Action
    • The database's character-set doesn't match DB_CHARSET.
    • Congratulations, no database issues were found.
    Here is what my current output states after using the tool:

    Code:
    MySQL Version: 8.0.36
    Zen-Cart Database Version: 2.1.0
    Database Name: dbs12804405
    Database Prefix: 'zencrt_'
    Database Character Set: utf8mb4
    DB_CHARSET: utf8
    Database Collation: utf8mb4_general_ci
    Number of Tables: 115
    I checked all my configure and language files and they are set to utf8 and utf-8 accordingly.
    Right, you need to change the DB_CHARSET (in both the /admin/includes/configure.php and /includes/configure.php to read
    Code:
    define('DB_CHARSET', 'utf8mb4');

  7. #57
    Join Date
    Mar 2012
    Location
    NJ
    Posts
    46
    Plugin Contributions
    0

    Default Re: Database Conversion Tools [Support Thread]

    Thank you Cindy. I swear FileZilla makes me nuts. I knew I did that so I had to go back and look at the logs. One of these days I'm going to start paying closer attention to the output window of FZ. I have no idea why FZ sometimes cannot overwrite files. I'm all good now... apologies for the noob mistake.

    Code:
    Status:    Starting upload of C:\Users\Bubba\Downloads\database-converter-2.0.1\configure.phpCommand:    cd "/collector/includes"
    Response:    New directory is: "/collector/includes"
    Command:    put "C:\Users\Bubba\Downloads\database-converter-2.0.1\configure.php" "configure.php"
    Error:    /collector/includes/configure.php: open for write: permission denied
    Error:    File transfer failed
    Status:    Starting upload of C:\Users\Bubba\Downloads\database-converter-2.0.1\configure.php
    Status:    Retrieving directory listing of "/collector/includes"...
    Status:    Listing directory /collector/includes
    Command:    put "C:\Users\Bubba\Downloads\database-converter-2.0.1\configure.php" "configure.php"
    Error:    /collector/includes/configure.php: open for write: permission denied
    Error:    File transfer failed
    I was a shy, quiet kid. I was happiest playing by myself with my toys, rather than hanging around people.
    -- Christian Slater

  8. #58
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,761
    Plugin Contributions
    30

    Default Re: Database Conversion Tools [Support Thread]

    >I swear FileZilla makes me nuts

    Try Beyond Compare, you'll never look back.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  9. #59
    Join Date
    Oct 2009
    Posts
    425
    Plugin Contributions
    0

    Default Re: Database Conversion Tools [Support Thread]

    I am in the process of upgrading my current site from v.1.5.8 to v.2.10

    I have done all of the merging of files and installing of plugins and have tested and work well.

    I then imported my live site (Zen Cart v.1.5.8) in and test, and everything works well.

    I then ran v.2.0.1 of this plugin successfully (choosing utf8mb4_general_ci) and it breaks the Instant Search plug in that previously worked. My includes/config and Admin/includes/config files are already set to utf8mb4 in my live 1.5.8 site and database and current upgraded site....just wanted to run this to emoji errors, etc.

    I received this error in the Debug Logs:

    PHP Fatal error: MySQL error 1191: Can't find FULLTEXT index matching the column list ::
    SELECT
    p.*,
    pd.products_name,
    m.manufacturers_name,
    MATCH(pd.products_name) AGAINST('love*' IN BOOLEAN MODE) AS name_relevance_boolean,
    MATCH(pd.products_name) AGAINST('love' WITH QUERY EXPANSION) AS name_relevance_natural , MATCH(pd.products_description) AGAINST('love' WITH QUERY EXPANSION) AS description_relevance
    FROM
    zen_products_description pd
    JOIN zen_products p ON (p.products_id = pd.products_id)
    LEFT JOIN zen_manufacturers m ON (m.manufacturers_id = p.manufacturers_id)
    WHERE
    p.products_status <> 0
    AND pd.language_id = 1
    AND p.products_id NOT IN (1459,1458)
    AND (
    ( MATCH(pd.products_name) AGAINST('love*' IN BOOLEAN MODE) + MATCH(pd.products_name) AGAINST('love' WITH QUERY EXPANSION) ) > 0 OR MATCH(pd.products_description) AGAINST('love' WITH QUERY EXPANSION) > 0
    )
    ORDER BY
    name_relevance_boolean DESC,
    name_relevance_natural DESC,
    description_relevance DESC,
    p.products_sort_order,
    pd.products_name
    LIMIT
    38
    ==> (as called by) /home/mysite/public_html/new210/zc_plugins/InstantSearch/v4.0.3/classes/SearchEngineProviders/MysqlSearchEngineProvider.php on line 174 <== in /home/mysite/public_html/new210/includes/classes/db/mysql/query_factory.php on line 733.

    In this error where is references the word "love"....that was the word I inputted into my search when testing...
    Not only do I get this Debug Log error, but the Instant Search no longer works....in fact none of the Search works.

    Any ideas why this happened and how to fix it???

  10. #60
    Join Date
    Oct 2009
    Posts
    425
    Plugin Contributions
    0

    Default Re: Database Conversion Tools [Support Thread]

    I have tried uninstalling the Instant Search Plugin completely by removing all of the files and then checking the Admin->Modules->Plugin Mgr to verify that it has been uninstalled...and it has.

    I then reinstalled the plugin by uploading all of the files....I now see the plugin in Admin->Modules->PluginMgr and when I press the Install button, I receive the error at the top of my Admin page of:

    Duplicate key name 'idx_products_name'
    Duplicate key name 'idx_products_description'

    The plugin will not install.

    Hoping this helps to decipher what took place when using the database converter tool...and how to fix it?

    Thanks for your help!

 

 
Page 6 of 7 FirstFirst ... 4567 LastLast

Similar Threads

  1. v155 Database I/O Manager (DbIo) Plugin [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 576
    Last Post: 23 Apr 2025, 03:32 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