magento invalid backend model specified giftmessage entity attribute backend boolean config

由于给magento瘦身 我禁用调很多模块 包括sale payment giftmessage等等 留下cms和产品展示等相关模块 加上full page cache全页缓存模块 这样速度就飞快了 那么问题来了 其中有一个invalid backend model specified giftmessage entity attribute backend boolean config 这是和eav相关的问题 由于禁用了giftmessage模块 数据库确依然存在对应的eav 所以出现了这样的问题 这样说来解决方案当然是清理数据库对应的记录 执行以下sql语句于eav_attribute 表 刷新缓存 编译等 问题解决。
SELECT *
FROM `eav_attribute`
WHERE (
`attribute_id` LIKE '%giftmessage%'
OR `entity_type_id` LIKE '%giftmessage%'
OR `attribute_code` LIKE '%giftmessage%'
OR `attribute_model` LIKE '%giftmessage%'
OR `backend_model` LIKE '%giftmessage%'
OR `backend_type` LIKE '%giftmessage%'
OR `backend_table` LIKE '%giftmessage%'
OR `frontend_model` LIKE '%giftmessage%'
OR `frontend_input` LIKE '%giftmessage%'
OR `frontend_label` LIKE '%giftmessage%'
OR `frontend_class` LIKE '%giftmessage%'
OR `source_model` LIKE '%giftmessage%'
OR `is_required` LIKE '%giftmessage%'
OR `is_user_defined` LIKE '%giftmessage%'
OR `default_value` LIKE '%giftmessage%'
OR `is_unique` LIKE '%giftmessage%'
OR `note` LIKE '%giftmessage%'
)
参考文章:http://www.learnmagento.org/magento-bug-fixes/invalid-backend-model-specified/
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值