2012-01-11 43 views
0

我刚收到来自主持人的电子邮件,说我的zencart出现错误并要求我修复它。他们也非常善意地为我解决这个问题,花费60英镑。Zencart出现错误

我不是那么渴望付给他们一些我想知道如何解决的问题。但我不知道该怎么做。这里的味精...

Once of your websites is producing a high load of errors on our server. Please could we ask you to address this error as quickly as possible PHP Fatal error: require(): Failed opening required 'includes/templates/yourtemplate/shopping_cart//google_analytics.php' (include_path='.:/hsphere/shared/apache/libexec/php5ext/php/') in /hsphere/local/home/*/tr**ts.com/includes/templates/yourtemplate/common/tpl_main_page.php on line 186

我看着在包括/模板/ yourtemplate /普通/ tpl_main_page.php上线186,但看不出什么毛病

还有什么问题呢?

回答

0

看起来好像Google Analytics(分析)安装不正确;它不应该指

includes/templates/yourtemplate/shopping_cart/google_analytics.php 

由于此文件不存在。 (设置Google Analytics的两个贡献都没有,并且没有理由为购物车页面设置特殊文件。)

从/ includes/templates/yourtemplate/common/tpl_main_page中删除该包含行。 PHP的在线186

得到Zen Cart的免费软件的最新谷歌分析的贡献附件这里补充:

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

并安装它。

0

问题可能是你的包含路径。检查一下。 Google Analytics(分析)看起来有些问题。如果没有代码示例,你不会在这里获得任何其他帮助。