2014-12-04 78 views
0

突然我的opencart 1.5.5.1的結帳頁面停止工作。步驟1至6不打開或響應。結帳頁面無法運行opencart 1.5.5.1

Safari的錯誤控制檯得到滿足下列錯誤: 「[錯誤]語法錯誤:意外令牌‘<’」

這是鏈接。 http://supplementus.nl/index.php?route=checkout/checkout

奇怪的是,這種情況沒有任何改變的網站。

我還沒有在論壇或互聯網上找到任何答案,爲我工作。

請幫忙?

+1

當我不接受cookie時,結帳正常。當我點擊接受cookie時,結賬停止工作。 – 2014-12-04 15:01:42

+0

修復了這個問題。可能與Cookie模塊存在一些錯誤。謝謝 – enginy67 2014-12-04 15:26:54

回答

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號線附近