Support

Home Forums Event Espresso Premium EE$ not recognising updated max_input_vars value

EE$ not recognising updated max_input_vars value

Posted: March 26, 2017 at 10:25 pm

Viewing 5 reply threads


AITPM_ZOIK

March 26, 2017 at 10:25 pm

Hi guys

I updated max_input_vars to 5000, and I can see it clearly on server listings.

But I can’t get the EES to recognise the change. It still shows as 1000 on ESS > System Info.

I have tried copying ini file to plugin directory, with no luck. Is there any other way I can force EES to recognise the update?

thanks
Chris


Tony

  • Support Staff

March 27, 2017 at 5:31 am

Hi Chris,

EE readers the max_input_vars value using ini_get('max_input_vars'); so its read directly from your server.

If System info (and the message in the admin) still shows 1000 then the changes you applied is not being applied site wide. It may clearly show 5000 on your server listings but that value is not being used within the /plugins/ directory, or possibly within sub-directories of /plugins/.

Since you applied the above change have you restarted Apache?


AITPM_ZOIK

March 27, 2017 at 5:47 pm

Hi Tony, thanks for the reply.

I restarted the server. No change unfortunately. I even tried copying the ini file and placing it in /plugins/ directory – didn’t change.

is there anything else i can try?

regards
chris


Josh

  • Support Staff

March 27, 2017 at 7:16 pm

Hi Chris,

You can see if WordPress can recognize your updated max_input_vars by installing these two plugins:

https://wordpress.org/plugins/debug-bar/

https://wordpress.org/plugins/debug-bar-console/

Then you input the following into the Debug Bar Console’s PHP tab:

echo ini_get('max_input_vars');

and click Run.


AITPM_ZOIK

March 30, 2017 at 2:31 am

Thanks Josh, those plugins were useful.

In the end I found this work around: added a page in my html folder .user.ini (dot-user-dot-ini). On that page I added the code:

max_input_vars = 3000

Worked for me.

regards


Tony

  • Support Staff

March 30, 2017 at 3:12 am

Thanks for the update, I’m glad you found a solution 🙂

If you run into any further problems just let us know.

Viewing 5 reply threads

The support post ‘EE$ not recognising updated max_input_vars value’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso