Forums

Maximum number of fields

webfish 01 Oct, 2013
I know this has been discussed elsewhere but I have hit a brick wall with my form.

I have added 39 fields but need to have about 70. Whenever I save in wizard edit, the form simply goes back to my Admin front page. I am hosted with Hostagtor and have modified my php.ini file to show max_input_vars = 2000. Still no luck.

Can anyone help ?

I'm on Joomla 3.1.5
GreyHead 01 Oct, 2013
Hi webfish,

Please try 3000 and check the suhosin settings.

Bob
webfish 01 Oct, 2013
Thanks for the reply. Looked like there were two issues. I can't find your required server specs but I'm guessing php5.3. My Hostgator account was 5.2.

We upgraded to 5.3 and added max_input_vars = 2000 but the modified php.ini file seems to conflict with php5.3 so everything is pretty stuffed in the back end with a continual error "Your host needs to disable magic_quotes_gpc to run this version of Joomla!" They say they have changed this but it's still not working and I sometimes get an internal server fault 500.

Will let you know if I sort this out because I had the exact same issue with Chronoforms/hostgator a few months back on another site. In the end I gave up as the form requirement was very low and I simply went for a lightweight component.
webfish 01 Oct, 2013
Also, they're not running suhosin.
GreyHead 01 Oct, 2013
Hi webfish,

If I remember correctly Max switched to PHP 5.3 around the time of Joomla! 1.6/2.5 releases. In any case 5.3.1 is the minimum for Joomla! 3.x

Your host should be able to turn Magic Quotes off as they are now deprecated in PHP 5.3 and removed in PHP 5.4. They may just need to find the right php.ini file to edit.

The 500 Errors are usually so far a sign of a PHP error on the site. For some reason Joomla! decided to add those in place of the blank screens we used to have. Setting Site Error Reporting to Maximum temporarily will usually show a more useful error message.

When you have the Site Admin up you can check the current PHP settings from the Site Control center.

Bob
webfish 02 Oct, 2013
OK - this is what is happening.

I can no longer save my form. Chrome shows a slow percentage "upload" progress but after a minute or something I get the 500 server error. The error is generated by the host not Joomla. Max error reporting does nothing.

This was all working fine until the form got to about 63 fields. Everything else on the site works perfectly. I only need to add a few more things but have hit a wall.

We have disabled magic quotes
Running php5.3.27
Joomla 3.1.5
max_input_vars at 3000
GreyHead 02 Oct, 2013
Hi webfish,

Is there any message with the 500 error - on screen or in the server logs? There are a few possible causes we've seen in the forums here (a search might give you some clues). The most common one seems to be an Event Loop that redirects to the same event that it is in so goes into a permanent loop until memory expires.

Bob
This topic is locked and no more replies can be posted.