Page 1 of 1
Category name length error
Posted: Wed Sep 16, 2009 10:38 am
by eka7a
Although the category name does not accept less than 32 characters.
accept: Salça ve Ket
cçap 16 characters
not accept: Salça ve Ket
ççap 16 characters
Re: Category name length error
Posted: Thu Sep 17, 2009 5:20 am
by eka7a
database is written as : Salça ve Ketççap
therefore returns an error. How can I fix.
Re: Category name length error
Posted: Thu Sep 17, 2009 5:54 am
by dbstr
Edit
admin/controller/catalog/category.php, find line 278:
Code: Select all
if ((strlen(utf8_decode($value['name'])) < 2) || (strlen(utf8_decode($value['name'])) > 32)) {
Change to
Code: Select all
if ((strlen(utf8_decode($value['name'])) < 2) || (strlen(utf8_decode($value['name'])) > 64)) {
(Can't remember the max length allowed in the database, but this should be fine)
Re: Category name length error
Posted: Thu Sep 17, 2009 3:20 pm
by eka7a
category are saved but In this way is saved: Salça ve Ketç&cced
Re: Category name length error
Posted: Fri Sep 18, 2009 11:43 pm
by dbstr
Hmm.
The database is set to varchar(32) - sorry about that. Try increasing that. (Table: category_description - Field: name)
If that doesn't work either, I'm afraid I can't help you. (Remember you will still have to apply the "fix" I wrote earlier, as it checks the length)
Re: Category name length error
Posted: Sat Sep 19, 2009 1:09 am
by joxxxe
Somebody can help us with this please? im having the same problem!
Re: Category name length error
Posted: Fri Oct 16, 2009 4:35 am
by cyber19
Please help me i have the same problem. Please solve it, it,s very important to me.
Thanks