Jump to content

Warning, your PHP configuration limits the maximum number of fields to post in a form: 1000 for max_


Recommended Posts

Hi,

Any one can help? I need an advice about the problem I face now.

I want to modify the translation but I gate always this read line"

Warning, your PHP configuration limits the maximum number of fields to post in a form:

1000 for max_input_vars.

Please ask your hosting provider to increase the this limit to 1255 at least or edit the translation file manually."

 

What to do?

 

i need to do some trasulation into my office , i installed prestashop 1.5.3.1

 

thanks ,

Link to comment
Share on other sites

:) thankspost_offline.png Doulas Akula , i already informed them about this problem , hope it ll be fine soon ! thanks anyway for ur replay mate ! , i read a topic about this, Create new php.ini file , put it on the root folder and we could enhance the count as much we wants , if you 've any idea please share it to me ! Edited by ayush (see edit history)
Link to comment
Share on other sites

  • 4 months later...
  On 9/17/2013 at 9:57 PM, segah said:

 

Hı.bi admin folder create folder named php.ini. in the

suhosin.post.max_vars = 4252
suhosin.request.max_vars = 4252
max_input_vars = 3000
the problem will be solved.

 

 

it isn't as simple as it seems, mainly because several hosts has got a bit different way to configure .ini file. For example, on godaddy hosting you have to use "php5.ini" file instead of simple php.ini

 

all other things looks well :) thank you!

  • Like 1
Link to comment
Share on other sites

  • 5 months later...

Hello,

 

I have the same problem " Warning, your PHP configuration limits the maximum number of fields to post in a form:1000 for max_input_vars.

Please ask your hosting provider to increase the this limit to 1255 at least or edit the translation file manually. "

 

The site is located in my computer

 

What documents should I change?

 

Tnx

Link to comment
Share on other sites

Hello,

 

I find in my C:\....\EasyPHP-DevServer-14.1VC11\binaries\conf_files 3 files : 

 

httpd.conf , i try to find max_input_vars , but i don`t found nothing .

 

my.ini , i try to find max_input_vars , but the same...nothing.

 

php.ini , here i found and i replaced the numbers

 

; Maximum input variable nesting level

;max_input_nesting_level = 128
 
; How many GET/POST/COOKIE input variables may be accepted
; max_input_vars = 3000
;suhosin.post.max_vars = 3000 
;suhosin.request.max_vars = 3000
 
; Maximum amount of memory a script may consume (128MB)
memory_limit = 128M

 

I saved the document and then tried again TRANSLATE,  but there was no change.

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...
  On 3/5/2014 at 5:59 PM, vekia said:

in fact everything depends on software that you use,

so, it's on localhost (if so what softwate you use) or on remote (if so, where you've got hosting?)

im in same problem godaddy , i do all this things and no effect

Link to comment
Share on other sites

  • 6 months later...

Hi, I´m giving IT there, because It isn´t mark as SOLVED and maybe I can help someone. 

I´m making in localhost with complex-web-server.

 

My problem was solved, when i open C/complex-web-server/conf/php/php.ini

 There I make changes on line 200-210:

 

;----- resource limits -----
 
max_execution_time              = 8192
max_input_time                  = 8192
memory_limit                    = 1024M
 
; Maximum input variable nesting level
;max_input_nesting_level = 64
 
; How many GET/POST/COOKIE input variables may be accepted
 max_input_vars = 8192
 
 
;----- error behaviour -----
 
And restart server.
Link to comment
Share on other sites

  • 10 months later...

Hello,

 

I got the same error message as well after installation of a new theme (cooncook).

 

"Warning, your PHP configuration limits the maximum number of fields to post in a form:
1000 for max_input_vars.
Please ask your hosting provider to increase the this limit to 1345 at least or edit the translation file manually.
"

 

After contacting my hosting provider (hostgator) and increased the value to 5000. I still received same error message. Anyone can make a suggestion. The theme developer redirect me to check with prestashop hlepdesk. Anyone can make a suggestion?

 

Thank alot!

Link to comment
Share on other sites

  • 2 months later...
  • 4 months later...
  • 4 months later...

Hello all ,

 

the simplest solution is ::::

 

find your php.ini file ( ROOT directory )  /home/username

 

go to the VERY top of the lines ie. LINE 1 and paste the below command. 

please note that 10000 is the number i used , you can put whatever number you wish!

 

max_input_vars = 10000

 

i hope this will help you!

HJ

Link to comment
Share on other sites

  • 4 months later...

If nothing works, make a text file and copy this code below and save it as php.ini

memory_limit = 64M
max_execution_time = 1000;
max_input_time = -1;
post_max_size = 20M;
upload_max_filesize = 20M;
max_input_vars = 10000;
suhosin.get.max_vars = 10000;
suhosin.post.max_vars = 10000;

Then copy this php.ini file to the root of your site and inside your admin folder, see my exemple below:

 

1. My path to the root of my website, where "shop.slabestesanatos.eu" must be your site: public_html/shop.slabestesanatos.eu/

 

2. My path for the Admin folder, where /admin771t4r1u is the custom folder that Prestashop installer creates automaticaly after installation on Prestashop, yours must be with different numbers and letters exemple: admin1234ta /shop.slabestesanatos.eu/admin771t4rt1u

 

This should work, if not, please let me know.

Link to comment
Share on other sites

×
×
  • Create New...