Hi,
I have done a little more reading and can i ask whether your plugin would work on a Shared Web Hosting site? I ask this as I am not sure if i should be making the changes to the .htaccess file or the php.ini file.
It would be useful to me to know which file your plugin works with to identify the max_input_vars.
Thanks.
Hi David,
The plugin will work on any hosting – dedicated or shared. What may not work, however, is your ability to change the max_input_vars for your site – that may be restricted by the hosting.
If you run a phpinfo(); script in your home directory that will tell you what all the server settings are. If you have changed it above 1000 in php.ini or in .htaccess, and it is still showing 1000 in phpinfo(), then either this is a setting that you cannot change on that hosting service, or your changes are maybe not done in the right place.
If you do a Google search for “how to set max_input_vars” there are plenty of tutorials around that show you how to set it, how to check it has worked, and what restrictions there may be on various hosting services. There are many ways hosting can be provided, so I can’t give you a single solution that will always work – a tutorial specific to your situation would be the best thing to try and find.
Good luck, and let us know how it goes 🙂
— Jason
BTW It looks like future versions of WC will be taking a more AJAX approach to variations, so this may be a problem that is solved in a very different way in the future. We’ll keep our fingers crossed.
Hi Jason,
Many Thanks for your reply. I really do appreciate the work you and others do to help the novices. I did run a phpinfo script that confirmed the value (max_input_vars) as 1000. I then “chatted” with my Provider who asked that I submit a formal ticket ato the Developers as this matter was beyond his ken. When i have a firm answer I will update.
Best Wishes.
Hi Jason,
Well it took a while – 1 week – but my Service Provider came through and increased the max_input_vars to 6000 and we have been humming along pretty good ever since (see below). Your input helped me articulate the problem sucessfully. Many Thanks.
looks like you were missing the call from the .htaccess file to your php.ini file, so I added the following to your .htaccess file:
<IfModule mod_suphp.c>
suPHP_ConfigPath /home/dmhall
<Files php.ini>
order allow,deny
deny from all
</Files>
</IfModule>
Your max_input_vars were successfully increased.
Glad you got it working, and managed to catch this potential problem before it resulted in a loss of data 🙂
— Jason