Magento Core Config Data Cache

人走茶凉 提交于 2019-12-23 05:23:53

问题


I had some configuration data caching issues in my magento frontend that,

  • I cannot get new shipping rates/get template path hints/ etc..
  • core_config_data table get updated correctly and All backend data shown correcty.

I tried "Flush Magento Cache" button, cleaning <DocumentRoot>/tmp directory, cleaning var/cache directory

(This issue is noticed 2 weeks before and I moved the site to new VPS a month before)

Any ideas??


回答1:


Check file/folder permissions, the non-flushable, ever magically unchangable core_config_cache is usually the result of having your var/ folder tree unwritable somewhere so it all gets written to the system tmp folder.

Since the backend button only flushes contents in var/cache/, it will never touch anything in /tmp/* and you end up with this mysterious trait where it will change in the admin but the site will not read the config. I just had it happen last week on an upgrade where the permissions got changed.

Similar problem here with URLs that cannot be updated and screenshots of the system tmp cache

One of several posts on setting permissions for Magento to run



来源:https://stackoverflow.com/questions/18529059/magento-core-config-data-cache

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