【问题标题】:Magento syntax error when clicking on shipping method单击运输方式时出现 Magento 语法错误
【发布时间】:2014-09-24 18:09:54
【问题描述】:

我有一个 Magento 1.8 网上商店,每次我想添加产品并单击所需的运输方式时,我都会收到语法错误:无效字符。 我查看了萤火虫,我收到错误:SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data。 我在网上商店使用 onepagecheckout。 谢谢!

【问题讨论】:

  • 你发现了吗?

标签: json magento syntax checkout


【解决方案1】:

这可能是由于 JSON 的字符编码。通常会在 JSON 响应之前添加几个 BOM 字节(字节顺序标记),具体取决于服务器代码的编码。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-01-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-12-22
    • 1970-01-01
    • 2012-06-03
    • 1970-01-01
    相关资源
    最近更新 更多