2

For test and development, I duplicated our Magento shop to a sub-domain.

mysql -u root -p -e "USE bitnami_magento; UPDATE core_config_data SET value ='http://subdomain.site.com/' WHERE core_config_data.path = 'web/unsecure/base_url'; UPDATE core_config_data SET value ='https://subdomain.site.com/' WHERE core_config_data.path = 'web/secure/base_url';

Everything works, but not the admin Login. On the login page we get it. After entering my user name and password we don't log in. Login error message ("invalid password", etc.) ISN`T being displayed.

We are using 1.9.0.1

Removing cache files ...

sudo rm -r /opt/bitnami/apps/magento/htdocs/var/cache/*
sudo rm -r /opt/bitnami/apps/magento/htdocs/var/session/*

.. and restarting Apache ..

sudo /opt/bitnami/ctlscript.sh restart apache

.. Does not help.

Please any advice - what could be the reason?

1
  • UPD: It works on the browser FireFox. Problems logging in Admin Panel (Backend) with Opera and Chrome. Also, there is no problem with login in other computers with different browsers. Perhaps the problem is "session cookie". Please help me.
    – user9714
    May 12, 2015 at 11:15

3 Answers 3

2

Its related to cookies.

  1. First remove the cookies related to site in your current browser and check login.

  2. After login, please increase the cookies timeout to 1 day.

1
  • Thank you for your response. But please specify in detail how this can be done?
    – user9714
    May 12, 2015 at 11:18
1

In Chrome, in Developer Tools (right-click on any page element and select Inspect Element), go to the Resources -> Cookies tab. Delete the extra cookie for your original domain. Or set your base url domain to something else, or change the port.

1
  • Also, Ctrl + Shift + Delete (for non-apple computers) Jun 19, 2015 at 7:32
0

Try to disable "Ban attacking ips from accessing site" in Firewall section or try to login with different IP address.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.