{"id":2874,"date":"2013-10-08T18:13:20","date_gmt":"2013-10-08T22:13:20","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2013\/10\/08\/fix-magic-quotes-error\/"},"modified":"2021-08-16T23:10:53","modified_gmt":"2021-08-17T03:10:53","slug":"fix-magic-quotes-error","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/fix-magic-quotes-error\/","title":{"rendered":"Fixing the magic_quotes error when installing Drupal 8"},"content":{"rendered":"<p>When manually installing Drupal 8, you may run across a common error after uploading the files. This error is in regrds to the magic_quotes settings of your server. If they are incorrect you will see an error message like this: <\/p>\n<div class=\"code_block\"> PHP&#8217;s &#8216;magic_quotes_gpc&#8217; and &#8216;magic_quotes_runtime&#8217; settings are not supported and must be disabled. <\/div>\n<h2>What does this error mean?<\/h2>\n<p>Don&#8217;t be alarmed. The error simply means that there are a couple of settings named <em>magic_quotes_gpc<\/em> and <em>magic_quotes_runtime<\/em> that need to be set to <em>Off<\/em> in order for the Drupal 8 Install program to run. These settings are located in your <em>php.ini<\/em> file and are easily disabled by following the instructions below.<\/p>\n<h2>How to turn off the magic_quotes settings in php.ini<\/h2>\n<ol class=\"article_list\">\n<li><a href=\"\/support\/edu\/cpanel\/how-to-log-into-cpanel\/\">Log into your cPanel<\/a>.\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li>Once in the main cPanel area, look for the <em>Files<\/em> category and click on the <strong>File Manager<\/strong>. Once inside, locate the <em>php.ini<\/em> file. This is generally located in the <em>public_html<\/em> folder.<\/li>\n<li><a href=\"\/support\/edu\/cpanel\/file-manager-code-editor\/\">Using the File Manager Code Editor<\/a>, open the file and look for the settings for <em>magic_quotes_gpc<\/em> and <em>magic_quotes_runtime<\/em>. Ensure they are set to <em>Off<\/em>. Additionally, ensure there is no semicolon (;) at the beginning of the line of code for the settings.\n<p> <strong>Before<\/strong> <\/p>\n<div class=\"code_block\">     ; magic_quotes_gpc On<br \/>     ; magic_quotes_runtime Off   <\/div>\n<div style=\"clear:both;\"><\/div>\n<p> <strong>After<\/strong> <\/p>\n<div class=\"code_block\"> magic_quotes_gpc Off<br \/>      magic_quotes_runtime Off<\/div>\n<div style=\"clear:both;\"><\/div>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li>After adjusting the settings appropriately, click on the <strong>Save Changes<\/strong> button in the upper right corner to save the new settings.\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<\/ol>\n<p>You should now be able to continue with installing Drupal 8 without issue by re-visiting your website. The error should now have disappeared.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When manually installing Drupal 8, you may run across a common error after uploading the files. This error is in regrds to the magic_quotes settings of your server. If they are incorrect you will see an error message like this: PHP&#8217;s &#8216;magic_quotes_gpc&#8217; and &#8216;magic_quotes_runtime&#8217; settings are not supported and must be disabled. What does this<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/fix-magic-quotes-error\/\"> Read More ><\/a><\/p>\n","protected":false},"author":8,"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-2874","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 magic_quotes error when installing Drupal 8 | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Learn how to fix the magic_quotes error when installing Drupal8.\" \/>\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\/fix-magic-quotes-error\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fixing the magic_quotes error when installing Drupal 8 | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Learn how to fix the magic_quotes error when installing Drupal8.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/fix-magic-quotes-error\/\" \/>\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-10-08T22:13:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T03:10:53+00:00\" \/>\n<meta name=\"author\" content=\"Scott Mitchell\" \/>\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=\"Scott Mitchell\" \/>\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\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/fix-magic-quotes-error\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/fix-magic-quotes-error\/\"},\"author\":{\"name\":\"Scott Mitchell\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed\"},\"headline\":\"Fixing the magic_quotes error when installing Drupal 8\",\"datePublished\":\"2013-10-08T22:13:20+00:00\",\"dateModified\":\"2021-08-17T03:10:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/fix-magic-quotes-error\/\"},\"wordCount\":281,\"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\/fix-magic-quotes-error\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/fix-magic-quotes-error\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/fix-magic-quotes-error\/\",\"name\":\"Fixing the magic_quotes error when installing Drupal 8 | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2013-10-08T22:13:20+00:00\",\"dateModified\":\"2021-08-17T03:10:53+00:00\",\"description\":\"Learn how to fix the magic_quotes error when installing Drupal8.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/fix-magic-quotes-error\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/fix-magic-quotes-error\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/fix-magic-quotes-error\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fixing the magic_quotes error when installing Drupal 8\"}]},{\"@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\/d850efb28ef3573db7d24b0d8fa9eaed\",\"name\":\"Scott Mitchell\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/scott\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fixing the magic_quotes error when installing Drupal 8 | InMotion Hosting","description":"Learn how to fix the magic_quotes error when installing Drupal8.","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\/fix-magic-quotes-error\/","og_locale":"en_US","og_type":"article","og_title":"Fixing the magic_quotes error when installing Drupal 8 | InMotion Hosting","og_description":"Learn how to fix the magic_quotes error when installing Drupal8.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/fix-magic-quotes-error\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2013-10-08T22:13:20+00:00","article_modified_time":"2021-08-17T03:10:53+00:00","author":"Scott Mitchell","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Scott Mitchell","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/fix-magic-quotes-error\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/fix-magic-quotes-error\/"},"author":{"name":"Scott Mitchell","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed"},"headline":"Fixing the magic_quotes error when installing Drupal 8","datePublished":"2013-10-08T22:13:20+00:00","dateModified":"2021-08-17T03:10:53+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/fix-magic-quotes-error\/"},"wordCount":281,"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\/fix-magic-quotes-error\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/fix-magic-quotes-error\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/fix-magic-quotes-error\/","name":"Fixing the magic_quotes error when installing Drupal 8 | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2013-10-08T22:13:20+00:00","dateModified":"2021-08-17T03:10:53+00:00","description":"Learn how to fix the magic_quotes error when installing Drupal8.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/fix-magic-quotes-error\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/fix-magic-quotes-error\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/fix-magic-quotes-error\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Fixing the magic_quotes error when installing Drupal 8"}]},{"@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\/d850efb28ef3573db7d24b0d8fa9eaed","name":"Scott Mitchell","url":"https:\/\/www.inmotionhosting.com\/support\/author\/scott\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2874","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\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=2874"}],"version-history":[{"count":3,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2874\/revisions"}],"predecessor-version":[{"id":84491,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2874\/revisions\/84491"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=2874"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=2874"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=2874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}