CakePHP POST Failing

Written by James McDonald

June 9, 2016

I was just trying to submit about 10 x 15 records… and found that cakephp was failing with a validation error. Found out it was due to the following in the php error log.

[09-Jun-2016 19:16:22 Australia/Melbourne] PHP Warning:  Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0

Open php.ini and edited from 1000 to 2000 and then restart (in my case) php-fpm

; How many GET/POST/COOKIE input variables may be accepted
max_input_vars = 2000

 

 

 

0 Comments

Submit a Comment

Your email address will not be published.

You May Also Like…

ZPL SBPL

Zebra Printer Language http://labelary.com/viewer.html The above website has a page where you can enter ZPL and it...

PHP Iterators

Just came across a Youtube talk "Iterators in PHP" by Jake Smith published in 2014 that steps through the many...

PHP array_map Multiple Arrays

array_map can take multiple arrays. I like how it starts mapping through them starting at the first element of each...