Jump to content

Can't Modify translations


Recommended Posts

Hello,

 

We used PrestaShop™ 1.4.7.3. We will be modify translation Back Office Translation and Translation of Installed modules, but the message appears as below:

 

Warning, your hosting provider limits the maximum number of fields to post in a form:

1000 for max_input_vars

Please ask your hosting provider to increase the suhosin post and request limit to 3567 at least. or edit the translation file manually.

 

Could you help me? Thanks.

Link to comment
Share on other sites

Hi wyooleung,

As the error message says, this is a hosting-specific issue. Please give your hosting provider a call and show them this message to ask them to increase the necessary value.

 

Alternatively, have you tried updating a handful of fields at a time instead of doing them all at once?

 

-Mike

Link to comment
Share on other sites

Mike

 

We tested in their own linux system software settings are as follows.

 

 

Server information

Prestashop version: 1.4.7.3

Server information: Linux #1 SMP Mon May 9 20:36:50 UTC 2011 i686

Server software version: Apache/2.2.21 (Fedora)

PHP version: 5.3.10

MySQL version: 5.5.20

 

Thanks.

Link to comment
Share on other sites

  • 4 weeks later...

We don't have suhosin installed, and max_input_vars is set to 1216. However we receive the same error:

Warning, your hosting provider limits the maximum number of fields to post in a form:

1000 for max_input_vars

Version installed: 1.4.7.3 It seems a bug, I have found it on bug tracker:

http://forge.prestashop.com/browse/PSCFI-5446

http://forge.prestashop.com/browse/PSCFI-5446?page=com.atlassian.jira.plugin.system.issuetabpanels%3Achangehistory-tabpanel

 

A fast solution would be appreciated!

Link to comment
Share on other sites

Hi AndyCole,

 

If your server doesn't allow more than 1000 entries at once, I personally would recommend you just save and submit from time to time while working on the translations.

 

Honestly, even if your server could handle an unlimited number of entries, I would still recommend this. You don't want to know how much of my hair I've pulled out when an accidental keystroke refreshed the page without saving and I lost a LOT of my work :P.

 

-Mike

  • Like 1
Link to comment
Share on other sites

Hi Mike. The issue is that I cannot access to module translation lists, due to this "issue", and so I cannot save neither 10 translations at once. Simply I cannot translate nothing. I hope that PS Team will solve the issue, as we encountered only in the last update.

Thanks, Andy

Link to comment
Share on other sites

  • 2 months later...

Here we go again! Pepper comes with explanation how fixed this problem on Ubuntu Server 11.04. First of all i have notice that my server runs suPHP which means that php5-suhosin is not installed. So i did this:

 

aptitude install php5-suhosin

 

After that, the patches are available but not yet configured. The central config file for the protection system is located at /etc/php5/conf.d/suhosin.ini. For a basic configuration uncomment the following lines:

 

[suhosin]

suhosin.executor.include.max_traversal = 4

suhosin.executor.disable_emodifier = on

suhosin.mail.protect = 2

 

; Filtering Options

suhosin.cookie.max_vars = 2048

suhosin.get.max_array_index_length = 256

suhosin.post.max_array_index_length = 256

suhosin.post.max_totalname_length = 8192

suhosin.post.max_vars = 2048

suhosin.request.max_totalname_length = 8192

suhosin.request.max_varname_length = 256

 

I needed 5426 max_input_vars this are example settings above.

Than i did this:

 

service apache2 restart

 

note:

It was suhosin. The parameters:

 

suhosin.get.max_vars

suhosin.post.max_vars

suhosin.request.max_vars

 

overwrite max_input_vars in php.ini.

That´s confused. You don't need to edit php.ini

 

After doing all above my problem is fixed and i can save translation in my own Bulgarian language!

Thanks prestashop one more time!

Edited by pepperr (see edit history)
  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...