Jump to content

(SOLVED) Wrong order number in cart Error 500


kalu

Recommended Posts

Hi

I have a big problem, the clients cant buy in site and give error 500

Because the number of order is wrong, prestashop give a number  of one order from 2012, I have cheked the counters on database and are ok.

Can I delete all orders from database, ands carts?

 

Can some one help?

presta.png

Edited by kalu (see edit history)
Link to comment
Share on other sites

23 minutes ago, lordignus said:

Is there any information in your server logs to explain the 500 errors?

Speaking from experience, deleting orders and carts from the DB is a very bad idea because there are many other DB tables linked to them.

The log have lot's of this error only.

Frontcontroller::init - Cart cannot be loaded or an order has already been placed using this cart

 

Link to comment
Share on other sites

39 minutes ago, lordignus said:

You said you've checked the counters in the database, I'm assuming for ps_orders.

Have you also checked the counter for ps_cart?

Yes, I have checked, and the counters are correct, if you see in image, sometimes the order number is correct and costumers can buy, but sometimes the order number goes mad.

image.png.827ed6d6c8c10d0bbe6c4fca72faefb7.png

image.png.f4774ee798cc296c5cefee5b6d38ac34.png

Edited by kalu
add pics (see edit history)
Link to comment
Share on other sites

  • kalu changed the title to (SOLVED) Wrong order number in cart Error 500

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