Community Support for OpenDocMan (Deprecated)
Unable to upload Documents - Printable Version

+- Community Support for OpenDocMan (Deprecated) (
+-- Forum: OpenDocMan Community Discussion (
+--- Forum: OpenDocMan Support - Community Based (
+--- Thread: Unable to upload Documents (/thread-433.html)

Unable to upload Documents - lloydda - 06-29-2011

I am unable to add any document types to the OpenDocMan. I get the error please upload a valid document, I have modified the config.php to allow word, excel and powerpoint as described on another post, but I get the error on any file type I use, a text.txt file for example.

My config.php looks like:

$GLOBALS['allowedFileTypes'] = array('image/gif', 'text/html', 'text/plain', 'application/pdf', 'application/x-pdf', 'application/x-lyx', 'application/msword', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', '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/','application/');

Is there a reson why this string is being ignored

Re: Unable to upload Documents - Stephen - 06-29-2011

Check the right-side of the blue status bar after you try to upload a file. If it fails, it should display the filetype information that needs to be added (example: text/somefiletype).

Re: Unable to upload Documents - lloydda - 06-30-2011

I found the problem and have now resolved it.

basically it was a previlidges issue upload_tmp_dir="C:\WINDOWS\Temp" set this folder to everybody and now works