magento icon
3rd
Mar 10

Magento Admin (Dashboard) Login Not Working Locally

If you can’t log into Magento, when developing or testing locally, you will need to perform a few minor changes to have access to the Magento admin backend.

First of all you need to check that you aren’t using the wrong password. If you are an error dialogue (div) will be shown. If not you’ll beed to update the database and set it to your local IP.

Using phpMyAdmin (or any MySQL tool you’re confortable with) select the core_config_data table. There should be two rows with the path values of web/unsecure/base_url and ‘web/secure/base_url’. If the value field is set to the localhost instead of your IP update it.

1
UPDATE core_config_data SET value='http://127.0.0.1/magento/' WHERE path='web/unsecure/base_url'AND path='web/secure/base_url';

magento_admin_sql_update

Try and log back into the Magento admin dashboard. If you still get redirected to the localhost URI you’ll need to clear the cache and session files. To do that delete the cache and session directories inside the path/to/magento/var directory. Try again and you should be good to go.

SociBook del.icio.us Digg Facebook Google Yahoo Buzz StumbleUpon

Related posts:

  1. Determing Login State (MODx)


No Comments

No comments yet.

TrackBack URL

Leave a comment