【问题标题】:Magento: Can't run dataflow profiles: Ajax Error (Uncaught TypeError: e is not a function)Magento:无法运行数据流配置文件:Ajax 错误(未捕获的 TypeError:e 不是函数)
【发布时间】:2016-01-20 18:57:54
【问题描述】:

每当我想在 Magento 中运行数据流配置文件时,都会发生以下情况:

  1. csv 文件加载成功
  2. 找到 X 行
  3. 出现以下行:Starting ... :: saveRow (handler-method)

但随后会发生 javascript 错误。例如,在 Chrome 调试器中,您可以查看详细信息(从第 148 行开始):

function sendImportData(data) { 
   ...
   new Ajax.Request("http://www.magentoshop.com/index.php/admin/system_convert_profile/batchRun/", { ...
   }
   ...
}

错误信息是:

Uncaught TypeError: e is not a function

使用的magento版本是1.8.0.0

【问题讨论】:

    标签: javascript php jquery ajax magento


    【解决方案1】:

    仅供参考。我们找到了原因: 我们为prototype.js 使用了一个缩小版本 然后我们将其更改为正常的原型版本,并且 ajax 请求有效。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-06-21
      • 1970-01-01
      • 1970-01-01
      • 2021-05-25
      • 1970-01-01
      • 1970-01-01
      • 2017-03-26
      • 2016-01-24
      相关资源
      最近更新 更多