Magento News
Magento – batch import error
Hi
I am currently creating a batch script that will import products into a particular category.
I am however, receiving an error in the output:
exception ‘PDOException’ with message ‘SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ’51-1′ for key ‘IDX_STOCK_PRODUCT”
This seems to insert the first record in my CSV file, but then fails on the next one.
Has something gone wrong with my database, or is this an issue with my script?
Thanks
Possibly Related Posts:
- Database query different results
- Menu highlight in magento under admin
- magento disable a banner on certain category pages or have a banner with multiple links
- Magento, using ACL for frontend. Possible?
- Magento IE-7 Fix In Windows XP
RSS Feed