Jump to content
  • 0
elektrozales

max_input_vars 1000 [SOLVED]

Question

I have been trying to change the language of this page to Spanish. http://elektrozales.com/es/

I can’t change "ADD TO CART" to "AÑADIR AL CARRITO". I have been trying for days, I have translated and all, but when i click on "translate back-Office" it says 1000 de max_input_vars.

and you need 4654, ask your hosting provider to increases it.

 

I just called godaddy, but they said me they don’t have that file, and I should create it, but I don’t know how.

 

I just printed my phpinfo and it said that it already exists in this place: /web/conf/php5.ini but I can’t find it, can some 1 help me?

 

I will appreciate any help, thank so much and sorry for my English, I am not native English speaker

there is my php info: http://elektrozales.com/phpinfo.php

Edited by elektrozales

Share this post


Link to post
Share on other sites

101 answers to this question

Recommended Posts

  • 0

This should be in your php.ini file under resource limits:

Here is an example:

 

max_execution_time = 1000	 ; Maximum execution time of each script, in seconds
max_input_time = -1 ; Maximum amount of time each script may spend parsing request data
memory_limit = 1024M	  ; Maximum amount of memory a script may consume (32MB)
max_input_vars = 10000;

Share this post


Link to post
Share on other sites
  • 0

That may be a hidden file call Go Daady back and tell them you need the max_input_vars increased in your PHP,ini file.

In the root folder of your FTP account do you see a web folder.

Funny how some host are, with mine I am able to edit my PHP.ini file right from the control panel and even switch between 5.2 and 5.3.

Funny thing was though with PHP 5.3 even when I changed the max_input I still received this message I switched back to 5.2 and no more errors.

Here is why 5.2 has no such variable that started with 5.3.

 

 

You can create a file named php5.ini and place this code inside then upload to the root of your domain.and see if it helps

 

 

; How many GET/POST/COOKIE input variables may be accepted

max_input_vars = 5000

 

 

OR

 

You could also try adding this to your .htaccess file: (do one or the other)

