InMotion Hosting Support Center
Click to see a full size image

After installing OpenCart, the next step is Logging into the OpenCart Admin Dashboard. The OpenCart Dashboard is where you can customize the look of your e-commerce website, as well as adding and editing products. In this tutorial we will show you how to Log into the OpenCart Dashboard.

Logging into the Open Cart Dashboard

  1. In a browser, pull up your OpenCart website.
  2. Add "/admin" to the end of the address. If your domain is, you would navigate to
    click to enlarge the image
  3. You will see the Dashboard login page. Enter your Username and Password, then click the Login button.
    click to enlarge the image

    You will then be on the main page of your OpenCart Dashboard.

Congratulations, now you know how to successfully login to the OpenCart Admin Dashboard!

Continued Education in Course 101: Installing OpenCart and Adding Products
You are viewing Section 3: How to Login to the OpenCart Dashboard
Section 2: Installing OpenCart Manually
Section 4: Configuring the general settings in OpenCart
n/a Points
2014-07-01 8:50 am

I deleted PrestaShop and installed OpenCart. When I try to log in, I get the following messages:


Notice: Trying to get property of non-object in /home/techme5/public_html/admin/index.php on line 43Warning: Invalid argument supplied for foreach() in /home/techme5/public_html/admin/index.php on line 43

28,382 Points
2014-07-01 9:21 am
Hello Gary,

If that is a fresh install of OpenCart I recommend reinstalling it. I have created a test version on my own server using the same version and am having no issues. My files and database appear to be identical in size to yours, so it is possible there is just a bit of corruption in your files.

Kindest Regards,
Scott M
n/a Points
2014-07-01 9:48 am

Hi Scott


I have reinstalled it four times with the same result, same warning, same failure to accept my username/password.

28,382 Points
2014-07-01 10:57 am
Hello Gary,

Thank you for that information. I did another test intall on the server (not your account) and it worked fine. I then did a test install on your account in a test folder and did receive the errors.

In checking, you have your .htaccess set to force php version 5.2 across your account. This file is located in your home directory (one above the public_html). There are a couple of things you can do.

If you want to keep the account set to firce 5.2 (not recommended but you may have your reasons) then you will need to add the following line to the .htaccess file in your public_html folder:
AddHandler application/x-httpd-php5 .php

This will force the default server version of 5.3 to the public_html folder. As that is the main folder, it will carry down to all other folders, so if you wish to have another subfolder run back on 5.2, you will need to add a .htaccess file to that particular folder and add the following line:
AddHandler application/x-httpd-php52 .php

The second option seems to be the better one. You can simply go to the .htaccess file in your home folder and either comment out the line by adding # at the front of it or remove the line altogether. Either way will cause your account to use the curent default version of php on the server which is 5.3.

My guess is that that .htaccess file was there back when it was needed as your server has been around long enough to have been upgraded a couple of times.

Kindest Regards,
Scott M
n/a Points
2014-07-01 11:17 am

The second option indeed sounds better. However, you lost me at the word "simply". I have no idea how to "go to the .htaccess file in your home folder".

28,382 Points
2014-07-01 11:44 am
Hello Gary,

You can edit that file via the File Manager in the cPanel. I have an article here to help you. One change, however. In step 3 it says to click on the button with your domain name in it. Ignore that advice and click on the option named 'Home Directory'. Once inside you can edit the file.

Kindest Regards,
Scott M
n/a Points
2014-07-01 12:08 pm

Thanks Scott,


I commented out the line and it is now working. It's been about 30 years since I did any programming. Things have certainly changed. I'm beginning to get the impression that I may need professional help... LOL

n/a Points
2014-07-11 6:35 pm
It is OK the way it is: clear, concise, to the point, easy.
n/a Points
2014-08-04 12:50 am



I have install opencart into my server and I lost every email and login pasword during installation. Do you able to help me to find which emaill address i used and password from PHPMYADMIN? How I reset password and email?


Please help. 

17,092 Points
2014-08-05 4:26 pm
Hello masum,

Thank you for your question. Here is a link to our helpful guide on how to reset your OpenCart Admin Password in phpMyAdmin.

You can also view/change the email address in Step 4 of the guide.

If you have any further questions, feel free to post them below.
Thank you,

n/a Points
2014-11-16 5:24 pm

hi there,So recently ive been unable to log into my admin account due to an error with my password and username. Even though i have not changed my password.Support sent me an email with an attchment so i could reset my password. I've tried many ways and been unable to reset it.Myabe im doing something wrong, but if you could help or have any advise on another way to reset my admin password that would be great Thank you.

25,386 Points
2014-11-17 12:07 pm
Hello Venus,

Sorry you're having problems with your OpenCart admin login. Since you have provided no account verification and because Support Center solution are posted to the public, we cannot reset the password for you. However, you can follow the directions in addin and Admin account via MySQL. This will allow you to create a new Admin account and then have access to login and reset the previous admin account.

I hope this helps to answer your question!

Arnel C.
n/a Points
2014-12-27 2:39 am

Don't forget to Delete "OpencartStore/install" folder after successful installation.?

i have deleted the install floder after installation . i could not get the admin page to log in. what to do mate?

25,386 Points
2014-12-29 12:22 pm
Hello Vijay,

Thanks for the question. Deleting the opencartstore/install folder would not have any affect on your admin login, unless you deleted more folders than you should have. If you look at your installation files using the cPanel File manager(or your favorite FTP client), the admin folder should be there. If it's not, then you probably need to re-install OpenCart. Typically, the Opencart admin login would be something like: If you put it in a subfolder, then it might look like:

I hope this helps to answer your question, please let us know if you require any further assistance.

Kindest regards,
Arnel C>
n/a Points
2015-04-13 11:53 am


Fatal error: Uncaught exception 'ErrorException' with message 'Error: MySQL server has gone awayError No: 2006UPDATE oc_currency SET value = '1.00000', date_modified = '2015-04-13 15:37:28' WHERE code = 'INR'' in /home/ussinuxm/public_html/ Stack trace: #0 /home/ussinuxm/public_html/ DBMySQLi->query('UPDATE oc_curre...') #1 /home/ussinuxm/public_html/ DB->query('UPDATE oc_curre...') #2/home/ussinuxm/public_html/ ModelLocalisationCurrency->updateCurrencies() #3 [internal function]: ControllerCommonHome->index()#4 /home/ussinuxm/public_html/ call_user_func_array(Array, Array) #5 /home/ussinuxm/public_html/ Front->execute(Object(Action)) #6 /home/ussinuxm/public_html/ Front->dispatch(Object(A in /home/ussinuxm/public_html/ on line 41

28,382 Points
2015-04-13 5:14 pm
Hello Manoj,

That error often occurs when you have maxed out your concurrent mysql connections. Did you install any extensions or have any other processed running at the time? Is it still occurring?

Kindest Regards,
Scott M

Post a Comment

Email Address:
Phone Number:

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

16 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!