【问题标题】:Zencart producing errorsZencart 产生错误
【发布时间】:2012-01-11 00:26:39
【问题描述】:

我刚刚收到来自我的主机的一封电子邮件,说我的 zencart 出现错误并要求我修复它。他们也非常友好地提出以 60 英镑的价格为我解决问题。

我并不热衷于为我想知道如何解决自己的问题付费。但我不确定该怎么做。这是味精...

一旦您的网站在我们的网站上产生大量错误 服务器。请我们要求您尽快解决此错误 可能的 PHP 致命错误:require():需要打开失败 '包括/模板/yourtemplate/shopping_cart//google_analytics.php' (include_path='.:/hsphere/shared/apache/libexec/php5ext/php/') 在 /hsphere/local/home/*/tr**ts.com/includes/templates/yourtemplate/common/tpl_main_page.php 在第 186 行

我查看了第 186 行的 includes/templates/yourtemplate/common/tpl_main_page.php,但没有发现任何错误

可能是什么问题?

【问题讨论】:

    标签: php hosting zen-cart


    【解决方案1】:

    看起来好像没有正确安装 Google Analytics;它不应该指的是

    includes/templates/yourtemplate/shopping_cart/google_analytics.php
    

    因为这个文件不存在。 (建立 Google Analytics 的两个贡献都没有,没有理由为购物车页面创建一个特殊文件。)

    从第 186 行的 /includes/templates/yourtemplate/common/tpl_main_page.php 中删除该包含行。

    从 Zen Cart 免费软件插件获取最新的 Google Analytics 贡献:

    http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=412

    并安装它。

    【讨论】:

      【解决方案2】:

      问题可能是您的包含路径。检查那个。看起来谷歌分析出了点问题。如果没有代码示例,您将无法在此处获得任何其他帮助。

      【讨论】:

        猜你喜欢
        • 2012-03-21
        • 1970-01-01
        • 1970-01-01
        • 2013-07-30
        • 2016-08-10
        • 2018-11-01
        • 2017-04-11
        • 1970-01-01
        • 2012-08-03
        相关资源
        最近更新 更多