{"id":2477,"date":"2013-03-01T15:49:42","date_gmt":"2013-03-01T20:49:42","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2013\/03\/01\/345-common-maintenance-error\/"},"modified":"2021-08-16T23:21:06","modified_gmt":"2021-08-17T03:21:06","slug":"common-maintenance-error-opencart","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/","title":{"rendered":"&#8220;Error: Could not load language common\/maintenance!&#8221; in OpenCart 1.5"},"content":{"rendered":"<p>When working with OpenCart, or any program, there is always the possibility for errors to occur. This article describes a particular error in OpenCart that occurs when <a href=\"\/support\/edu\/opencart\/enabling-maintenance-mode-in-opencart\/\">placing the OpenCart site into maintenance mode<\/a> due to a missing <em>maintenance.php<\/em> file. This results in a blank screen with &#8220;<em>Error: Could not load language common\/maintenance!<\/em>&#8221; at the top, provided you have the <a href=\"\/support\/edu\/opencart\/316-working-with-error-reporting-in-opencart\/\">display error message feature enabled<\/a>. Follow the instructions below as we guide you on how to fix this error in your OpenCart 1.5 store.<\/p>\n<h2>Could not load language common\/maintenance! Error<\/h2>\n<ol class=\"article_list\">\n<li><a href=\"\/support\/edu\/cpanel\/how-to-log-into-cpanel\/\" target=\"_blank\" rel=\"noopener noreferrer\">Log into your cPanel<\/a>.<\/li>\n<li>From the main cPanel area, look for and <a href=\"\/support\/edu\/cpanel\/using-file-manager-in-cpanel\/\" target=\"_blank\" rel=\"noopener noreferrer\">open the <strong>File Manager<\/strong> tool<\/a>.<\/li>\n<li>Navigate to your OpenCart program&#8217;s root folder. For most, this will be the <em>public_html<\/em> folder. If you are using a subfolder (<em>example.com\/shop<\/em>) you would need to enter that folder (<em>public_html\/shop<\/em>).<\/li>\n<li>Now that you are in the root folder, we must navigate to the folder where the missing file needs to be included. This is under the <strong>catalog\/language\/english\/common<\/strong> folder. <em>Note: if you are using a language other than english, then be sure to use the apporpriately named folder for that language.<\/em><\/li>\n<li>Once inside the folder, you should notice there is no <strong>maintenance.php<\/strong> file. We will need to create one. Click on the <strong>New File<\/strong> button from the toolbar at the top of the screen.<\/li>\n<li>Name the new file <strong>maintenance.php<\/strong> and click on the <strong>Create New File<\/strong> button.<\/li>\n<li>The screen will refresh and you will see the file in the folder. Highlight the file and <a href=\"\/support\/website\/how-to-edit-a-file\/\" target=\"_blank\" rel=\"noopener noreferrer\">open it for editing<\/a>.<\/li>\n<li>Now that you are in the file editor, copy and paste the following code in it to create a default maintenance page.<br \/> \n<div class=\"code_block\">&lt;?php<br \/>\/\/ Heading<br \/>$_[&#8216;heading_title&#8217;]\u00a0\u00a0\u00a0 = &#8216;Maintenance&#8217;; \/\/ Text<br \/>$_[&#8216;text_maintenance&#8217;] = &#8216;Maintenance&#8217;;<br \/>$_[&#8216;text_message&#8217;]\u00a0\u00a0\u00a0\u00a0 = &#8216;&lt;h1 style=&#8221;text-align:center;&#8221;&gt;<br \/>We are currently performing some scheduled maintenance. &lt;br\/&gt;<br \/>We will be back as soon as possible. Please check back soon.&lt;\/h1&gt;&#8217;;<br \/>?&gt;<\/div>\n<\/li>\n<li>Click the <strong>Save Changes<\/strong> button in the upper right to save the new file content. Now, your maintenance mode should display properly instead of getting the &#8220;Error: Could not load language common\/maintenance!&#8221; message.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>When working with OpenCart, or any program, there is always the possibility for errors to occur. This article describes a particular error in OpenCart that occurs when placing the OpenCart site into maintenance mode due to a missing maintenance.php file. This results in a blank screen with &#8220;Error: Could not load language common\/maintenance!&#8221; at the<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/\"> 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":[81],"tags":[],"class_list":["post-2477","post","type-post","status-publish","format-standard","hentry","category-opencart"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>&quot;Error: Could not load language common\/maintenance!&quot; in OpenCart 1.5 | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Getting an error that says Could not load language common\/maintenance!? Find out how to fix it with this OpenCart 1.5 tutorial.\" \/>\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\/opencart\/common-maintenance-error-opencart\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"&quot;Error: Could not load language common\/maintenance!&quot; in OpenCart 1.5 | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Getting an error that says Could not load language common\/maintenance!? Find out how to fix it with this OpenCart 1.5 tutorial.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/\" \/>\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-01T20:49:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T03:21:06+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=\"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\/opencart\/common-maintenance-error-opencart\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/\"},\"author\":{\"name\":\"Scott Mitchell\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed\"},\"headline\":\"&#8220;Error: Could not load language common\/maintenance!&#8221; in OpenCart 1.5\",\"datePublished\":\"2013-03-01T20:49:42+00:00\",\"dateModified\":\"2021-08-17T03:21:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/\"},\"wordCount\":376,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"OpenCart\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/\",\"name\":\"\\\"Error: Could not load language common\/maintenance!\\\" in OpenCart 1.5 | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2013-03-01T20:49:42+00:00\",\"dateModified\":\"2021-08-17T03:21:06+00:00\",\"description\":\"Getting an error that says Could not load language common\/maintenance!? Find out how to fix it with this OpenCart 1.5 tutorial.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"&#8220;Error: Could not load language common\/maintenance!&#8221; in OpenCart 1.5\"}]},{\"@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":"\"Error: Could not load language common\/maintenance!\" in OpenCart 1.5 | InMotion Hosting","description":"Getting an error that says Could not load language common\/maintenance!? Find out how to fix it with this OpenCart 1.5 tutorial.","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\/opencart\/common-maintenance-error-opencart\/","og_locale":"en_US","og_type":"article","og_title":"\"Error: Could not load language common\/maintenance!\" in OpenCart 1.5 | InMotion Hosting","og_description":"Getting an error that says Could not load language common\/maintenance!? Find out how to fix it with this OpenCart 1.5 tutorial.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2013-03-01T20:49:42+00:00","article_modified_time":"2021-08-17T03:21:06+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":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/"},"author":{"name":"Scott Mitchell","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed"},"headline":"&#8220;Error: Could not load language common\/maintenance!&#8221; in OpenCart 1.5","datePublished":"2013-03-01T20:49:42+00:00","dateModified":"2021-08-17T03:21:06+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/"},"wordCount":376,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["OpenCart"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/","name":"\"Error: Could not load language common\/maintenance!\" in OpenCart 1.5 | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2013-03-01T20:49:42+00:00","dateModified":"2021-08-17T03:21:06+00:00","description":"Getting an error that says Could not load language common\/maintenance!? Find out how to fix it with this OpenCart 1.5 tutorial.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/common-maintenance-error-opencart\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"&#8220;Error: Could not load language common\/maintenance!&#8221; in OpenCart 1.5"}]},{"@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\/2477","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=2477"}],"version-history":[{"count":3,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2477\/revisions"}],"predecessor-version":[{"id":84906,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2477\/revisions\/84906"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=2477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=2477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=2477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}