我有magento 1.8
和magmi 0.7.18
。
我有一个文件,我用于导入,我只是编辑文件并重新保存(使用相同的名称),所以我不必创建一堆随机文件。我做了一些导入测试就是为什么我这样做。
当我运行导入时,它总是显示先前运行的导入结果,而不是我当前的运行...
其他人有此体验吗? 为什么要这样做,我该如何解决呢?
谢谢
除了问题:
好的......以这种方式重新进行测试。
Price1Change.csv – has 1 record
Price2Change.csv – has 2 records
Price3Change.csv – has 3 records
1. Restarted computer
2. Cleared Cache in Chrome
3. Opened magmi
4. Using current Default settings, selected “price3Change.csv” file and saved profile at bottom.
5. Clicked Run Import. Results showed 3 imported records (correct)
6. Clicked “Back To configuration” link at bottom of results
7. Changed file to “price2Change.csv” and saved profile at bottom.
8. Clicked Run Import. Results showed 2 imported records (correct)
9. Clicked “Back To Configuration” link at bottom of results
10. Changed file to “price1Change.csv” and saved profile at bottom.
11. Clicked Run Import. Results showed 2 imported records and the filename listed was “price2Change.csv” (incorrect).
12. Clicked “Back To Configuration” link at bottom of results
13. Changed file to “price3Change.csv” and saved profile at bottom.
14. Clicked Run Import. Results showed 1 imported records and the filename listed was “price1Change.csv” (incorrect).
我重复了两次,以确保我没有错过任何东西。这两次当我使用price1Change.csv文件运行导入时,它显示了之前运行“price2Change.csv”的结果。
这让我想知道它是否与SKU
文件中的price1Change.csv
有关,所以我关闭了所有内容,清除了缓存,并在price2Change.csv
和{price3Change.csv
之间运行了magmi {1}}来回多次。
它似乎每次都有用。
然后,在关闭所有内容并清除缓存之后,我返回并运行了上述14个步骤。
它一直没有问题。
......所以我在price1Change.csv
...
I then changed to `price2Change.csv`, saved profile, ran import, and it showed me results for the prior `price1Change.csv` run I did. (incorrect)
I then changed to `price3Change.csv`, saved profile, ran import, and it showed 3 records imported (correct).
I then changed to `price1Change.csv`, saved profile, ran import, and it showed 3 records imported… results from prior run (incorrect).
I then changed to `price2Change.csv`, saved profile, ran import, and it showed 2 records imported (correct).
I then changed to `price1Change.csv`, saved profile, ran import, and it showed 2 records imported… results from prior run (incorrect).
I then changed to `price3Change.csv`, saved profile, ran import, and it showed 1 records imported and the file as “price1Change.csv” (incorrect).
I then changed to `price2Change.csv`, saved profile, ran import, and it showed 2 records imported (correct).
I then changed to `price1Change.csv`, saved profile, ran import, and it showed 2 records imported… results from prior run (incorrect).
I then changed to `price3Change.csv`, saved profile, ran import, and it showed 1 records imported and the file as `price1Change.csv` (incorrect).
I then changed to `price2Change.csv`, saved profile, ran import, and it showed 2 records imported (correct).
I then changed to `price3Change.csv`, saved profile, ran import, and it showed 3 records imported (correct).
I then changed to `price2Change.csv`, saved profile, ran import, and it showed 2 records imported (correct).
I then changed to `price3Change.csv`, saved profile, ran import, and it showed 2 records imported and the file as `price2Change.csv` (incorrect).
然后我关闭所有内容,清除缓存,选择price2Change.csv
,保存配置文件,运行导入,显示2
记录(正确)。
然后我改为price1Change.csv
,保存个人资料,运行导入,并显示1条记录(正确)..
我在price2Change.csv
和price1Change.csv
之间来回走了几次,他们在几轮中显示正确的记录,然后在某些时候显示不正确。我想这可能是我第3次从2档到1档......
有一次我认为它可能与文件1和3中的sku有关b / c它有一个前导0,所以我又创建了一个有4条记录的文件price4Change.csv
,其中没有一条领先0 SKU
(而price2Change.csv
也没有。)
Ran with “price2Change.csv”, Back to Configuration, showed 2 records (correct)
Ran with “price4Change.csv”, Back to Configuration, showed 4 records (correct)
Ran with “price2Change.csv”, Back to Configuration, showed 2 records (correct)
Ran with “price4Change.csv”, Back to Configuration, showed 4 records (correct)
Ran with “price2Change.csv”, Back to Configuration, showed 2 records (correct)
Ran with “price4Change.csv”, Back to Configuration, showed 4 records (correct)
Ran with “price2Change.csv”, Back to Configuration, showed 4 records (incorrect)
Ran with “price4Change.csv”, Back to Configuration, showed 2 records (incorrect)
Ran with “price2Change.csv”, Back to Configuration, showed 2 records (correct)
Ran with “price4Change.csv”, Back to Configuration, showed 4 records (correct)
Ran with “price2Change.csv”, Back to Configuration, showed 2 records (correct)
Ran with “price4Change.csv”, Back to Configuration, showed 4 records (correct)
我不知道它在做什么......我不知所措。
你有什么想法吗?
我认为它实际上是在进行导入/更新,但是当您看到的结果不是您刚刚运行的导入时,它只是令人困惑/可怕。 如果我必须进行简单的产品价值更新,我可以连续两次运行导入,但如果我正在进行实际的新产品导入,我无法运行两次b / c我猜这可能会产生重复或其他一些错误的数据......
我有几个人说他们已经体验过这个并认为这可能与php会话有关,但我真的没有任何答案。
感谢您的帮助......
答案 0 :(得分:0)
当我为一个插件做了大量的热门和试用修复时,我也遇到了类似的问题,我使用Markdown来编写描述样式。我最终在var / import文件夹中有很多文件,在最后阶段我不需要,所以我决定删除它们。
当我只保留导入文件夹中的最后4个文件并运行导入时,我遇到一个错误,说该文件不存在,并且它在错误上显示的名称是服务器上不再存在的文件之一。但是,下拉列表显示正确的文件名,在它旁边,如果我点击下载CSV,它会下载正确的文件。
我和你一样尝试,保存个人资料,重新运行,尝试不同的浏览器,没有任何效果!
最后,我点击了Save Global Profile,感到沮丧并重新导入导入。有效!我不确定我发布这个答案是否为时已晚,但也许将来有人会因此而节省数小时的头痛。