简体   繁体   English

Magento导出错误500

[英]Magento export error 500

When I try to export about 1200 product with the Export > Data Profile > Export all tool, it throws an error 500. 当我尝试使用“导出”>“数据配置文件”>“全部导出”工具来导出大约1200种产品时,它将引发错误500。

When I do the same thing with just one group of products, it works out fine. 当我只使用一组产品执行相同的操作时,效果很好。

My Server Setup: 我的服务器设置:

log_errors  On  
max_execution_time  36000
max_input_time  300
max_input_vars  10000
memory_limit    1024M

It says I should look in the error log, but there are no errors showing. 它说我应该查看错误日志,但是没有错误显示。 I am running out oof things to test here. 我要在这里测试所有东西。 Could it be some broken product? 可能是一些坏货吗?

app/code/core/Mage/ImportExport/Model/Export/Entity/Product.php app / code / core / Mage / ImportExport / Model / Export / Entity / Product.php

line: 873 线:873

$dataRow += $stockItemRows[$productId]; $ dataRow + = $ stockItemRows [$ productId];

In order to update the code to: 为了将代码更新为:

$dataRow = array_merge($dataRow,$stockItemRows[$productId]); $ dataRow = array_merge($ dataRow,$ stockItemRows [$ productId]);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM