Magento custom model won't allow DB table changes

故事扮演 提交于 2019-11-30 18:42:06

Clear you cache. The Zend classes Magento uses to read database columns will cache that information (such that it's not necessary to do a DESCRIBE for each model load/save). Clear out your cache and Magento should see the new columns, and values will start persisting to the database.

Disabling cache in Magento admin panel seems not to be enough. You should delete the contents of /var/cache manually.

Run rm -rf var/cache/* from the console, as you wont be able to get through to the admin Cache Management screen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!