Jump to content

Help pls: Product downloads timeout


Recommended Posts

Dear PrestaShop users,

 

I have a problem to the solution of which I need some inside knowledge on the processes involved in downloading a product.

When I try to download a product, the download process cancelled after 120 seconds. This I assume is the 'max_execution_time' my provider sets in the php-configuration.

I cannot edit the 'core'-configuration but can use a php.ini-file which overwrites the core-config.

I cannot do this globally, but only for a directory with a php.ini. Moreover any subdirectory needs to have its own php.ini.

 

So in order to prevent the time-outs of my downloads, I need to have a php.ini in the directories which are involved in the download-process. I looked into the '/get-file.php and uploaded the php.ini to almost every folder, with no success.

When I needed to increase the size of up-loadable files, I just had to but a php.ini with a different value for 'post_max_size' into my 'Backend-folder'.

 

Maybe 'max_execution_time' is not the value to change in this case.

This is quiet a mystery to me, which I hope you can solve.

 

Thank you very much in advance!

 

Regards

Daniel

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