I am trying to get the import_asset_csv_to_matrix.php script to import about 1000 assets. I have a carefully created data-import.csv file, parent ID, Schema ID, metadata-associations.csv and asset-associations.csv files.
php /home/websites/squiz_matrix/scripts/import/import_asset_csv_to_matrix.php /home/websites/squiz_matrix/ news_item data-import.csv 9209 9210 metadata-associations.csv asset-associations.csv
When I run the script I get the following:
- All done Assets added : 0 Assets modified : 0 Assets deleted : 0
I can never get it to import anything.
It looks like on line 163 that the while loop only runs once which is really strange.
Is there a way to check errors for this script, or figure out why it isn't importing anything?
Any help would be great!