kevinberben Posted November 15, 2017 Share Posted November 15, 2017 (edited) Hi all, First, sorry for my bad english. I got a big problem in my Presta. Everything is ok for all the website but I cannot go to products administration. First that loading a long moment. And then white page without error message. With Edge I got this message : INET_E_CONNECTION_TIMEOUT (Attachement) > Error 500 I think. I understand that is a memory_limit error but I think that increase the limit is not the solution. A lot of topics said that the solution is to increase the memory. Before this error everything was OK and the memory is at the max. So much memory to access the products admin is not normal, so I think there is a problem. That's the problem I try to resolve, but I cannot find the error. The debug mode is on "true" but no error displaying. I don't find more informations. Someone to help me?For information my Prestashop is 1.6 version hosted by Infomaniak. Thank you in advance. I can give an admin access by MP if it can help to find a solution. Kévin Edited November 16, 2017 by kevinberben (see edit history) Link to comment Share on other sites More sharing options...
selectshop.at Posted November 15, 2017 Share Posted November 15, 2017 Connection time-put means that the server is not answering in the time expected. This could be a overloaded server, a slow inet connection. Check min requirements you need for to run Prestashop here: PS 1.6. https://www.prestashop.com/forums/topic/633856-server-requirements-tested-in-production-for-ps-16/ PS 1.7 https://www.prestashop.com/forums/topic/633857-server-requirements-for-ps-17/ If you cannot adapt on cPAnel the values to these min. requirements, you should change your hosting package. Shared servers are problematic, as they are constantly in work with other requests, not related to your site, but also to other sites hosted on it. If there is no load-balancing on the server, so the page with more traffic will be served before and your page will have time-outs. Link to comment Share on other sites More sharing options...
kevinberben Posted November 15, 2017 Author Share Posted November 15, 2017 4 minutes ago, selectshop.at said: Connection time-put means that the server is not answering in the time expected. This could be a overloaded server, a slow inet connection. Check min requirements you need for to run Prestashop here: PS 1.6. https://www.prestashop.com/forums/topic/633856-server-requirements-tested-in-production-for-ps-16/ PS 1.7 https://www.prestashop.com/forums/topic/633857-server-requirements-for-ps-17/ If you cannot adapt on cPAnel the values to these min. requirements, you should change your hosting package. Shared servers are problematic, as they are constantly in work with other requests, not related to your site, but also to other sites hosted on it. If there is no load-balancing on the server, so the page with more traffic will be served before and your page will have time-outs. I understand that, but I think that memory is not the problem. All the website and the admin were ok last week. When I click on "products" now, it's loading a lot of time. So I think an there is an error somewhere. The long loading is probably due to this error. Link to comment Share on other sites More sharing options...
selectshop.at Posted November 15, 2017 Share Posted November 15, 2017 I presume you are hosting on a shared server which is overloaded. You should change your hosting package. Take a VPS server on where your site is alone. For shared host you will not achieve better results. Of course memory_limit, max_execution_time and max_input_time are the major important factors of to don't have shop time-outs during overloads of the server as well. The higher the value is the better the chance that overloads are suppressed and you will not note an time-out. If your provider added to your server a new page, which is provoking high traffic on the server, all other pages could suddenly not running well anymore. You should not take as measurement what it was last week, but the problem now. If min. requirements are not fulfilled, so this is a problem more to bad hosting packages. Link to comment Share on other sites More sharing options...
kevinberben Posted November 16, 2017 Author Share Posted November 16, 2017 The log > [Thu Nov 16 10:34:42 2017] [error] [client 109.88.0.242] FastCGI: server "/home/clients/0e92a284cc2f72d4c65f0ef91cf33c87/.config/apache/malumiereled.be/.fpm/php5.external" stderr: PHP message: PHP Fatal error: Allowed memory size of 1342177280 bytes exhausted (tried to allocate 65536 bytes) in Unknown on line 0, referer: https://www.malumiereled.be/admin9731/index.php?controller=AdminDashboard&token=44c05b5c8d11f7103a97a9a2bfc34137 I will try the server upgrade to have more memory. That's what Infomaniak suggest. But I'm affraid the problem will still be there. Before that the catalog charging in one second. Now it take a long time and then it crash. Link to comment Share on other sites More sharing options...
selectshop.at Posted November 16, 2017 Share Posted November 16, 2017 The error is coming from wrong server configuration. There is not enough memory for to execute the script. Link to comment Share on other sites More sharing options...
kevinberben Posted November 17, 2017 Author Share Posted November 17, 2017 I all, As you said I take another hosting solution, not shared, with more memory (2048). The problem is still there.. Memory is not the problem, It's not normal that Presta need so much memory and time to load product admin. Can someone help me to find the solution in another way to tell me ton increase the memory limit? Look at the error message : [Fri Nov 17 10:41:29.995260 2017] [:error] [pid 24437:tid 140128667657984] [client 2001:1600:2:f:4d53:b4c5:7bb0:2606:57940] FastCGI: server "/home/clients/0e92a284cc2f72d4c65f0ef91cf33c87/.config/apache/malumiereled.be/.fpm/php5.external" stderr: PHP message: PHP Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 65536 bytes) in Unknown on line 0, referer: https://www.malumiereled.be/adminxxxx/index.php?controller=AdminDashboard&token=90f3a9703721d1e8eacefc3e14068832 Link to comment Share on other sites More sharing options...
kevinberben Posted November 17, 2017 Author Share Posted November 17, 2017 HELP HELP, And hi again, In AdminProductsConctroller.php, when I delete $this->tpl_list_vars['category_tree'] = $tree->render(); > I can access the product admin. So can someone help me to know why $this->tpl_list_vars['category_tree'] = $tree->render(); generate a problem? thanks, Link to comment Share on other sites More sharing options...
selectshop.at Posted November 19, 2017 Share Posted November 19, 2017 Seems this is a third party code development ? I don't know any part of code using tree-> render on product list. If it is third part, better you ask the developer of the module/theme or what else it is... 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