patrmich Posted December 7, 2016 Share Posted December 7, 2016 My shop is built with Prestashop 1.5.6.2.I have a few products with a rather long description (I am talking about the product "description", not the product "short description")For such products, I meet the following problem :- In Control Panel > Product > I make an amendment in the description- Then, I click on the Save and Stay button- Instead of remaining on the product page, the product list displays- When I go back to the product page, I can see that the amendment has not been taken into account.An indirect way that I use to solve the matter, is making the amendment in the data base itself. But this is not very convenient.The amendment remains possible in the data base. Therefore, I think that there is no limit in the description field of the ps_product_lang table.I tried to see whether there was some length limitation either in the AdminProductsController.php file or in the Product.php, but was unable to find such limitation.Would you know how to increase the size limit of the long description ?Thank you in advance for any reply.Patrick Link to comment Share on other sites More sharing options...
rocky Posted December 11, 2016 Share Posted December 11, 2016 If this has stopped working since upgrading your browser recently, it may be the issue fixed by PrestaShop v1.6.1.9 here. If not, you can try increasing the post_max_size in your php.ini file to see if that helps. Link to comment Share on other sites More sharing options...
patrmich Posted December 11, 2016 Author Share Posted December 11, 2016 Thank you Rocky for your kind reply.1- The problem occurs with last version of both Chrome and Firefox.But it occurred also months ago with previous browsers versions.My shop is built with Prestashop 1.5.6.2.I made many customizations in my shop. Therefore I cannot easily migrate to the last version of Prestashop.2- Currently, some of my php settings are the following :max_execution_time = 3000memory_limit = 3000Msuhosin.post.max_vars = 10000suhosin.request.max_vars = 6000post_max_size = 400Mupload_max_filesize = 400Moutput_buffering = 16384So, do you think that post_max_size at 400 could be too low ? 3- My hoster will no longer offer my current hosting option.Therefore, the hoster offers to migrate with a new hosting server with similar specifications in terms of Ram and CPU.But some php settings will be limited as follows :max_execution_time = 180memory_limit = 256post_max_size = 128Mupload_max_filesize = 128Moutput_buffering = 8192A priori, would you think that such settings are high enough to run a Prestashop 1.5.6.2 shop ?Thank you again for any reply.Patrick Link to comment Share on other sites More sharing options...
rocky Posted December 11, 2016 Share Posted December 11, 2016 Those numbers look plenty big enough for PrestaShop to save products, but it's been a long time since I worked with PrestaShop v1.5, so I can't be certain. It's usually the max_input_vars and post_max_size that you need to check to make sure you can change translations. Link to comment Share on other sites More sharing options...
patrmich Posted December 11, 2016 Author Share Posted December 11, 2016 Thank you again Rocky. 1- To deal with the Prestashop translations, I am using the "Traduisez Prestashop" (Prestashop Translation) module, made Samdha. This module allows the splitting of translations by module and by templates. 2- When you wrote "Those numbers look plenty big enough for PrestaShop to save products", did you think at my current settings data or to the new limited settings data proposed by my hoster ? 3- There would be also another difference between my current server and the new one : - current server : no Varnish cache - new possible server : Varnish cache set by default Would you have anything in mind regarding Prestashop and Varnish compatibility ? Thank you very much in advance. Patrick Link to comment Share on other sites More sharing options...
rocky Posted December 11, 2016 Share Posted December 11, 2016 I think both will be alright, but to be honest, I don't have a lot of experience installing PrestaShop in different server configurations, only on Just Host.I remember reading other topics about Varnish. It may take some extra work to get working. You'll have to search on the forums. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now