I can't login to the Admin after installing Zen Cart

In most cases of difficulties logging in to the Admin area, the problem is one of:

  1. Admin pages won't show at all, or show without styling.
    In this case, try temporarily renaming the /admin/.htaccess file to htaccess_bak to see if things operate differently.
    If they do, then you need to work with your webhost to find the right way to use the supplied .htaccess security protections on your site.

  2. Something may be wrong with the way your site is configured to handle PHP "sessions". This is more difficult to resolve. 
    1. Start by clearing your browser cache and clearing all cookies. ** THIS IS THE MOST COMMON PROBLEM **
    2. If you are using Safari for your browser, make sure you're not using "Private Browsing" mode.
    3. Then check to be sure that you do NOT have any software firewall applications running on your PC, as they may have been set to "disable session cookies". 
    4. Also, make sure your browser IS allowed to accept cookies, esp from your own domain. Cookie-blocking will break your Admin area.
    5. Check your server's errorlog to determine if any errors are occurring at the time of the failure to login.
    6. If you are using "www." in your URL on one page and *not* using "www." in the URL on another page, you may have problems. This related FAQ may help: How do I force use of "www." in my URL if customers don't type it?
    7. Try the suggestions in this related FAQ article: http://tutorials.zen-cart.com/index.php?article=281
  3. Apart from browser cache and cookies problems, the most common problem is not having the HTTPS address correct in your /admin/includes/configure.php  file.
  4. See: http://tutorials.zen-cart.com/index.php?article=14

  5. If your admin password has been forgotten, or if you've done an admin password reset but forgot what the new password was, you'll have to reset the password via the database. See the FAQ for resetting the Admin password to default.
  6. If you've installed your site into a folder whose name contains spaces, rename the folder so that it doesn't have spaces anymore. Update your configure.php files accordingly.

If these suggestions don't work, note them, and post to the forum listing what steps you've already taken.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How can I find out what version of Zen Cart or PHP or MySQL I'm using?

To find out what version of Zen Cart or PHP or MySQL you are currently using, you can simply go...

Getting a BLANK PAGE? Here's the answer ...

If you're getting a blank page when trying to browse to a certain page on your store, or after...

What's New in the Upcoming v2.0 release?

Database Abstraction Layer and Sql CacheThe abstraction layer has been re-factored to include a...

Image Preparation - How-to

I've seen several posts where people obviously aren't quite sure about the best way to set up...

Some tips to modify stylesheet

1. Download Web Developer extension for FireFox here2. Install & restart FireFox. You should...