![]() |
Error with xls file check in - Printable Version +- Community Support for OpenDocMan (Deprecated) (https://forum.opendocman.com) +-- Forum: OpenDocMan Community Discussion (https://forum.opendocman.com/forum-5.html) +--- Forum: OpenDocMan Support - Community Based (https://forum.opendocman.com/forum-6.html) +--- Thread: Error with xls file check in (/thread-19.html) |
Error with xls file check in - Stephen - 01-12-2010 Hi, I get this error while checking in xls files. Best Regards Fabio That file type is not currently supported. Please upload a document conforming to any of the following file types or add the missing MIMETYPE to config.php->allowedFileTypes: * image/gif * text/html * text/plain * application/pdf * application/x-pdf * application/x-lyx * application/msword * image/jpeg * image/pjpeg * image/png * application/msexcel * application/msaccess * text/richtxt * application/mspowerpoint * application/octet-stream * application/x-zip-compressed * image/tiff * image/tif * application/vnd.ms-powerpoint dalfonso Re: Error with xls file check in - Stephen - 01-12-2010 This solutipon I found elsewhere in the forum works! Thanks Tim *************** Nevermind, got it figured. (PHP rookie) However I had to play with the mime types in the config files for a while to get it right. It seems the magic combination for mimetypes is: 'application/excel', 'application/msexcel', 'application/x-msexcel', 'application/x-excel', 'application/vnd.ms-excel', Regards Tim *************** Fabio Re: Error with xls file check in - Stephen - 01-12-2010 I had the same problem but only using firefox on macosx. Firefox on mac (and only on mac) now uses a new mime type that you should add to your config_local.php file 'application/download' yeah yeah i know, but now it actually works. Cindy asai1 Re: Error with xls file check in - Stephen - 01-12-2010 I have a similar problem with PDF files. However, i can post some PDF files, but not all. What can cause this? asai1 |