Saturday, September 02, 2017

Prestashop ERROR Message "You already have the maximum quantity available for this product"

When adding a product to cart on front-end, you have this error message in the POST RESPONSE:
"You already have the maximum quantity available for this product"
This could come from many different reasons but one of them could that your MySQL database is in force recovery mode.

You may also encounter the following error in phpmyadmin when trying to import data:
Operation not allowed when innodb_forced_recovery > 0.
So find your my.cnf configuration file (on osx it's in /opt/local/etc/mysql56/my.cnf) and comment out following line
# innodb_force_recovery = 1
Then restart your database.

Example on osx:
launchctl unload -w /Library/LaunchDaemons/org.macports.mysql56-server.plist
launchctl load -w /Library/LaunchDaemons/org.macports.mysql56-server.plist

Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?