To resolve " Maximum length of attribute code must be less then 30 symbols" error in magento 1.6 above version

Posted: February 23, 2012 in Magento, Version 1.6.*

Hello,

I found error ” Maximum length of attribute code must be less then 30 symbols” in magento 1.6 above version. To resolve this error, you simply change the constant value from 30 to 60.


your-project/app/code/core/Mage/Eav/Model/Entity/Attribute.php
CONST ATTRIBUTE_CODE_MAX_LENGTH = 30;

I put the CONST ATTRIBUTE_CODE_MAX_LENGTH = 30; to 60, it resolved my problem.

Hope this post is helpful to you all..

Thanks,
Bijal Bhavsar 🙂

Advertisements
Comments
  1. hi says:

    Thanks, this post is helpful to me )))

  2. Jim says:

    Killer. Thanks!

  3. Matrassen says:

    Thanks! Magento updating is difficult!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s