【问题标题】:Enable Magento Varien_Profiler in frontend area在前端区域启用 Magento Varien_Profiler
【发布时间】:2014-08-28 20:39:10
【问题描述】:

如何在前端区域启用 Magento Profiler?

我设置了管理员选项,在我的 index.php 中取消注释 Varien_Profiler::enable(); 并清除了缓存,并验证了这一点,但分析器结果只显示在管理员中?

Profiler 在System > Configuration > Developer 的默认配置范围内启用,并且 Developer IP Restrictions 为空。

我还错过了什么吗?

【问题讨论】:

  • 遇到同样的问题。你有没有解决过这个问题?
  • 我最终只是进行了全新安装。问题没有再次出现。

标签: magento frontend profiler


【解决方案1】:

您不仅要设置 Profiler,还要设置配置范围。每个范围都有一个分析器设置。在 admin 中查看左上角的选择框(当前配置范围)。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-09-25
    • 1970-01-01
    • 1970-01-01
    • 2014-04-07
    • 2015-04-01
    • 2022-09-15
    • 1970-01-01
    • 2013-08-31
    相关资源
    最近更新 更多