bliscar Posted April 18, 2024 Share Posted April 18, 2024 (edited) Hi. Changing state of an order is very slow (at least 1 minute) with my PrestaShop 8.1.5. All the others features are fine. Any idea about the problem ? Note : If I install this PrestaShop 8.1.5 locally on my computer with MAMP server, then changing state is OK. Thank you. Edited April 18, 2024 by bliscar (see edit history) Link to comment Share on other sites More sharing options...
Daresh Posted April 18, 2024 Share Posted April 18, 2024 Maybe some problems with sending emails related to the order state? Link to comment Share on other sites More sharing options...
Prestashop Addict Posted April 21, 2024 Share Posted April 21, 2024 Le 18/04/2024 à 10:03 PM, Daresh a dit : Maybe some problems with sending emails related to the order state? As @Daresh said this is a mail issue. Configure or disable it if you are in test/dev mode. Link to comment Share on other sites More sharing options...
bliscar Posted April 22, 2024 Author Share Posted April 22, 2024 I disabled email but the problem is still the same : ➜ Changing state of an order is very slow (at least 1 minute) and sometimes this results in a "504 Gateway Time-out - Nginx" ➜ I noticed also that accessing the cart list is very slow as well and sometimes this results in a "504 Gateway Time-out - Nginx" All the others features work well and are not slow. I am not sure if this issue is Prestashop side, or Server side. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted April 22, 2024 Share Posted April 22, 2024 Maybe a module, look at modules hooked in actionOrderStatusPostUpdate Link to comment Share on other sites More sharing options...
Nickz Posted April 22, 2024 Share Posted April 22, 2024 On 4/18/2024 at 9:42 AM, bliscar said: Changing state of an order is very slow (at least 1 minute) with my PrestaShop 8.1.5. All the others features are fine. When you started out with your shop what version was that? People update and update and most do that on their server with resources which were purchased a while ago. Every PhP version upgrade needs more memory https://calistocode.com/how-to-increase-php-memory-limit/ Link to comment Share on other sites More sharing options...
bliscar Posted April 22, 2024 Author Share Posted April 22, 2024 7 minutes ago, Nickz said: When you started out with your shop what version was that? People update and update and most do that on their server with resources which were purchased a while ago. Every PhP version upgrade needs more memory https://calistocode.com/how-to-increase-php-memory-limit/ Yes right, after upgrading, I double the memory of the server (which is now 4 GB). But the problem still occurs. Link to comment Share on other sites More sharing options...
Nickz Posted April 22, 2024 Share Posted April 22, 2024 (edited) 4 minutes ago, bliscar said: Yes right, after upgrading, I double the memory of the server (which is now 4 GB). But the problem still occurs. PHP Memory is allocated via php.ini of the PHP you are using. It needs to be raised manually. Edited April 22, 2024 by Nickz (see edit history) Link to comment Share on other sites More sharing options...
bliscar Posted April 22, 2024 Author Share Posted April 22, 2024 3 minutes ago, Nickz said: PHP Memory is allocated via php.ini of the PHP you are using. It needs to be manually raised. Yes right, I increased PHP memory_limit to 1024M. But the problem still occurs. Link to comment Share on other sites More sharing options...
musicmaster Posted April 23, 2024 Share Posted April 23, 2024 Did you try enabling profiling? https://dh42.com/blog/prestashop-debug-profiling/ 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