When I create a node, I can not upload files to the field.
My apache error log:

[Fri Jun 16 17:03:16.800824 2017] [:error] [pid 3854] [client 192.168.88.1:51210] PHP Warning:  Unknown: Input variables exceeded 6000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0, referer: http://wmr.local/node/add/resources
[Fri Jun 16 17:04:20.158232 2017] [:error] [pid 3854] [client 192.168.88.1:51210] PHP Fatal error:  Maximum execution time of 60 seconds exceeded in /home/vagrant/wmr.local/docroot/includes/common.inc on line 6832, referer: http://wmr.local/node/add/resources
[Fri Jun 16 17:04:20.160262 2017] [:error] [pid 3854] [client 192.168.88.1:51210] PHP Stack trace:, referer: http://wmr.local/node/add/resources
[Fri Jun 16 17:04:20.160279 2017] [:error] [pid 3854] [client 192.168.88.1:51210] PHP   1. {main}() /home/vagrant/wmr.local/docroot/index.php:0, referer: http://wmr.local/node/add/resources
[Fri Jun 16 17:04:20.160287 2017] [:error] [pid 3854] [client 192.168.88.1:51210] PHP   2. menu_execute_active_handler() /home/vagrant/wmr.local/docroot/index.php:21, referer: http://wmr.local/node/add/resources
[Fri Jun 16 17:04:20.160294 2017] [:error] [pid 3854] [client 192.168.88.1:51210] PHP   3. call_user_func_array:{/home/vagrant/wmr.local/docroot/includes/menu.inc:527}() /home/vagrant/wmr.local/docroot/includes/menu.inc:527, referer: http://wmr.local/node/add/r$
[Fri Jun 16 17:04:20.160300 2017] [:error] [pid 3854] [client 192.168.88.1:51210] PHP   4. file_ajax_upload() /home/vagrant/wmr.local/docroot/includes/menu.inc:527, referer: http://wmr.local/node/add/resources
[Fri Jun 16 17:04:20.160306 2017] [:error] [pid 3854] [client 192.168.88.1:51210] PHP   5. drupal_process_form() /home/vagrant/wmr.local/docroot/modules/file/file.module:267, referer: http://wmr.local/node/add/resources
[Fri Jun 16 17:04:20.160311 2017] [:error] [pid 3854] [client 192.168.88.1:51210] PHP   6. drupal_rebuild_form() /home/vagrant/wmr.local/docroot/includes/form.inc:974, referer: http://wmr.local/node/add/resources
[Fri Jun 16 17:04:20.160324 2017] [:error] [pid 3854] [client 192.168.88.1:51210] PHP   7. form_builder() /home/vagrant/wmr.local/docroot/includes/form.inc:511, referer: http://wmr.local/node/add/resources
[Fri Jun 16 17:04:20.160329 2017] [:error] [pid 3854] [client 192.168.88.1:51210] PHP   8. form_builder() /home/vagrant/wmr.local/docroot/includes/form.inc:1927, referer: http://wmr.local/node/add/resources
[Fri Jun 16 17:04:20.160335 2017] [:error] [pid 3854] [client 192.168.88.1:51210] PHP   9. form_builder() /home/vagrant/wmr.local/docroot/includes/form.inc:1927, referer: http://wmr.local/node/add/resources
[Fri Jun 16 17:04:20.160340 2017] [:error] [pid 3854] [client 192.168.88.1:51210] PHP  10. form_builder() /home/vagrant/wmr.local/docroot/includes/form.inc:1927, referer: http://wmr.local/node/add/resources
[Fri Jun 16 17:04:20.160345 2017] [:error] [pid 3854] [client 192.168.88.1:51210] PHP  11. _form_builder_handle_input_element() /home/vagrant/wmr.local/docroot/includes/form.inc:1865, referer: http://wmr.local/node/add/resources
[Fri Jun 16 17:04:20.160350 2017] [:error] [pid 3854] [client 192.168.88.1:51210] PHP  12. drupal_array_nested_key_exists() /home/vagrant/wmr.local/docroot/includes/form.inc:2164, referer: http://wmr.local/node/add/resources
[Fri Jun 16 17:04:20.160360 2017] [:error] [pid 3854] [client 192.168.88.1:51210] PHP  13. drupal_array_get_nested_value() /home/vagrant/wmr.local/docroot/includes/common.inc:6877, referer: http://wmr.local/node/add/resources

Comments

Yuriy Mudriy created an issue. See original summary.

cilefen’s picture

Category: Task » Support request

I don't mean to sound glib but did you try increasing max_input_vars as suggested?

cilefen’s picture

Related issues: +#2308055: Ajax Errors
Yuriy Mudriy’s picture

Yes of course!

cilefen’s picture

What number did you go with?

Yuriy Mudriy’s picture

Status: Active » Fixed
Issue tags: +ajax error, +forms

I fixed the problem by configuring the php.ini

max_execution_time = 600
max_input_time = 600
memory_limit = 1024M 
upload_max_filesize = 80M
post_max_size = 200M
max_input_vars = 10000
max_input_nesting_level = 10000

Thank you!

Yuriy Mudriy’s picture

Status: Fixed » Closed (fixed)