http://www.pietervanos.net/knowledge/magento-cant-add-new-attribute-values/

Magento can’t add new attribute options




ApacheMagentoNetworkingWebMay 3, 2013Comments: 4



– Magento version: 1.7.0.2 CE
– Mangento freezes while adding new attrubite values
– Magento stays on please wait
– Timeout saving attribute options
– Magento to much attributes
– magento attribute options limit





While I was working with magento I got stuck on a strange problem, Magento freezes everytime I try to add more then one attribute value at once. To use the layered navigation in magento for filtering the 350 types of brands I was creating dropdown attribute options. After 240 options magento wouldn’t save any new values and freezes on Please Wait…





Few solutions I found while searching on Google:
– Disable Loggin
– Disable caching and remove the folder var
-Edit: app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php
and change: ‘type’ => ‘varchar(255)’,
into
‘type’ => ‘varchar(255)’, => ‘type’ => ‘varchar(100)’,





This solutions didn’t work for me, but the following part did the trick.
1. Open php.ini
2. Alter or Add the following lines:









Magento php fix

 

 

 

 

 

 

1234567891011121314 | ; Input Varsmax_input_vars = 100000suhosin.post.max_vars = 100000suhosin.request.max_vars = 100000 ; Memory Limitmemory_limit = 256M ; Timemax_execution_time = 3600max_input_time = 600 ; Postspost_max_size = 512M







You can edit the .htaccess file to increase memory