dobratzp Posted August 24, 2010 Share Posted August 24, 2010 Within the last month or so, I'm having problems uploading on various WordPress blogs that I'm running on various TCH servers. This problem happens with WordPress 2.9.2, 3.0 and 3.0.1. Using the Flash uploader, it either just hangs after the progress bar hits 100% and says "Crunching..." Or I get The uploaded file exceeds the <code>upload_max_filesize</code> directive in <code>php.ini</code>. When I use the browser uploader, I either get "Error saving media attachment" or "Please Try Again." Is there something that couldn't have changed on the server that is causing this? In any case, I am seeing an error_log file with entries like the following: PHP Warning: POST Content-Length of 2088738 bytes exceeds the limit of 100 bytes in Unknown on line 0 When I originally setup the blogs, I set post_max_size and upload_max_filesize to 10MB (it defaults to 2MB). I'm not sure why PHP thinks I can only upload 100 bytes at a time and is no longer honoring the 10MB set limit or 2MB default limits for this. Has anyone else seen this behavior? Thanks, Peter Quote Link to comment Share on other sites More sharing options...
dobratzp Posted August 24, 2010 Author Share Posted August 24, 2010 Sure enough as soon as I post this, I figured out what was happening... I had the following in .htaccess php_value post_max_size 100M php_value upload_max_filesize 100M This used to work, but now it doesn't. Perhaps PHP was upgraded? If I get rid of the "M" and write out the size in bytes, everything works. php_value post_max_size 110000000 php_value upload_max_filesize 104857600 Quote Link to comment Share on other sites More sharing options...
TCH-Thomas Posted August 24, 2010 Share Posted August 24, 2010 Welcome to the forum, dobratzp. This used to work, but now it doesn't. Perhaps PHP was upgraded? There has been php upgrades recently, so please see this thread. Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted August 24, 2010 Share Posted August 24, 2010 Welcome to the forums dobratzp Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.