Magento Core Config Data Cache

2019-06-14 12:00发布

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条回答
ゆ 、 Hurt°
2楼-- · 2019-06-14 12:19

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

查看更多
登录 后发表回答