interrobang Posted November 20, 2014 Share Posted November 20, 2014 I have a images field with a large number (about 400) of images. Uploading took a while, but worked. But when I try to remove them all by double-clicking the trashcan icon and saving the page nothing happens. The page editor just reloads with all images still there. I get no error message. Removing only a small set of images works like expected. Is there a php/server setting I need to change? Currently I am testing this in my local MAMP environment. Edit: I found something in my server logs: PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0 I edited the php.ini to include max_input_vars = 10000 and now it seems to work. 3 Link to comment Share on other sites More sharing options...
horst Posted November 20, 2014 Share Posted November 20, 2014 Hi, Only thing I can think of is: it is sent via POST when you press the save button, so you may check the setting for post_max_size. With enabled DevTools in your browser you may easy be able to read the amount of sent POST-data. PS: a good setting for max_post_data is 240M when the upload_max_filesize is set to 200M 3 Link to comment Share on other sites More sharing options...
interrobang Posted November 20, 2014 Author Share Posted November 20, 2014 I edited my first post. The solution was to increase max_input_vars. Link to comment Share on other sites More sharing options...
julbr Posted December 11, 2014 Share Posted December 11, 2014 Hello interrobang, Where did you edit max_input_vars? I'm getting the same error. Cheers! Julian Link to comment Share on other sites More sharing options...
interrobang Posted December 11, 2014 Author Share Posted December 11, 2014 I edited the servers php.ini file. Edit: If you do not have access to the php.ini file you can try to set the value in the htaccess file like this: php_value max_input_vars 5000 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now