New Zenner
- Join Date:
- Nov 2016
- Location:
- Helmond
- Posts:
- 5
- Plugin Contributions:
- 0
Error 1062:Duplicate entry for key 'PRIMARY' in products_description
https://www.carmo.nl
ZC Version 1.5.4
PHP versie: 5.4.45-0+deb7u8 (Zend: 2.4.0)
Database: MySQL 5.5.55-0+deb7u1
Hi everyone. We are unable to modify or add new products to the website, this is new since a couple of weeks. We receive an "Warning an error has occurred"
When we open the log files we get this:
[15-Jun-2017 17:10:14 Europe/Berlin] Request URI: /admin/product.php?cPath=4102_4104&product_type=1&action=insert_product,
#1 trigger_error() called at [/store/includes/classes/db/mysql/query_factory.php:155]
#2 queryFactory->show_error() called at [/store/includes/classes/db/mysql/query_factory.php:132]
#3 queryFactory->set_error() called at [/store/includes/classes/db/mysql/query_factory.php:262]
#4 queryFactory->Execute() called at [/store/admin/includes/functions/database.php:53]
#5 zen_db_perform() called at [/store/admin/includes/modules/update_product.php:179]
#6 require(/store/admin/includes/modules/update_product.php) called at [/store/admin/product.php:62]
[15-Jun-2017 17:10:14 Europe/Berlin] PHP Fatal error: 1062:Duplicate entry '2510-3' for key 'PRIMARY' :: insert into shopproducts_description (products_name, products_description, products_url, products_id, language_id) values (‘Test product’, '', '', '2510', '3') ==> (as called by) /store/admin/includes/functions/database.php on line 53 <== in /store/includes/classes/db/mysql/query_factory.php on line 155
I have looked on 50 different webpages now but I am unable to solve the issue.
We also use the Zen-cart store manager, there i can add and modify products but not when using the CMS. Can you please assist or point me in the right direction. Many thanks.
Cheers.
Kevin
Carmo electronics.
The Netherlands.