结帐页面不起作用opencart 1.5.5.1

时间:2014-12-04 14:58:35

标签: php opencart checkout

突然,我在opencart 1.5.5.1上的结帐页面停止工作。步骤1到6不会打开或回复。

safari错误控制台遇到以下错误: “[错误] SyntaxError:意外的标记'<'”

这是链接。 http://supplementus.nl/index.php?route=checkout/checkout

奇怪的是,这种情况在网站上没有任何变化。

我在论坛或互联网上没有找到任何有效的答案。

请帮帮忙?

1 个答案:

答案 0 :(得分:2)

您在另一个<script>代码中有<script>个标记:

<script type="text/plain" class="cc-onconsent-analytics">
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-57249836-1', 'auto');
  ga('send', 'pageview');

</script> </script>

删除内部<script></script>标记。

此代码位于第95行附近的头顶附近

相关问题