cant load documents over 2mb - 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: cant load documents over 2mb (/thread-55.html) |
cant load documents over 2mb - Stephen - 01-12-2010 iomperkins 2008-08-11 17:47:26 PDT I have an issue uploading files over 2mb. I found the other thread where this is mentions and have amended the php.ini & config.php settings as suggested there. php.ini now has max_execution_time = 60 max_input_time = 75 memory_limit = 100M post_max_size = 25M config.php has 'max_filesize' => '25000000000' but all i get when I try to load a file over 2mb in is 'page cannot be displayed' with add.php in the address bar. host - windows 2003 & iis6 php - v5.2.6.6 ODM - v1.2.5 any help would be appreaciated paul jonathanwminer 2008-08-12 05:33:55 PDT I would check the web server logs for additional clues... Besides the settings that you listed, here are more that may apply (taken from my Linux/Apache configuration): /etc/php.ini file_uploads = On upload_max_filesize = 100M /etc/httpd/conf.d/php.conf LimitRequestBody 104857600 iomperkins 2008-08-12 13:22:09 PDT jonathan as I'm running on a windows host i dont have the php.conf to edit. file_uploads = on is already set & increasing the upload_max_filesize to 100M doesnt amke any difference. any other ideas, anyone ? paul jonathanwminer 2008-08-12 13:53:22 PDT Paul - I was just suggesting that there might be another parameter that needs to be tweaked. Considering that there is an Apache-specific value in php.conf... there may an IIS-specific parameter stored somewhere. Hopefully someone who also is unfortunate enough to run IIS has already found this... I did do a Google search for "iis file uploads", and several documents talk about editing the "MetaBase.xml" file to change the AspMaxRequestEntityAllowed attribute from it's default value of 200kb. - Jon iomperkins 2008-08-12 14:13:55 PDT googled php+iis+upload found this link <!-- m --><a class="postlink" href="http://www.gleamtech.com/support/forums/showthread.asp?TID=795">http://www.gleamtech.com/support/forums ... sp?TID=795</a><!-- m --> have tried that and wil see what happens and post if it works paul iomperkins 2008-08-12 14:19:00 PDT that has resolved the problem. paul |