Jump to content

bliscar

Members
  • Posts

    135
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

bliscar's Achievements

  1. Yes right, I increased PHP memory_limit to 1024M. But the problem still occurs.
  2. Yes right, after upgrading, I double the memory of the server (which is now 4 GB). But the problem still occurs.
  3. 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.
  4. 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.
  5. Bonjour, J'ai le même problème de lenteur au changement de l'état d'une commande. Avez-vous résolu votre problème ?
  6. Regarding my case, I found a fixing. I change the SQL request in the file : \src\Core\Grid\Query\OrderQueryBuilder.php I replace : $qb->addSelect('(' . $this->getNewCustomerSubSelect() . ') AS new'); With this : $qb->addSelect('IF((SELECT so.id_order FROM ps_orders so WHERE (so.id_customer = o.id_customer) AND (so.id_order < o.id_order) LIMIT 1) IS NOT NULL, 0, 1) AS new'); Everything is working fine now in my case.
  7. Hello. I successfully managed the manual migration from PS 1.6.1.24 to PS 8.1.5 I followed this topic which is very useful and precise : https://devdocs.prestashop-project.org/8/basics/keeping-up-to-date/migration/ I just got one issue : Displaying the orders list in the admin panel is very slow. It takes around 30 seconds to display (database contain 35,000 orders). With debug mode, it seems that one SQL query takes a long time to execute, as you can see in the screenshots. I am not an expert in SQL, so I do not know how to solve this problem 😕 Has anyone ever had this problem? Many thanks.
  8. Bonjour, Je réalise actuellement manuellement une migration de Prestahop 1.6 vers 8 La question se pose sur les mots passe clients. J’ai cru comprendre que le système de codage est passé de MD5 à bcrypt. Faut il ré-encoder la totalité des mots de passe clients au moment de la migration ? … ou bien PrestaShop 8 se chargera t-il de ré-encoder unitairement lors de chaque nouvelle connection d’un client ? Merci 👍
  9. Bonjour, J'ai un compte PayPal Professionnel en FRANCE et envisage le paiement par PayPal et carte bancaire sur mon site e-commerce. Est-ce qu'un client pourra payer par carte bancaire alors qu'il n'a pas de compte PayPal ? Merci pour vos éclairages.
  10. Bonjour, Quelqu'un a-t-il mis en place un data layer pour remonter l'évènement "purchase" pour Analytics GA4 ? Je suis sous Prestashop 1.6.1.24 et je recherche un bout de code qui me permette de mettre cela en place. PS: Je ne souhaite pas acheter de module. Merci par avance pour vos réponses ! 🙂
  11. Thank you. I have tried this code : var URL_STRING = "https://www.mydomain.com/api/customers?ws_key=KEY"; var response = UrlFetchApp.fetch(URL_STRING); var json = response.getContentText(); var data = JSON.parse(json); And I got the error : SyntaxError: Unexpected token < in JSON at position 0 🙁
  12. I am trying to implement basic Google sheet script to retrieve customers list using Prestashop webservices : var URL_STRING = "https://www.mydomain.com/api/customers?display=[firstname,lastname,email]"; var response = UrlFetchApp.fetch(URL_STRING); var json = response.getContentText(); var data = JSON.parse(json); Very logically, this script is not working because I do not mention the authentication KEY, so I go the reply "401 Unauthorized". So I have tried to insert the KEY in the URL, like this : var URL_STRING = "https://[email protected]/api/customers?display=[firstname,lastname,email]"; var response = UrlFetchApp.fetch(URL_STRING); var json = response.getContentText(); var data = JSON.parse(json); But it is not working as well (reply "401 Unauthorized"). What should I do to mention the KEY in the code and make the script working correctly ? Thank you 🙂
×
×
  • Create New...