Magento Core Config数据缓存 [英] Magento Core Config Data Cache

查看:71
本文介绍了Magento Core Config数据缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的magento前端中存在一些配置数据缓存问题,

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

  • 我无法获得新的运费/获取模板路径提示/等.
  • core_config_data表正确更新,并且所有后端数据正确显示.
  • I cannot get new shipping rates/get template path hints/ etc..
  • core_config_data table get updated correctly and All backend data shown correcty.

我尝试了刷新Magento缓存"按钮,清理了<DocumentRoot>/tmp目录,清理了var/cache目录

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

(此问题已在2周前发现,我一个月前将网站移至了新的VPS)

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

任何想法?

推荐答案

检查文件/文件夹权限,不可刷新,不可更改的core_config_cache通常是由于您的var/文件夹树在某处不可写而导致的,所以都将其写入到系统的tmp文件夹.

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.

由于后端按钮仅刷新var/cache/中的内容,因此它将永远不会触及/tmp/*中的任何内容,并且您最终会遇到这种神秘的特征,即该特征会在admin中更改,但该站点将无法读取配置.上周,我刚进行了一次升级,更改了权限.

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.

类似无法更新的网址和系统tmp缓存的屏幕截图在这里出现问题

有关设置Magento的运行权限的几则帖子之一

这篇关于Magento Core Config数据缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