Import csv file - 500 error with big file

Hello, with a little file, I succeed in importing csv file, but the big file occurs an 500 error with no data importing. Is it possible to have a log error explanation of 500

Thank you

Hello @Belette64
Could you please provide us with some more details about the issue? We would appreciate it if you could share the exact error message so that we can investigate it further.

Hello Alex! I have only 500 error when I execute import job csv. It works with a little csv but not with a big file 70Mb wich have the same structure. There is no message error, only 500

Hello @Belette64
This error is probably related to php server configurations. so look into the error file from your apache configuration (default: /var/log/apache2/error.log). it is possible that memory limit is exceeded.
After you get the error you can tell us and we will tell you how to fix it.
Thanks.

I think there is a problem with import csv file without double quote separator because it works fine when I save csv file with double quote

Log.ERROR: Uncaught Exception Laminas\HttpHandlerRunner\Exception\EmitterException: “Output has been emitted previously; cannot emit response” at /home/anguis/www/atrocore15/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php line 21 {“exception”:“[object] (Laminas\HttpHandlerRunner\Exception\EmitterException(code: 0): Output has been emitted previously; cannot emit response at /home/anguis/www/atrocore15/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php:21)”}

That EmitterException is usually a secondary symptom: something wrote output before AtroCore could send the response, often a PHP warning/notice or a fatal such as memory exhaustion/timeout. Check the PHP/Apache error log at the exact import time, not only the app log, and try a much smaller copy of the unquoted CSV. If the small unquoted file imports, the 70 MB size and the quoting/parsing edge case are likely combining; raising memory_limit/max_execution_time or importing in batches/CLI would help isolate it.