Results 1 to 10 of 3673

Hybrid View

  1. #1
    Join Date
    Mar 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    How do you change the database field lengths? I keep getting these errors
    WARNING! - Model: SPST8116A - Products name: "17 GATOR ORANGE REAR TAILLIGHT SPST8116A " exceeds max. length: 21.333333333333
    SKIPPED! - Model: SPST8116A - Category name: "Power Wheels and Ride on parts" exceeds max. length: 10.666666666667

  2. #2
    Join Date
    Mar 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    this is what it says on my admin page
    Database Field Lengths
    categories_name:10.666666666667
    manufacturers_name:10.666666666667
    products_model:10.666666666667
    products_name:21.333333333333
    but on the database the char limits are much higher than that

  3. #3
    Join Date
    Mar 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    I got it figured out. Its in the easypopulate2.php in the admin folder the values were divided by 3

  4. #4
    Join Date
    Apr 2006
    Location
    Dark Side of the Moon
    Posts
    987
    Plugin Contributions
    1

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by rosrooster View Post
    I got it figured out. Its in the easypopulate2.php in the admin folder the values were divided by 3
    Did you install zencart 1.5 with iso-8859 or utf8?

    UTF8 is multibyte... and you need to divide by 3 to get character count. However, if your store is set UTF8 and your databases are iso-8859 it may be confusing the script.

  5. #5
    Join Date
    May 2012
    Posts
    1
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by rosrooster View Post
    this is what it says on my admin page
    Database Field Lengths
    categories_name:10.666666666667
    manufacturers_name:10.666666666667
    products_model:10.666666666667
    products_name:21.333333333333
    but on the database the char limits are much higher than that

    I am receiving the same error. On the right side it shows:
    Installed Languages
    1-en: English
    Default Language: 1-English
    Internal Character Encoding: UTF-8
    DB CharSet: DB_CHARSET

    Database Field Lengths
    categories_name:10.666666666667
    manufacturers_name:10.666666666667
    products_model:10.666666666667
    products_name:21.333333333333

    Running Easy Populate 4.0.20 - Beta 5-20-2012
    on Zencart 1.3.8

    I do not have a easypopulate2.php file as referenced in a previous post.
    How can I increase this limit?

    thanks!

  6. #6
    Join Date
    Apr 2006
    Location
    Dark Side of the Moon
    Posts
    987
    Plugin Contributions
    1

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by Bigjohnjps View Post
    I am receiving the same error. On the right side it shows:
    Installed Languages
    1-en: English
    Default Language: 1-English
    Internal Character Encoding: UTF-8
    DB CharSet: DB_CHARSET

    Database Field Lengths
    categories_name:10.666666666667
    manufacturers_name:10.666666666667
    products_model:10.666666666667
    products_name:21.333333333333

    Running Easy Populate 4.0.20 - Beta 5-20-2012
    on Zencart 1.3.8

    I do not have a easypopulate2.php file as referenced in a previous post.
    How can I increase this limit?

    thanks!
    "easypopulate2.php" was posted in error. This file does not exist.

    Your problem is that your Database Character Set is not defined, i.e. DB_CHARSET
    Since you are on zencart 1.38, I'm assuming that your are using collation: latin1_general_ci

    Since EP doen't know what character set is correct, it is assuming UTF8, and dividing your field length by 3 (necessary for multi-byte character encoding).

    Open easypopulate_4.php and go to about line 126. You'll see a number of variables with "/3" ... just remove this block of code.

    I'll work on a better way to check for collation. I believe this was fixed in 1.39, and 1.5 uses UTF8 by default.
    You should consider upgrading ... 1.38 is getting QUITE old.

    -chadd

 

 

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 AM
  2. BackUp ZC [Support Thread]
    By skipwater in forum All Other Contributions/Addons
    Replies: 285
    Last Post: 23 Dec 2020, 10:40 AM
  3. Wordpress On ZC [Support Thread]
    By hira in forum All Other Contributions/Addons
    Replies: 1858
    Last Post: 17 Jan 2014, 01:24 AM
  4. ZJ Black 2 support thread
    By Liamv in forum Addon Templates
    Replies: 1
    Last Post: 15 Feb 2010, 02:53 PM

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