Just another WordPress.com weblog

Archive for February, 2012

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

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