Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

catagory accept only 4 character


ahmedmigoo

Recommended Posts

hi

i used Arabic & English language when add the new Category in two language [English accept 32 character but the Arabic accept 4only character] same problem in new product

623754603.gif

You should be able to modify the settings in the sql database.

Link to comment
Share on other sites

specifically, look in the products_description table for the products_name field. You can edit the field in phpMyAdmin (or some other similar tool) to make the field longer.

 

edit: This may actually be a collation issue. What is the collation set in your products_description.products_name field set to? You can also see this in phpMyAdmin by looking at the structure of the products_description table.

 

-jared

Edited by jcall
Link to comment
Share on other sites

product name (products_name) field accept 64 character but my problem in Arabic language product name when add Arabic character accept 11 only and category accept 4 only.

Probably the arabic characters go into the database not as one UTF character but as the HTML character entity (like & #1234; without the space between the ampersand and #).

Since you use UTF-8 in the database but English in the admin maybe it helps when you change in the file admin/includes/languages/english.php the line (around line 45):

define('CHARSET', 'iso-8859-1');

to:

define('CHARSET', 'UTF-8');

Link to comment
Share on other sites

  • 1 month later...
Since you use UTF-8 in the database but English in the admin maybe it helps when you change in the file admin/includes/languages/english.php the line (around line 45):

define('CHARSET', 'iso-8859-1');

to:

define('CHARSET', 'UTF-8');

thank you my problem solved thanks

Link to comment
Share on other sites

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...