Welcome Guest, Not a member yet? Register   Sign In
Uploader.php function _file_mime_type fails in CI 2.1
#14

[eluser]Narf[/eluser]
[quote author="bluepicaso" date="1332408714"][quote author="Narf" date="1332407837"][quote author="Djaka PM" date="1332313710"]Yup the new library still got it wrong. I think this issue only happens on *nix system.
Because when I did try my application on Windows it working correctly.
[/quote]

Can you give do some debugging and try to tell exactly what is failing?[/quote]

Simple try uploading a csv file,
mimes.php has the exact type but it just does not upload,
with valums server-side validation works too[/quote]

This doesn't tell anything other than "it doesn't work for me". Smile

Try dumping $this->upload->file_type after it fails and tell it's value. Also try editing the library and put some echo/var_dump/whatever somewhere in _file_mime_type() to see which detection method is used.


Messages In This Thread
Uploader.php function _file_mime_type fails in CI 2.1 - by El Forum - 02-10-2012, 12:16 PM
Uploader.php function _file_mime_type fails in CI 2.1 - by El Forum - 02-10-2012, 01:39 PM
Uploader.php function _file_mime_type fails in CI 2.1 - by El Forum - 02-10-2012, 07:16 PM
Uploader.php function _file_mime_type fails in CI 2.1 - by El Forum - 03-06-2012, 11:04 PM
Uploader.php function _file_mime_type fails in CI 2.1 - by El Forum - 03-07-2012, 02:42 AM
Uploader.php function _file_mime_type fails in CI 2.1 - by El Forum - 03-07-2012, 03:33 AM
Uploader.php function _file_mime_type fails in CI 2.1 - by El Forum - 03-20-2012, 05:36 AM
Uploader.php function _file_mime_type fails in CI 2.1 - by El Forum - 03-21-2012, 12:08 AM
Uploader.php function _file_mime_type fails in CI 2.1 - by El Forum - 03-21-2012, 01:48 AM
Uploader.php function _file_mime_type fails in CI 2.1 - by El Forum - 03-21-2012, 08:56 PM
Uploader.php function _file_mime_type fails in CI 2.1 - by El Forum - 03-21-2012, 10:11 PM
Uploader.php function _file_mime_type fails in CI 2.1 - by El Forum - 03-22-2012, 02:17 AM
Uploader.php function _file_mime_type fails in CI 2.1 - by El Forum - 03-22-2012, 02:31 AM
Uploader.php function _file_mime_type fails in CI 2.1 - by El Forum - 03-22-2012, 02:37 AM
Uploader.php function _file_mime_type fails in CI 2.1 - by El Forum - 05-05-2012, 12:18 AM
Uploader.php function _file_mime_type fails in CI 2.1 - by El Forum - 05-05-2012, 12:58 AM
Uploader.php function _file_mime_type fails in CI 2.1 - by El Forum - 05-06-2012, 09:38 AM
Uploader.php function _file_mime_type fails in CI 2.1 - by El Forum - 07-03-2012, 04:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB