Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Input variables exceeded 1000
05-18-2021, 09:34 PM, (This post was last modified: 05-18-2021, 09:35 PM by wissedenis22.)
#1
Input variables exceeded 1000
I have this error in the InternalStockRequestFulfill.php script I know i have to increase the input value but it's not the right solution as it's stated on stackoverflow, some stated that "Something is wrong, you do not need 1000 variables. Recode your program to accept 1 variable array with 1000 keys. This is error is there to warn you that you are not doing things the recommended way. Do not disable it, extend it, or hide it in any way." here is the link https://stackoverflow.com/questions/1647...eeded-1000 
 
another one highlighted it more that
"According to php manual max_input_vars in php.ini role is: How many input variables may be accepted (limit is applied to $_GET, $_POST and $_COOKIE superglobal separately). Use of this directive mitigates the possibility of denial of service attacks which use hash collisions. If there are more input variables than specified by this directive, an E_WARNING is issued, and further input variables are truncated from the request. This limit applies only to each nesting level of a multi-dimensional input array."

Below is the error if I try to full fill the stock


Code:
[Tue May 18 06:38:19.140134 2021] [proxy_fcgi:error] [pid 27711:tid 140194216920832] [client 197.157.0.56:33164] AH01071: Got error 'PHP message: PHP Warning:  Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0\n', referer: https://xcxcxcxcxzxz.com/ptl/InternalStockRequestFulfill.php

Any suggestion of I continue to increase the value
Reply
05-19-2021, 11:33 AM, (This post was last modified: 05-19-2021, 11:51 AM by TurboPT.)
#2
RE: Input variables exceeded 1000
Is there possibly more info to know, like any custom local mods, or added javascript handling?

There are other SO posts that say raising the limit is safe, so perhaps try that a temporary alternative?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)