InMotion Hosting Support Center

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 "Error: Could not load language common/maintenance!" at the top, provided you have the display error message feature enabled. Follow the instructions below as we guide you on how to fix this error in your OpenCart 1.5 store.

Could not load language common/maintenance! Error

  1. Log into your cPanel.
  2. From the main cPanel area, look for and open the File Manager tool.
  3. Navigate to your OpenCart program's root folder. For most, this will be the public_html folder. If you are using a subfolder ( you would need to enter that folder (public_html/shop).
  4. 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 catalog/language/english/common folder. Note: if you are using a language other than english, then be sure to use the apporpriately named folder for that language.
  5. Once inside the folder, you should notice there is no maintenance.php file. We will need to create one. Click on the New File button from the toolbar at the top of the screen.
  6. Name the new file maintenance.php and click on the Create New File button.
  7. The screen will refresh and you will see the file in the folder. Highlight the file and open it for editing.
  8. Now that you are in the file editor, copy and paste the following code in it to create a default maintenance page.
    // Heading
    $_['heading_title']    = 'Maintenance'; // Text
    $_['text_maintenance'] = 'Maintenance';
    $_['text_message']     = '<h1 style="text-align:center;">
    We are currently performing some scheduled maintenance. <br/>
    We will be back as soon as possible. Please check back soon.</h1>';
  9. Click the Save Changes button in the upper right to save the new file content. Now, your maintenance mode should display properly instead of getting the "Error: Could not load language common/maintenance!" message.
Was this article helpful?
Continued Education in Course OpenCart
You are viewing Section 16: 345: "Error: Could not load language common/maintenance!" in OpenCart 1.5
Section 15: 335: Adding a custom Stock Status to OpenCart 1.5
Section 17: 344: Editing your maintenance message in OpenCart 1.5

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved. Please click the button below to be redirected to the login page.

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!