magento, error when reindexing Catalog URL Rewrites

后端 未结 3 1595
执笔经年
执笔经年 2021-01-07 13:24

All this afte rupgrading from 1.4.1

I get a quite specific error message:

Next exception \'Zend_Db_Statement_Exception\' with message \'SQLSTA

3条回答
  •  北海茫月
    2021-01-07 14:19

    @perler, here is a MySQL query to detect duplicate SKUs. Remember, if you prefixed your tables, change catalog_product_entity accordingly!

    SELECT
        DISTINCT(`sku`) as `sku`,
        COUNT(`sku`) as `skuCount`,
        entity_id
    FROM
        catalog_product_entity
    GROUP BY
        `sku`
    HAVING
        `skuCount` > 1;
    

提交回复
热议问题