Question

I have a strange problem with Magento. Recently I'm not able to delete an attribute option or update the postion of an attribute option.

When I change the position i.e. from "3" to "0", it will just be the same position number after I save it.

And the same happens when I try to delete an attribute option.

The attribute has more than 200 options. Is maybe the high number of the options causing this problem?

I'm using Magento 1.9.1

Any solution would be very much appreciated.

enter image description here

Was it helpful?

Solution

Have a look in /var/log/ and see if Magento is logging any exceptions or errors that might give you a clue as to the cause of the problem.

I once had a problem updating a category with a large amount of products where magento was throwing an error concerning input variables exceeding a configured limit. This turned out to be the max_input_variable setting in php.ini for Apache.

OTHER TIPS

I increased the value of max_input_variable to 2500 and luckily it worked. Now I can finally remove or update the options.

In my .htaccess file (My Magento don't have a php.ini file so I used the .htaccess file) I added this line:

php_value max_input_vars 2500

The following part did the trick. 1. Open php.ini 2. Alter or Add the following lines:

; Input Vars
max_input_vars = 100000
suhosin.post.max_vars = 100000
suhosin.request.max_vars = 100000

; Memory Limit
memory_limit = 256M

; Time
max_execution_time = 3600
max_input_time = 600

; Posts
post_max_size = 512M

Restart apache and the problem is solved.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top