In most cases of difficulties logging in to the Admin area, the problem is one of:
- 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. - Something may be wrong with the way your site is configured to handle PHP "sessions". This is more difficult to resolve.
- Start by clearing your browser cache and clearing all cookies. ** THIS IS THE MOST COMMON PROBLEM **
- If you are using Safari for your browser, make sure you're not using "Private Browsing" mode.
- 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".
- Also, make sure your browser IS allowed to accept cookies, esp from your own domain. Cookie-blocking will break your Admin area.
- Check your server's errorlog to determine if any errors are occurring at the time of the failure to login.
- 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?
- Try the suggestions in this related FAQ article: http://tutorials.zen-cart.com/index.php?article=281
- 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.
- See: http://tutorials.zen-cart.com/index.php?article=14
- 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.
- 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.