Post by eka7a » Wed Sep 16, 2009 10:38 am

Image

Although the category name does not accept less than 32 characters.

accept: Salça ve Ketcçap 16 characters
not accept: Salça ve Ketççap 16 characters

OpenCart Domains for Sale
opencart-templates (.) net registered 2011 - $7000
opencart-templates (.) us registered 2010 - $7000


User avatar
Active Member

Posts

Joined
Sun Apr 12, 2009 12:59 am
Location - Türkiye

Post by eka7a » Thu Sep 17, 2009 5:20 am

database is written as : Salça ve Ketççap

therefore returns an error. How can I fix.

OpenCart Domains for Sale
opencart-templates (.) net registered 2011 - $7000
opencart-templates (.) us registered 2010 - $7000


User avatar
Active Member

Posts

Joined
Sun Apr 12, 2009 12:59 am
Location - Türkiye

Post by dbstr » Thu Sep 17, 2009 5:54 am

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)

Request Reviews v1.0 released.


Active Member

Posts

Joined
Sun Aug 30, 2009 12:20 am

Post by eka7a » Thu Sep 17, 2009 3:20 pm

category are saved but In this way is saved: Salça ve Ketç&cced

OpenCart Domains for Sale
opencart-templates (.) net registered 2011 - $7000
opencart-templates (.) us registered 2010 - $7000


User avatar
Active Member

Posts

Joined
Sun Apr 12, 2009 12:59 am
Location - Türkiye

Post by dbstr » Fri Sep 18, 2009 11:43 pm

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)

Request Reviews v1.0 released.


Active Member

Posts

Joined
Sun Aug 30, 2009 12:20 am

Post by joxxxe » Sat Sep 19, 2009 1:09 am

Somebody can help us with this please? im having the same problem!

New member

Posts

Joined
Mon Jul 13, 2009 1:53 pm

Post by cyber19 » Fri Oct 16, 2009 4:35 am

Please help me i have the same problem. Please solve it, it,s very important to me.

Thanks

Newbie

Posts

Joined
Fri Oct 16, 2009 4:33 am
Who is online

Users browsing this forum: No registered users and 4 guests