【发布时间】:2012-12-04 11:53:23
【问题描述】:
好的,因为我向我们的网站应用了 SSL 证书,所以仪表板中的图表已经停止工作。我读了这个网站
编辑:忘记添加,我正试图在 magento 仪表板中让它工作。
http://www.phpro.be/blog/detail/magento-dashboard-charts-not-working
哪些声明要在 GetChartUrl() 函数中添加“true” app/design/adminhtml/default/default/template/dashboard/graph.phtml
这适用于不使用 SSL 的网站。
然后我找到了这个网站
但这应该为 SQL 注入和其他恶意攻击提供了机会。
接下来我找到了这个网站
http://store.ivvy.ru/blog/chartssl/
并按照说明进行操作,但图表仍然无法正常工作。
我尝试改变
const API_URL='http://chart.apis.google.com/chart';
对双方
const API_URL='//chart.apis.google.com/chart';
const API_URL='https://chart.apis.google.com/chart';
但都没有用。
任何人都可以指出任何其他示例/解释,或解释如何使其工作吗?
非常感谢
【问题讨论】:
标签: magento ssl charts google-api dashboard