controllers/admin.php
where
case 'text/csv':
change to
case 'text/csv':
case 'application/vnd.ms-excel':
in forms/csv_uploader.php
where
array( 'text/csv', 'application/zip'
change to
array('application/vnd.ms-excel', 'text/csv', 'application/zip'
that is all it is....
'text/csv', 'text/plain','application/csv','text/comma-separated-values', 'application/excel', 'application/vnd.ms-excel','application/vnd.msexcel','text/anytext','application/octet-stream', 'application/txt',
Hi Paul,
It is because the .csv file is detected as an application/vnd.ms-excel type. Just two simple changes and the upload works.
controllers/admin.php
where
case 'text/csv':
change to
case 'text/csv':
case 'application/vnd.ms-excel':
in forms/csv_uploader.php
where
array( 'text/csv', 'application/zip'
change to
array('application/vnd.ms-excel', 'text/csv', 'application/zip'
that is all it is....
So, you will find the files that Paul is talking about using ftp in the folder location
(root folder)/ow_plugins/csv_importer/controllers/admin.php
and
(root folder)/ow_plugins/csv_importer/forms/csv_uploader.php
I used Coffe Cup Direct ftp, which enable you to directly edit the files and save the changes to your remote file.
Thanks Paul, this got the CSV Importer working.
Well I give up. The progress bar is stuck at 0%. Cron jobs is running every minute and I am even kicking it off manually, just to see if it works.It can take some time, how many users are you trying to upload?
File is not being imported, also not your test file. I am going to try to use the importer plugin itself.
and
csv_importer/forms/csv_uploader.php
as per above mentioned points and try to uplaod csv file but didn't work for me.
Can you please let me know what exactly issue here, so its helpful for us,
Thanks
I want to help in this issue from your side, because you are used this plugin and worked for you. And let me know if any others change needed, so we can make it accordingly.
Thanks in advance