-
Notifications
You must be signed in to change notification settings - Fork 54
Description
MySQL 5.7.41
Magento 2.4
PHP 7.1
I took over a project that used Magmi to import data via the command line.
php
I've confirmed that the filename (${f}) provides the full path to the CSV.
/home/[domain]/public_html/[path]/import.csv
When Magmi runs, it doesn't import the data.
startup:Found 0 records, took 1.9073486328125E-5 sec
warning:No Records returned by datasource
end:Import Ended
I added some more logging to see where the problem might be.
-
The parameters are received by Magmi - $params in magmi_productimportengine.php. Imploding $params provides the full path to the file, mode is create.
-
In the same file, $this->getDataSource() appears to be empty. In function lookup() $this->datasource fails the is_object test.
-
Within getPluginInstance($family, $order = -1)...
if ($order < 0) {
$order += count($this->_activeplugins[$family]);
}
The result is $order = -1. So there are no active plugins? Could that be the issue?
For testing purposes, I've chmoded everything 777. File permissions shouldn't be an issue.
Any ideas for me? Thanks in advance.