Jump to content

[SOLVED] Stock issues


Recommended Posts

Hello,

I inherited from an old 1.6.1.24 Prestashop instance that I decided to migrate to a fresher hosting plateforme (recent PHP/MariaDB version, etc). We plan to migrate to 1.7 but not right now, and since we moved to the new host we are getting serious issues with stocks.

When a purchase is made, the product quantities are properly updated. But after some time they are rolled back to their previous state.

It's really annoying and I don't know where to look at. There is no errors in PHP logs, nor Nginx. Caching isn't setup so it won't interfere with anything.

Can someone help me debug this?
Thanks in advance,

 

Some specifications:

  • Host running Linux #1 SMP Debian 11 Bullseye 5.10.106-1 (2022-03-17) x86_64
  • Web server nginx/1.21.6
  • PHP 7.1.33-44+0~20211119.61+debian11~1.gbp448fbe
  • PHP memory limit 512M
  • MySQL 10.6.7-MariaDB-1:10.6.7+maria~bullseye
  • MySQL InnoDB engine
  • MySQL DbPDO connector
Edited by Mathilde B.
mark as solved (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...
1 minute ago, El Patron said:

did you contact hosting?  maybe they are running a varnish cache.....

I'm hosting, & no Varnish! :)

But nevermind, it was my client's fault. They didn't made me aware of some plugin used to sync their stock against a cash register cloud solution. The stock issues were related to this, so it wasn't Prestashop fault!

  • Like 1
Link to comment
Share on other sites

14 minutes ago, Mathilde B. said:

I'm hosting, & no Varnish! :)

But nevermind, it was my client's fault. They didn't made me aware of some plugin used to sync their stock against a cash register cloud solution. The stock issues were related to this, so it wasn't Prestashop fault!

good catch, I'm sure that was driving you crazy.....looool

  • Like 1
Link to comment
Share on other sites

1 minute ago, El Patron said:

good catch, I'm sure that was driving you crazy.....looool

Sure thing, they were calling me for days, saying "the website is going crazy!" thinking it was all my fault. Glad I finally found the underlying issue! Problem solved!

Link to comment
Share on other sites

  • Mathilde B. changed the title to [SOLVED] Stock issues

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