Troubleshooting: Error When Saving the Form's Directory
If you're encountering an error when trying to save your form’s directory, this issue is often related to either PHP configuration limits or server-side security rules. Based on our experience, there are two common causes for this:
PHP max_input_vars Directive
RSForm!Pro forms with a large number of fields can exceed PHP’s max_input_vars limit. By default, this value is set to 1000, which may not be sufficient for larger forms.
You’ll need to increase this limit. We recommend setting it to a higher value such as 10000, although the exact number depends on how many fields your form contains.
Since this directive is usually managed by your hosting provider, you will need to reach out to them and request an increase in max_input_vars.
In Joomla!'s admin panel, navigate to:
- System > System Information > PHP Information
- Use your browser’s search function (typically Ctrl+F or Cmd+F) and search for max_input_vars.
- After your hosting provider updates the value, you can repeat the steps above to confirm that the change has been applied.
ModSecurity Rules
If ModSecurity is enabled on your server, it may be incorrectly blocking legitimate requests to your Joomla! backend, especially when working with form data.
You will need to contact your hosting provider and ask them to adjust the ModSecurity configuration to ignore the following path:
/administrator/index.php?option=com_rsform
This will help prevent ModSecurity from interfering with form submission or saving actions.
Here are some helpful discussions and guides regarding ModSecurity and Joomla!: