导入数据后Magento报错 - Invalid backend model specified: catalog/product_attribute_backend_startdate_specialprice

现象:安装旧版magento1.7程序后导入之前导出的mysql数据库文件,访问产品页提示 Invalid backend model specified: catalog/product_attribute_backend_startdate_specialprice

尝试:

1.SELECT backend_model FROM eav_attribute WHERE attribute_code = 'special_from_date'; # 执行数据库查询

2.catalog/product_attribute_backend_startdate_specialprice # 如果返回结果是这个

3.UPDATE eav_attribute SET backend_model = 'catalog/product_attribute_backend_startdate' WHERE attribute_code = 'special_from_date'; # 更新到 catalog/product_attribute_backend_startdate

参考:https://magento.stackexchange.com/questions/54271/invalid-backend-model-specified-catalog-product-attribute-backend-startdate-spe

标签: magento

添加新评论