Jump to content

Prestashop times out


Divento123

Recommended Posts

Hello,

 

We have a problem on our Prestashop platform. Every time we try to save a product with a lot of combinations, the page times out. Can it be correlated?

 

If so, how could we increase the response time on Prestashop back-office?

 

(Prestashop 1.6.1.11)

 

Thanks a lot

 

post-1381392-0-06326300-1493046018_thumb.png

Link to comment
Share on other sites

The problem is on your server. You should contact your provider. He should consult error log of server and clean errors.

 

Furthermore your server configuration should apply to the min needed configuration

 

max_input_time 300

max_execution_time 300

memory_limit 256M better 512M

php 5.4 at least

mod_security = Off

magic_quotes = Off

disable apache multiviews = ON - this you can disable on your back-office tab "advanced parameters -> performance"

 

If you are hosting on a shared server and your provider cannot better the response time for you, you should take into consideration to move your site to a better webspace. Time-outs are always problem of a not balanced server service. This means bigger sites serve before an the request on these sites are prioritized. your site in this case have to wait.

Link to comment
Share on other sites

Hi,

 

Thanks for your answer and your suggestions.

 

We checked all of your suggestions and we were not able to solve the problem.

 

After further investigation, we found that this is not a server problem as you suggested, but a Prestashop problem.

 

Our web developer modified a file on the server (js/admin/products.js at line 124 there was "timeout: 30000"), which has solved the time out problem.

 

Now we can more or less save a product, but it takes so much time to do so that our back-office in unusable.

 

What do you suggest?

Link to comment
Share on other sites

The line 124 at /js/admin/product.js is originally - timeout: 30000. If there was another value as the stated, so somebody changed it. Originally the value is set to 30000.

 

Activate debug mode, and see if on front-office and back-office you can find somewhere on top error-logs.

 

Slow sites, are slow servers. Always. I know that most of the providers don't want to here this, but it is fact. Prestashop needs a special configured and fast server environment.

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