Jump to content
Denver Prophit Jr.

Repeated Cart Error in Logs - Cart cannot be loaded or an order has already been placed using ...

Recommended Posts

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

I see this 2 to 3 dozen times a week. What causes this?

 

PS 1.6.1.5

suPHP 5.6

Edited by Denver Prophit Jr. (see edit history)

Share this post


Link to post
Share on other sites

It's usually caused by the order page being refreshed while validating

  • Like 1

Share this post


Link to post
Share on other sites

I have the same error and i have no clue how to fix this...

 

NemoPS can you give me more details about the page refreshed?

 

This came out of nowhere.... the orders where placed without problems a week ago... what a nightmare

 

 

Please, if someone has any info about this, would be amazing

Share this post


Link to post
Share on other sites

Hi !

 

Did you get it to work ? haveing the same problem.

 

Best regards

Share this post


Link to post
Share on other sites

Hi There,

 

I had the same problem with the PrestaShop webshop of a customer from me en I found the fix.

 

The problem is that the id_cart is already used in the orders table in the column id_cart. So you have a duplicated id_cart, so automatically the cart will be cleared by PrestaShop.

 

To fix this:

 

- Check in the orders table what the highest id_cart is. For example 10045.

- Do an update to your database by resetting the Auto-increment value of the cart table to 10045 + 1 by executing this query :  ALTER TABLE `ps_cart` AUTO_INCREMENT = 10046;

 

PS: ps_ in the query should be changed with your store database prefix

 

Now the problem should be fixed.

 

Good luck for you all!!

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More