When inserting the shopping cart into my database, I get the following error:
"Out of range value adjusted for column blah blah"
The value that causes the error is the quantity field in the mysql database. This happens when i try to enter a null value for quantity, which is something i will need to do every now and then.
So for now, i simply set quantity to zero before inserting, in those particular cases.
So what is the deal with this error. I have read that it is because of mysql 5.0 and the tighter requirements it has on data.
I've read several sites on google and many immediately say "mysql bug". But i know it is bad to yell "bug!" when in reality, it is most likely a coding problem. So is it that you can't insert a null value into an INT attribute?
Has anyone had this issue before?
Thanks.