Support

Home Forums Event Espresso Premium changed max_input_vars not being picked up

changed max_input_vars not being picked up

Posted: January 3, 2015 at 2:21 am

Viewing 14 reply threads


John Ballment

January 3, 2015 at 2:21 am

Hi

I asked my hosting provider to set my max_input_vars from 1000 to 5000 which I can see they have successfully done via http://sydney.anglo-indian-reunion.com/phpinfo.php however Event Espresso is still showing max_input_vars = 1000 in the http://sydney.anglo-indian-reunion.com/wp-admin/admin.php?page=espresso_maintenance_settings&action=system_status screen.

Looking at how the hosting provider has implemented the change, they have created a new php.ini file in my ~/public_html/sydney/php.ini.

I’m currently running EE 4.4.8.p.

Regards

John.


Lorenzo Orlando Caum

  • Support Staff

January 3, 2015 at 8:16 am

Hi, try deactivating Event Espresso through your WordPress dashboard and reactivating it.


Lorenzo


John Ballment

January 3, 2015 at 2:15 pm

Hi Lorenzo,

Deactivating and reactivating didn’t resolve the issue.

Regards

John.


Tony

  • Support Staff

January 5, 2015 at 6:32 am

Hi John,

Where exactly does it state 1000, under which heading?

Does EE4 show a global and local value for max_input_vars, like this – http://take.ms/ccYZ1


Lorenzo Orlando Caum

  • Support Staff

January 5, 2015 at 6:35 am

Hi,

The warning that appears in the event editor is a notice and should not prevent saving of the event.

Approximately how many ticket options are you using on an event?


Lorenzo


John Ballment

January 7, 2015 at 3:07 am

Sorry it took so long to get back to you guys.

Firstly I’m looking in the Event Espresso->Maintenance->System Information and doing a search for max_input_vars. In the raw data is shows:

[environment] => EE_Environment_Config Object
(
[php][/php] => stdClass Object
(
[max_input_vars] => 1000
[version] => 5.5.16
)

)

and further down in raw data is saids:

[max_input_vars] => Array
(
[global_value] => 1000
[local_value] => 1000
[access] => 6
)

Then in the ee_config environment section it saids:

max_input_vars 1000
version 5.5.16

Then in the ee_config max_input_vars section it saids:

global_value 1000
local_value 1000
access 6

Hope that is helpful.


John Ballment

January 7, 2015 at 3:14 am

The event that we are putting together is a reunion over 8 days with 16 events.

I’ve got 11 packages which group together different tickets option plus there will be individual tickets to events available as well, some have children pricing as well. In total I’m expecting 35 tickets options available.

I’m open to better ways of setting this up if necessary.

Regards

John.


John Ballment

January 7, 2015 at 3:36 am

I’ve changed the status of the event from draft to published so that you can review what I’m trying to set up. You can see the registration page at http://sydney.anglo-indian-reunion.com/events/anglo-indian-reunion-sydney-2016-registration/.

The pricing table (pdf) that I’m trying to implement can be downloaded from http://sydney.anglo-indian-reunion.com/wp-content/uploads/2014/12/ai-reunion-2016-pricelist1.pdf.

Regards

John.


John Ballment

January 8, 2015 at 7:23 pm

Hi Lorenzo

This is effecting saving new tickets. I can create the ticket options but they will not save when I click on update.

Regards

John.


Tony

  • Support Staff

January 9, 2015 at 6:56 am

Hi John,

If your tickets are not saving then the max_input_vars value has not been altered sitewide, it is likely that the change your host made to increase max_input_vars is not being applied recursively through sub directories.

So root (and PHPInfo() ) show max_input_vars = 5000 but within WP and EE, max_input_vars is still 1000. This would also explain why EE still shows 1000.

If you move the file containing phpinfo() to /wp-content/plugins/ and run the file from there, does that still output max_input_vars = 5000 or 1000?

EE itself does NOT limit the tickets based on this value, it simply checks the current input_var count and if that reaches max_input_vars, displays a notice. The server is what is rejecting the var count over max_input_vars.


John Ballment

January 9, 2015 at 10:34 pm

Hi Tony,

As you suspected, if I copy the phpinfo.php file into the /wp-content/plugins folder it returns max_input_vars as 1000. I’ve logged the issue with my hosting provider to resolve. I’ll keep you posted.

Regards

John.


John Ballment

January 10, 2015 at 1:45 am

My hosting provider put the following in my .htaccess file and max_input_vars is now being picked up correctly:

suPHP_ConfigPath /home/<username>/public_html

This case can be closed now.

Regards

John.


Lorenzo Orlando Caum

  • Support Staff

January 10, 2015 at 11:33 am

Hi John, thanks for confirming how this was fixed. Could you let us know who your web host is?

This will be helpful if this appears in the future for another member.

Thanks


Lorenzo


John Ballment

January 10, 2015 at 4:53 pm

Hi Lorenzo

It is uber.com.au.

Regards

John.


Lorenzo Orlando Caum

  • Support Staff

January 11, 2015 at 8:06 pm

Thanks John. Have a great week.


Lorenzo

Viewing 14 reply threads

The support post ‘changed max_input_vars not being picked up’ 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