[color=#3F3E29][font=Arial, Helvetica, sans-serif]php_value max_input_vars 5000[/font][/color]

Share this post


Link to post
Share on other sites
  • 0

That may be a hidden file call Go Daady back and tell them you need the max_input_vars increased in your PHP,ini file.

In the root folder of your FTP account do you see a web folder.

Funny how some host are, with mine I am able to edit my PHP.ini file right from the control panel and even switch between 5.2 and 5.3.

Funny thing was though with PHP 5.3 even when I changed the max_input I still received this message I switched back to 5.2 and no more errors.

Here is why 5.2 has no such variable that started with 5.3.

 

 

You can create a file named php5.ini and place this code inside then upload to the root of your domain.and see if it helps

 

 

; How many GET/POST/COOKIE input variables may be accepted

max_input_vars = 5000

 

 

OR

 

You could also try adding this to your .htaccess file: (do one or the other)

[color=#3F3E29][font=Arial, Helvetica, sans-serif]php_value max_input_vars 5000[/font][/color]

 

I called back to Godaddy, they said me they dont know PHP so well, and they are not able to code anything...

what i should do?

 

I added the code that u said to the .htaccess file, but still dont work, i think i should create this file, but how i can i do that? and should i place it in the root? or where?

 

thanks for your fast replys

Share this post


Link to post
Share on other sites
  • 0

I made the file for you just download to your computer then upload to the root folder of your shop.

 

before uploading change the name to php5.ini, the forum does not allow .ini files to be uploaded.

 

 

 

 

Thank you so much now i can translate, =D

Share this post


Link to post
Share on other sites
  • 0

So I will assume this fixed your issue, please mark the post as solved.

How to - edit your original post click Use full editor at the bottom then add [sOLVED] in front of your original title.

Edited by tdr170

Share this post


Link to post
Share on other sites
  • 0

Hi,

I have the same problem.

I have uploaded the file php5.ini in the root of the shop but I have the same error.

Warning: Your PHP configuration limits the number of fields in the form of post:

1000 max_input_vars.

Please ask your provider to increase this limit to a minimum of 1632 or translate the file manually ..

what's wrong ?

My php version is PHP 5.3

my shop is hosted on go daddy.

Thank you in advance

Have a nice day

MAXC

Edited by makuweb

Share this post


Link to post
Share on other sites
  • 0

That may be a hidden file call Go Daady back and tell them you need the max_input_vars increased in your PHP,ini file.

In the root folder of your FTP account do you see a web folder.

Funny how some host are, with mine I am able to edit my PHP.ini file right from the control panel and even switch between 5.2 and 5.3.

Funny thing was though with PHP 5.3 even when I changed the max_input I still received this message I switched back to 5.2 and no more errors.

Here is why 5.2 has no such variable that started with 5.3.

 

 

You can create a file named php5.ini and place this code inside then upload to the root of your domain.and see if it helps

 

 

; How many GET/POST/COOKIE input variables may be accepted

max_input_vars = 5000

 

 

OR

 

You could also try adding this to your .htaccess file: (do one or the other)

[color=#3F3E29][font=Arial, Helvetica, sans-serif]php_value max_input_vars 5000[/font][/color]

hi presta

i registered myself just because to say thank you.this peice of code helped me in increasing variables in menu items in word press.i will definately share your link on wordpress platform.thanks and i will follow this forum onwards............

Share this post


Link to post
Share on other sites
  • 0

Hello everyone. Thanks for sharing this topic. I have the same problem with translations, but my provider told me that it is not possible to increase the value!! What do I do now? 

Share this post


Link to post
Share on other sites
  • 0

Hello everyone. Thanks for sharing this topic. I have the same problem with translations, but my provider told me that it is not possible to increase the value!! What do I do now? 

 

Probably the only workable solution is to replicate your shop on a localhost running on your computer.  (search forum on how to do this or open a new topic).  This will allow you to set you localhost values so that you can make the changes, then you  would ftp  those changes to your remote..

 

The better option is to find another hosting company.

Share this post


Link to post
Share on other sites
  • 0

Probably the only workable solution is to replicate your shop on a localhost running on your computer.  (search forum on how to do this or open a new topic).  This will allow you to set you localhost values so that you can make the changes, then you  would ftp  those changes to your remote..

 

The better option is to find another hosting company.

 

Thank you El Patron for advice. I replicated the shop on localhost as you suggested. I had done that before, so it wasn't such a big problem. Now I can access all my translations. So thanks again. 

Share this post


Link to post
Share on other sites
  • 0

I have been through this problem  with a number of different hosts. With different host companies, one of the following always worked for me:

 

  • Ask your hosting panel to make the change to the php
  • Or add the following line to your htaccess (without quotes): "php_value max_input_vars 4000"
  • Or add the following line to your htaccess (without quotes): "php_flag max_input_vars 4000

However, I am currently working on a site hosted on GoDaddy (helpful support but absolutely useless hosting) and the issue is not resolving.

Share this post


Link to post
Share on other sites
  • 0

Just wanted to add this: For me the solution was to edit the php.ini file located in the etc/php5/apache2-folder. I guess the location can be different from host to host. I have a cloud-vps server btw.

Edited by nienha

Share this post


Link to post
Share on other sites
  • 0

Just wanted to add this: For me the solution was to edit the php.ini file located in the etc/php5/apache2-folder. I guess the location can be different from host to host. I have a cloud-vps server btw.

 

this is a very good point...it's all about location location location...oh, and putty....

 

for anyone that wants to know where their php.ini is located and/or pathing to any and all .ini's, get this free module...

 

http://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-13-14-15/

Share this post


Link to post
Share on other sites
  • 0

I made the file for you just download to your computer then upload to the root folder of your shop.

 

before uploading change the name to php5.ini or php.ini the forum does not allow .ini files to be uploaded.

 

 

attachicon.gifphp.txt

 

 

 

I would like to thank and inform you that the above file on this date still is working very well.

I put the file in / public_html as the name php.ini

very sheltered by tdr170 file

sorry my english.

 
I forgot to mention. xD
my hosting is godaddy linux
Edited by psycki

Share this post


Link to post
Share on other sites
  • 0

Hello,

 

In my case I had to put the php.ini file in the administration folder,  /public_html folder didn´t worked for me.

 

Thank you everyone for all the solutions posted.

Share this post


Link to post
Share on other sites

×