![]() |
Problem adding documents - 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: Problem adding documents (/thread-104.html) |
Problem adding documents - Stephen - 01-13-2010 arobins 2005-12-23 07:43:28 PST I just installed OpenDocMan on a RH9 server. I am able to upload cetain documents via the 'Add' function ok, however, for others, when I click the 'add document' button, I am receiving error "The page cannot be displayed" from Internet Explorer. I tried renaming the document (removing spaces, etc.), but there does not seem to be any pattern that I can see. Any similar experiences out there? Thanks. logart 2005-12-23 09:48:18 PST Check the file size. You may have a 2M limit in php. arobins 2005-12-30 12:14:27 PST I have upped the max filesize to 10meg. The file I'm trying to add is only 400k. arobins 2005-12-30 19:07:42 PST Finally figured it out. 1. In the opendocman directory, file config.php, modify the parameter "max_filesize" to the desired bytes. 2. In directory /etc, file php.ini, change parameters "upload_max_filesize", "post_max_size" and "memory_limit". Upload_max_filesize must be at least what you put in config.php. Post_max_size must be even larger and memory_limit must be largest. 3. In directory /etc/httpd/conf.d, file php.conf, parameter "LimitRequestBody" must also be at least the same size as the max_filezise in config.php. 4. restart httpd when done. |