[eluser]Unknown[/eluser]
I had the same issue when uploading csv files and the following solution worked for me.
[quote author="kanhai" date="1343032979"]I did some debugging and found that in the is_allowed_filetype function in line 624 for a csv file the $this->file_type returns text/plain where as when I check in the $_FILES["file"]["type"] it returns text/csv
I added the text/plain in the csv array in the application/config/mime.php file and it started working,
what I am wondering is that is this a bug? and should I file a bug report for this?
There are two possible solutions
1. Find out why there is this difference in these two and fix it (this feels the correct way to solve this)
2. just add text/plain in the csv array in mimes.php file (this seems the easy way, not sure if this is correct).
I could file a bug and suggest that we should add the text/plain in the csv array anyway in the next build.
Kanhai Chhgani[/quote]