Jump to content

Admin products - White page (INET_E_CONNECTION_TIMEOUT - 500 error)


kevinberben

Recommended Posts

Hi all,

 

First, sorry for my bad english. I got a big problem in my Presta. :mellow:


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

 

Capture.thumb.PNG.7a625fbf5eeb1b1b6ebc8463b375c37d.PNG

Edited by kevinberben (see edit history)
Link to comment
Share on other sites

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

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

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

The log >

  1. [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

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 :

  1. [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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...