10 years ago
Topic

Hello sebloders,

I have a problem with finishing my form (Site View). I have 125 fields and I can't add no more. If they appear, they will disappear after saving form.

Is there a limitation by 125 fields in form and how I can avoid it?

Thank you

Get a Book for SEBLOD
693 Posts
rpoy
10 years ago
8
Level 1

Hi kronos,

Please check your recomended PHP settings:

Directive Recommended              
max_file_uploads           50  
max_input_vars          3000

thanks,

Randy

10 years ago
0
Level 2

Hello, Randy. Thank you for reply.

I have:

max_input_vars 3000

max_file_uplaods 1000

203 Posts
louispapera
10 years ago
6
Level 2

Dear Randy, I have the same problem in site form. I saw many post about this issue and I change my ini.php as follow:

max_file_uploads= 50

max_input_vars = 5000

My site form do not work. I can't add any field.

Please, could me help ?

Regards, Louis 

52 Posts
paulbr
10 years ago
5
Level 3

Hi luis

First to change the settings in php.ini not in ini.php?

Check the post_max_size variable in the php.ini.

This is important if you have passed many fields.

lg

paulbr

203 Posts
louispapera
10 years ago
2
Level 4

Hi Paulbr, many thanks for your reply and excuse me for wrong about ini.php-php.ini.

I see my post_max_size and his value is 16M. Do you think that this value is to change ?

What could be the just value and how I do to change it ?  
Best regards, Louis  

52 Posts
paulbr
10 years ago
1
Level 5

Hi Louis,

check the following settings:

pcre.backtrack_limit | pcre.recursion_limit
width php version < 5.3.7 was the default value 100k
>= 5.3.7 it's the default 1M
pcre.backtrack_limit sets the maximum bind length PREG calls (e.g. preg_replace_callback) can make. However the actual maximum seems to be approximately half the value set here, possibly due to the character encoding that PCRE runs with internally
It is limited by RAM size, not the ulimit on stack-size.
e.g.
pcre.backtrack_limit 10000000
pcre.recursion_limit 500000

  

max_input_time
the default value is 30 seconds set it to 60 or 120
e.g.
max_input_time 120

   

change suhosin configuration (if the server suhosin used can to it in .htaccess file)
e.g.
php_value suhosin.post.max_array_index_length 512
php_value suhosin.post.max_name_length 512
php_value suhosin.post.max_vars 5000
php_value suhosin.request.max_vars 5000
php_value suhosin.request.max_array_index_length 512

   

Regards
paulbr

203 Posts
louispapera
10 years ago
0
Level 6

Hi Paulbr, thanks for your help. I prefer to create unlocked fields as for kronos suggestions. It is better.

I changed also post_max_size value but I do not solve.

Thank you again for your preciouse help.

Best regards, Louis 

10 years ago
1
Level 4

Try to add unlocked fields

203 Posts
louispapera
10 years ago
0
Level 5

Dear Kronos, I solved with unlocked fiields. I am not satisfied but I solved. 

Thanks for all about partecipation to topic.

Best regards, Louis

52 Posts
paulbr
10 years ago
1
Level 1

It's not enough!

I had the same problem!

My settings were:
max_file_uploads 50
max_input_vars 3000

I could solve it by setting the following:
max_file_uploads 50
max_input_vars 5000

Not max_file_uploads is important but max_input_vars.
I have written a post in the German Seblod forum explains exactly why this is so.

Regards

Paul

10 years ago
0
Level 2

Yeap, this helped!

Great thank to paulbr and Randy

Get a Book for SEBLOD