{"id":779,"date":"2012-04-10T21:52:06","date_gmt":"2012-04-11T07:52:06","guid":{"rendered":"http:\/\/mymonkeydo.com\/?p=779"},"modified":"2012-04-10T21:52:06","modified_gmt":"2012-04-11T07:52:06","slug":"media-uploader-crunching-issue","status":"publish","type":"post","link":"https:\/\/mymonkeydo.com\/media-uploader-crunching-issue\/","title":{"rendered":"Media Uploader Crunching Issue"},"content":{"rendered":"

Problem<\/h2>\n

WordPress has a bug. \u00a0When uploading an image (even a small, \u00a01KB image) the Media uploader stalls and freezes in when Crunching is 100%. \u00a0 This problem happens in both the flash and html uploader. \u00a0In the HTML uploader you can see a 500 Internal Server Error.<\/p>\n

 <\/p>\n

Solution<\/h2>\n

There are 2 different problems that can cause this issue.<\/p>\n

One is your server or hosting provider. \u00a0GoDaddy has since said they have fixed this issue<\/a>. \u00a0However, when I contacted support they said to disable Fast CGI for PHP. \u00a0I responded with a link to the article above. \u00a0They then helped me out by telling me to update my php5.ini or php.ini file. \u00a0 You’ll find that this solution was found on the WordPress forums also where you set the memory_limit and max_execution_time higher. \u00a0So in your php.ini or php5.ini if you use php5 (that’s important! \u00a0trust me, I’ve been frustrated with that before) add the following lines:
\nmax_execution_time = 600
\nmemory_limit =128M
\nupload_max_filesize = 2M<\/p>\n

Adjust as needed. \u00a0You may also have to End your Web Process to quickly see changes. \u00a0See godaddy support forums for this.<\/p>\n

The 2nd issue with this bug is a more frustrating and disappointing one. \u00a0I found out that WordPress uses the delete_posts capability to determine whether a user can delete a media file or not. \u00a0Well, guess what, it also uses the edit_posts capability when it crunches<\/strong> the file too. \u00a0So if you have a problem where only the Administrator can upload media files fine, check your user’s capabilities. \u00a0On a side note, to delete media the user needs the delete_posts capability.<\/p>\n

 <\/p>\n

 <\/p>\n

 <\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[2],"tags":[24,29,54,64],"yoast_head":"\nMedia Uploader Crunching Issue - My Monkey Do<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mymonkeydo.com\/media-uploader-crunching-issue\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Media Uploader Crunching Issue - My Monkey Do\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mymonkeydo.com\/media-uploader-crunching-issue\/\" \/>\n<meta property=\"og:site_name\" content=\"My Monkey Do\" \/>\n<meta property=\"article:published_time\" content=\"2012-04-11T07:52:06+00:00\" \/>\n<meta name=\"author\" content=\"Webhead\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Webhead\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mymonkeydo.com\/media-uploader-crunching-issue\/\",\"url\":\"https:\/\/mymonkeydo.com\/media-uploader-crunching-issue\/\",\"name\":\"Media Uploader Crunching Issue - My Monkey Do\",\"isPartOf\":{\"@id\":\"https:\/\/mymonkeydo.com\/#website\"},\"datePublished\":\"2012-04-11T07:52:06+00:00\",\"dateModified\":\"2012-04-11T07:52:06+00:00\",\"author\":{\"@id\":\"https:\/\/mymonkeydo.com\/#\/schema\/person\/b16fc650a8c182faaac896bab099b829\"},\"breadcrumb\":{\"@id\":\"https:\/\/mymonkeydo.com\/media-uploader-crunching-issue\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mymonkeydo.com\/media-uploader-crunching-issue\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/mymonkeydo.com\/media-uploader-crunching-issue\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/mymonkeydo.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Media Uploader Crunching Issue\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mymonkeydo.com\/#website\",\"url\":\"https:\/\/mymonkeydo.com\/\",\"name\":\"My Monkey Do\",\"description\":\"A Log of Coding Solutions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/mymonkeydo.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/mymonkeydo.com\/#\/schema\/person\/b16fc650a8c182faaac896bab099b829\",\"name\":\"Webhead\",\"url\":\"https:\/\/mymonkeydo.com\/author\/corey\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Media Uploader Crunching Issue - My Monkey Do","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mymonkeydo.com\/media-uploader-crunching-issue\/","og_locale":"en_US","og_type":"article","og_title":"Media Uploader Crunching Issue - My Monkey Do","og_url":"https:\/\/mymonkeydo.com\/media-uploader-crunching-issue\/","og_site_name":"My Monkey Do","article_published_time":"2012-04-11T07:52:06+00:00","author":"Webhead","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Webhead","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/mymonkeydo.com\/media-uploader-crunching-issue\/","url":"https:\/\/mymonkeydo.com\/media-uploader-crunching-issue\/","name":"Media Uploader Crunching Issue - My Monkey Do","isPartOf":{"@id":"https:\/\/mymonkeydo.com\/#website"},"datePublished":"2012-04-11T07:52:06+00:00","dateModified":"2012-04-11T07:52:06+00:00","author":{"@id":"https:\/\/mymonkeydo.com\/#\/schema\/person\/b16fc650a8c182faaac896bab099b829"},"breadcrumb":{"@id":"https:\/\/mymonkeydo.com\/media-uploader-crunching-issue\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mymonkeydo.com\/media-uploader-crunching-issue\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/mymonkeydo.com\/media-uploader-crunching-issue\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mymonkeydo.com\/"},{"@type":"ListItem","position":2,"name":"Media Uploader Crunching Issue"}]},{"@type":"WebSite","@id":"https:\/\/mymonkeydo.com\/#website","url":"https:\/\/mymonkeydo.com\/","name":"My Monkey Do","description":"A Log of Coding Solutions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mymonkeydo.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/mymonkeydo.com\/#\/schema\/person\/b16fc650a8c182faaac896bab099b829","name":"Webhead","url":"https:\/\/mymonkeydo.com\/author\/corey\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/mymonkeydo.com\/wp-json\/wp\/v2\/posts\/779"}],"collection":[{"href":"https:\/\/mymonkeydo.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mymonkeydo.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mymonkeydo.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mymonkeydo.com\/wp-json\/wp\/v2\/comments?post=779"}],"version-history":[{"count":0,"href":"https:\/\/mymonkeydo.com\/wp-json\/wp\/v2\/posts\/779\/revisions"}],"wp:attachment":[{"href":"https:\/\/mymonkeydo.com\/wp-json\/wp\/v2\/media?parent=779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mymonkeydo.com\/wp-json\/wp\/v2\/categories?post=779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mymonkeydo.com\/wp-json\/wp\/v2\/tags?post=779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}