PHP Developers Network
http://forums.devnetwork.net/

This is the error message SQL
http://forums.devnetwork.net/viewtopic.php?f=2&t=145000
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
http://www.phpbb.com/