Status
Not open for further replies.

wolfbd

Customer
Just updated DBT mod recently. Not sure what was changed in database. Now I cannot change the options in ACP. e.g. when trying to enable this option - "Yes" or "No". previously it was set to "No" but now I am trying to make it "Yes". No luck.
Any advise helpful.
 
If you check your View PHP Info page in your AdminCP you should see the max_input_vars there. If you do, then you can proceed to add
Code:
max_input_vars = 10000
to your php.ini file.

That page will also tell you the correct php.ini file to edit to be sure you're editing the right one.
 
If you check your View PHP Info page in your AdminCP you should see the max_input_vars there. If you do, then you can proceed to add
Code:
max_input_vars = 10000
to your php.ini file.

That page will also tell you the correct php.ini file to edit to be sure you're editing the right one.

I have tried below path as found in acp/phpinfo
/usr/local/lib/php.ini
Very unfortunately the max_input_vars is missing in that file. Is there any other way we can add or tweak the value?
Again as per php.net they noted it as warning.
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.
Your advise appreciated.
 
In that case, you can simply add max_input_vars = 10000 almost anywhere inside the php.ini file underneath
PHP:
[/B] and it should work once you restart Apache :)
 
Update: Additionally, if your ACP PHPInfo has this setting filled out: "Scan this dir for additional .ini files" You can for instance create /usr/local/lib/php.ini.d/override.ini (if /usr/local/lib/php.ini.d/ is the "Scan this dir for additional .ini files" folder) and only put max_input_vars = 100000 in it.
 
Status
Not open for further replies.

Similar threads

  • Locked
  • thread_type.dbtech_ecommerce_suggestion thread_type.dbtech_ecommerce_suggestion
Replies
0
Views
1K

Legacy vBShout

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
3,179
Customer rating
5.00 star(s) 1 ratings
Back
Top