Welcome Guest, Not a member yet? Register   Sign In
Serious problem with file upload and MS Word docs in IE 7+
#1

[eluser]kelseyads2[/eluser]
I have tried searching the wiki and forums, and have tried several fixes that have not worked.

We have a web application that has a file upload for users to upload their resume. As such, we've allowed doc, pdf and text files with the following config:

Code:
$config['allowed_types'] = 'docx|doc|msword|mswrite|rtf|plain|pdf';

Originally it would not upload Word 2007+ documents at all. We've changed the mime types in the config/mime.php file to the following:

Code:
'docx'  =>  array('application/msword','application/vnd.openxmlformats-officedocument.wordprocessingml.document','application/octet-stream'),

That allows us to upload .doc and .docx files now in FF 3.6 Mac, but in Internet Explorer 7+ on XP and Vista we still cannot upload .docx files at all. We get the following error:

Quote:The filetype you are attempting to upload is not allowed.

This is a serious issue for us on a production site, and I'm catching a lot of heat to get it working. I tried removing the $config['allowed_types'] line hoping it would just allow all filetypes but it threw a different error.

Is there a workaround for this? I'm getting desperate -- I'd even hack the core CI code to get this fixed ASAP.

Any help would be GREATLY appreciated.


Messages In This Thread
Serious problem with file upload and MS Word docs in IE 7+ - by El Forum - 02-15-2010, 01:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB