Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2008
    Posts
    4
    Plugin Contributions
    0

    Default category name length problem

    Hi,

    I am trying to add a category in hebrew. When I enter a name (in the hebrew `Category Name` field) that consists of more than 4 hebrew characters, I get the following error:

    1406 Data too long for column 'categories_name' at row 1
    in:
    [update categories_description set categories_name = 'נסיון', categories_description = 'בלה בלה בלה' where categories_id = '77' and language_id = '2']

    If the category name is english only, then, there is no problem, even if the category name consists of english AND hebrew characters (For example: נסיוtry) it still works. The problem arises just when I use only hebrew characters.

    Does anybody have a suggestion for a solution?

    Thanks,
    Noa.

  2. #2
    Join Date
    Nov 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: category name length problem

    I had the same issue with thai. I had to update size of the columns in the database. Here are the columnss i changed from VARCHARR(32) to VARCHAR(256)


    U need to do this in myphpadmin in an sql window with your store database selected (assumung that u are usung mysql and have myphpadmin avail);


    [FONT="Courier New"]
    ALTER TABLE products MODIFY products_model varchar(256) ;
    ALTER TABLE products_description MODIFY products_name varchar(256) ;
    ALTER TABLE address_book MODIFY entry_firstname varchar(256) ;
    ALTER TABLE address_book MODIFY entry_lastname varchar(256) ;
    ALTER TABLE categories_description MODIFY categories_name varchar(256) ;
    ALTER TABLE configuration_group MODIFY configuration_group_title varchar(256) ;
    ALTER TABLE customers_wishlist MODIFY products_name varchar(256) ;
    ALTER TABLE customers_wishlist MODIFY wishlist_name varchar(256) ;
    ALTER TABLE files_uploaded MODIFY files_uploaded_name varchar(256) ;
    ALTER TABLE orders MODIFY customers_name varchar(256) ;
    ALTER TABLE orders MODIFY customers_email_address varchar(256) ;
    ALTER TABLE orders MODIFY delivery_name varchar(256) ;
    ALTER TABLE orders MODIFY billing_name varchar(256) ;
    ALTER TABLE orders MODIFY cc_owner varchar(256) ;
    ALTER TABLE orders_products MODIFY products_name varchar(256) ;
    ALTER TABLE orders_products MODIFY products_model varchar(256) ;

    [/FONT]

  3. #3
    Join Date
    Nov 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: category name length problem


 

 

Similar Threads

  1. Changing Length of Category Name
    By Peter_AimImports in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 11 Dec 2012, 09:08 PM
  2. Merchant-Category Name length
    By DarkAngel in forum Basic Configuration
    Replies: 2
    Last Post: 27 Dec 2011, 02:06 AM
  3. category name max length
    By nrfy in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 16 Feb 2010, 10:49 AM
  4. category name length problem in Hebrew
    By Eglantin in forum Addon Language Packs
    Replies: 1
    Last Post: 16 Nov 2009, 10:50 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