{"id":2531,"date":"2013-03-26T20:23:28","date_gmt":"2013-03-27T00:23:28","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2013\/03\/26\/311-fixing-the-an-unrecoverable-error-occurred-error-in-drupal\/"},"modified":"2023-12-07T14:46:39","modified_gmt":"2023-12-07T19:46:39","slug":"drupal-unrecoverable-error-occurred","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/","title":{"rendered":"Fixing the &#8220;An unrecoverable error occurred&#8221; error in Drupal"},"content":{"rendered":"<p>When installing a New Drupal installation or upgrading your Drupal you may experience the following error.<\/p>\n<p style=\"margin-left: 20px;\">&#8220;An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (32 MB) that this server supports.&#8221;<\/p>\n<h2>What causes this error?<\/h2>\n<p>There are several reasons this error may be thrown. There may be an issue with the <em>php.ini settings<\/em>, <em>conflicting .htaccess or settings.php code<\/em>, or you may be <em>flagging Apache&#8217;s mod_security<\/em>. Below are some fixes to this &#8220;<em>An unrecoverable error<\/em>&#8221; occurred error.<\/p>\n<h3>Checking the php.ini memory settings<\/h3>\n<p><a href=\"\/support\/website\/update-local-php-settings\/\">Edit your local PHP settings<\/a> to see if your file size settings are high enough for your Drupal to work. The following shows a typical file size settings<\/p>\n<pre style=\"margin-left: 20px;\">post_max_size = 128 MB upload_max_filesize = 32MB<\/pre>\n<p>You can increase the <em>post_max_size<\/em> and the <em>upload_max_filesize<\/em> to a higher number to see if this fixes the problem. You will need to <a title=\"Click here for info\" href=\"\/support\/website\/recursive-php-ini\/\" target=\"_blank\" rel=\"noopener\">make the php.ini recursive in the .htaccess<\/a> for the change to take effect.<\/p>\n<h3>Check the .htaccess or settings.php for conflicting code<\/h3>\n<p><a href=\"\/support\/website\/htaccess-file\/\">Edit the .htaccess<\/a> file to see if there are any overrides in the code. Some server configurations allow <em>.htaccess<\/em> settings to override your file upload size. <a href=\"\/support\/website\/comment-php-javascript-html-css-code\/\">Comment any code<\/a> that controls the files upload size and save the changes.<\/p>\n<p>The <em>settings.php<\/em> file also can hold overrides for the file upload size. <a href=\"\/support\/website\/find-config-files\/\">Edit the settings.php<\/a> directly on the server or you can change the settings through the Drupal dashboard by going to <strong>Administer &gt; Site configuration &gt; File uploads<\/strong> and updating the settings from there.<\/p>\n<h3>Apache mod_security is flagging bad code<\/h3>\n<p><a href=\"\/support\/security\/what-is-modsecurity-and-why-is-it-important\/\">Mod Security is an Apache Module<\/a> that scans incoming <em>http<\/em> requests for any malicious scripts. There may be an issue with the script causing mod_security to stop the script. In the event that mod_security is causing the error, you will need to contact <a title=\"Click here for how to contact support\" href=\"\/support\/amp\/how-to-get-great-technical-support\/\" target=\"_blank\" rel=\"noopener\">tech support<\/a> to have them look at the logs to see what is exactly causing mod_security to flag the uploaded file. You may need to <a href=\"\/support\/edu\/cpanel\/how-to-disable-modsecurity-cpanel\/\">Disable mod_security via cPanel Modsec Manager<\/a> on your specific domain if there is no work around. Otherwise, tech support will need do this for you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When installing a New Drupal installation or upgrading your Drupal you may experience the following error. &#8220;An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (32 MB) that this server supports.&#8221; What causes this error? There are several reasons this error may be thrown. There may be an issue with the<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/\"> Read More ><\/a><\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[372],"tags":[],"class_list":["post-2531","post","type-post","status-publish","format-standard","hentry","category-drupal"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Fixing the &quot;An unrecoverable error occurred&quot; error in Drupal | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"This article will explain the cause of the &quot;An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (32 MB) that this server supports&quot; error in Drupal.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fixing the &quot;An unrecoverable error occurred&quot; error in Drupal | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"This article will explain the cause of the &quot;An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (32 MB) that this server supports&quot; error in Drupal.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-03-27T00:23:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-07T19:46:39+00:00\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0ba9f3ef6fadef71df5aa120ff996c41\"},\"headline\":\"Fixing the &#8220;An unrecoverable error occurred&#8221; error in Drupal\",\"datePublished\":\"2013-03-27T00:23:28+00:00\",\"dateModified\":\"2023-12-07T19:46:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/\"},\"wordCount\":366,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"Drupal\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/\",\"name\":\"Fixing the \\\"An unrecoverable error occurred\\\" error in Drupal | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2013-03-27T00:23:28+00:00\",\"dateModified\":\"2023-12-07T19:46:39+00:00\",\"description\":\"This article will explain the cause of the \\\"An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (32 MB) that this server supports\\\" error in Drupal.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fixing the &#8220;An unrecoverable error occurred&#8221; error in Drupal\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0ba9f3ef6fadef71df5aa120ff996c41\",\"name\":\"InMotion Hosting Contributor\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/jamesr\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fixing the \"An unrecoverable error occurred\" error in Drupal | InMotion Hosting","description":"This article will explain the cause of the \"An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (32 MB) that this server supports\" error in Drupal.","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:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/","og_locale":"en_US","og_type":"article","og_title":"Fixing the \"An unrecoverable error occurred\" error in Drupal | InMotion Hosting","og_description":"This article will explain the cause of the \"An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (32 MB) that this server supports\" error in Drupal.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2013-03-27T00:23:28+00:00","article_modified_time":"2023-12-07T19:46:39+00:00","author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0ba9f3ef6fadef71df5aa120ff996c41"},"headline":"Fixing the &#8220;An unrecoverable error occurred&#8221; error in Drupal","datePublished":"2013-03-27T00:23:28+00:00","dateModified":"2023-12-07T19:46:39+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/"},"wordCount":366,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["Drupal"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/","name":"Fixing the \"An unrecoverable error occurred\" error in Drupal | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2013-03-27T00:23:28+00:00","dateModified":"2023-12-07T19:46:39+00:00","description":"This article will explain the cause of the \"An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (32 MB) that this server supports\" error in Drupal.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-unrecoverable-error-occurred\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Fixing the &#8220;An unrecoverable error occurred&#8221; error in Drupal"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0ba9f3ef6fadef71df5aa120ff996c41","name":"InMotion Hosting Contributor","url":"https:\/\/www.inmotionhosting.com\/support\/author\/jamesr\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=2531"}],"version-history":[{"count":4,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2531\/revisions"}],"predecessor-version":[{"id":108307,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2531\/revisions\/108307"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=2531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=2531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=2531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}