-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Description
Preconditions
- PHP 7.0.11
- MySQL 5.6.30
- Magento 2.1.0 CE
- Ubuntu 14.04.1 LTS
Steps to reproduce
- Login to Magento admin panel
- Select "System" -> "Import"
- Entity type = "products", Import Behaviour = "Add/Update" - "Stop on error", Allowed errors count = "10", Field Seperator = ",", Multi value seperator ",", Select file to import = myfile, Image files directory = "pub/media/import/"
(Remove quotation marks).
Expected result
- .CSV should be validated successfully, with 4065 lines (not including headers). Then the products should be imported successfully after clicking "Import"
Actual result
My .CSV is encoded (Using Notepad++) in "UTF-8-BOM". I have also tried "UTF-8".
Magento has been updated to 2.1.0.
I have checked:
/var/log/apache2/error.log - No related entries
/var/log/mysql/error.log - No related entries
/var/www/html/magento/var/log/system.log - No related entries
/var/www/html/magento/var/log/debug.log - No related entries
/var/www/html/magento/pub/media/import has 777 permissions to rule out permission issue.
Images inside /var/www/html/magento/pub/media/import have 775 permissions to rule out permissions issue.
In php.ini - upload size is 8mb (.csv is only 4mb).
In php.ini - uploads are enabled
Aside from this, I don't understand the issue. My .CSV is valid because I have been able to import products before, and I can import 1 product at a time. When I try and import 4k+ I get the issue, but it's unfeasable to try and do it by batches of 100.
Thanks for your time