|PHP Developers Network
|This is the error message SQL
|Page 1 of 1|
|Author:||vienkr [ Sun Dec 17, 2017 2:05 am ]|
|Post subject:||This is the error message SQL|
This is the error message:
1002 - Duplicate entry '' for key 'products_model'
update NEWS set products_quantity = '1', products_model = '', products_price = '', products_type = '0', products_date_available = null, products_weight = '0', products_status = '', products_tax_class_id = '', manufacturers_id = '0', products_last_modified = now() where products_id = '141'
I tried to edit the data but not. Who answers help to crime. I have to complete the weekend to complete the project . Help me please
|Author:||requinix [ Sun Dec 17, 2017 2:50 am ]|
|Post subject:||Re: This is the error message SQL|
It means the NEWS table requires all products_model values to be unique. One of each.
Either provide a value for the products_model, which means you probably need to fix the other row which is also empty, or decide whether the uniqueness constraint needs to be there.
|Page 1 of 1||All times are UTC - 5 hours|
|Powered by phpBB® Forum Software © phpBB Group