tarkvsg Posted December 7, 2019 Share Posted December 7, 2019 Hello Loading images into field with type of "image" And could upload only(!) 166 files. In config of Image type Field in the 'miximum files allowed' field is 0. is 166 magic number or it whichever restriction ? P.S. ProcessWire 3.0.123 Link to comment Share on other sites More sharing options...
tarkvsg Posted December 8, 2019 Author Share Posted December 8, 2019 "WireInput: You have reached PHP’s “max_input_vars” setting of 1000 — please increase it." PHP was configured "by default". When increasing this value - than can upload more images. Link to comment Share on other sites More sharing options...
picarica Posted October 25, 2020 Share Posted October 25, 2020 On 12/8/2019 at 11:47 AM, tarkvsg said: "WireInput: You have reached PHP’s “max_input_vars” setting of 1000 — please increase it." PHP was configured "by default". When increasing this value - than can upload more images. i came across the same problem i need to upload ~1000 images and i got same error, every image has tag, how can this be resolved? does this count as necro bumping if it wasnt been resolved ? Link to comment Share on other sites More sharing options...
Christophe Posted October 25, 2020 Share Posted October 25, 2020 https://www.php.net/manual/en/info.configuration.php#ini.max-input-vars As you may already know, it can be changed in your hosting provider account. Possible solution:https://modules.processwire.com/modules/process-admin-actions/ FTP Files to Page Add files/images from a folder to a selected page. Something that could be useful - to put in the admin.php file (source: Adrian): $this->addHookBefore('InputfieldFile::render', function($event) { $inputfield = $event->object; if($field = $inputfield->hasField) { if(!is_object($field)) return; $p = $event->object->hasPage; $inputfield->label .= ' (' . $p->{$field->name}->count() . ')'; } }); 3 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