magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

Admin Login not working

Open karmicksol50 opened this issue 12 years ago • 26 comments

I just installed Magento ver. 2.0.0.0-dev73 on my local machine, but when I try to go to admin I can't login what can you do? I enter my correct username and password but I am redirected to the same login page. I enter my correct admin path.That is - localhost/myDirectory/magento2-master/index.php/backend.

Please help me to solve this issue.

karmicksol50 avatar Apr 28 '14 07:04 karmicksol50

I'm having the same problem, as a workaround:

  • switch to db stroage for session data
  • or deactivate the destroy of session data when regenerating session ids

it looks like the implemented file storage does not support destroying of session data correctly

airbone42 avatar Apr 28 '14 07:04 airbone42

Hi,

May I know which browser currently you are using? If this is Google Chrome then please try to login on Mozilla Firefox. You know Google Chrome have different Cookie Policy for Localhost/Localdomain/127.0.0.1 So that Magento`s cookiejar may not accessible on Chrome via localhost for host name specified cookies.

It could be a different issue what I thought. Please let me know If I am wrong.

_SANTANU BRAHMA http://www.santanu.net On Apr 28, 2014 12:42 PM, "karmicksol50" [email protected] wrote:

I just installed Magento ver. 2.0.0.0-dev73 on my local machine, but when I try to go to admin I can't login what can you do? I enter my correct username and password but I am redirected to the same login page. I enter my correct admin path.That is - localhost/myDirectory/magento2-master/index.php/backend.

Please help me to solve this issue.

— Reply to this email directly or view it on GitHubhttps://github.com/magento/magento2/issues/563 .

santanubrahma avatar Apr 28 '14 12:04 santanubrahma

I have the same problem on Firefox. You can also check the session files and see that the data is actually missing there.

airbone42 avatar Apr 28 '14 12:04 airbone42

Also I have the same problem on Firefox.

On Mon, Apr 28, 2014 at 6:04 PM, Tobias Zander [email protected]:

I have the same problem on Firefox. You can also check the session files and see that the data is actually missing there.

— Reply to this email directly or view it on GitHubhttps://github.com/magento/magento2/issues/563#issuecomment-41552657 .

Thanks & Regards Bibek Jyoti Goswami, PHP Developer

Email: [email protected] URL: www.karmicksolutions.com Skype : karmickc | Google: karmicksol50 Tel No.: +91 33 2426 4362 _ _

karmicksol50 avatar Apr 28 '14 12:04 karmicksol50

Guys, please confirm you have this issue on the latest version dev75 we deployed last Friday. As far as I know, the issue you all mention here was already resolved in dev74.

Please update the code from GitHub and let me know if the issue is still there for you.

Thank you!

verklov avatar Apr 28 '14 12:04 verklov

Code is already updated and I have the problem in both dev74 and dev75

airbone42 avatar Apr 28 '14 13:04 airbone42

That's really strange, cause I am installing Magento quite frequently, like multiple times per week and I have not experienced the same issue recently.

Please let me know more details. Was it a clean install over a new database? Are there any peculiarities of the code update and installation that might give us a clue?

I will ask the team look at the issue.

verklov avatar Apr 28 '14 13:04 verklov

Thanks

On Mon, Apr 28, 2014 at 7:00 PM, Sergey Verklov, Senior Product Manager < [email protected]> wrote:

That's really strange, cause I am installing Magento quite frequently, like multiple times per week and I have not experienced the same issue recently.

Please let me know more details. Was it a clean install over a new database? Are there any peculiarities of the code update and installation that might give us a clue?

I will ask the team look at the issue.

— Reply to this email directly or view it on GitHubhttps://github.com/magento/magento2/issues/563#issuecomment-41557843 .

Thanks & Regards Bibek Jyoti Goswami, PHP Developer

Email: [email protected] URL: www.karmicksolutions.com Skype : karmickc | Google: karmicksol50 Tel No.: +91 33 2426 4362 _ _

karmicksol50 avatar Apr 28 '14 13:04 karmicksol50

Maybe it's related to the php version? I'm using 5.4.7. But it's reproducable with a clean installation here. As mentioned only when session-save-handler is files, NOT db!

airbone42 avatar Apr 28 '14 13:04 airbone42

Could you please specify which operating system you are running and versions of MySQL and web server?

verklov avatar Apr 28 '14 13:04 verklov

Sure, it's Windows 7, Apache 2.4.3 and MySQL 5.5.27

airbone42 avatar Apr 28 '14 14:04 airbone42

Thank you! I will ask the team investigate this issue. We will let you know when we find out anything.

verklov avatar Apr 28 '14 14:04 verklov

I also had issues with it on Win8.1, haven't tried a recent build, just figured I'd have to run it on linux instead.

John Gartrell864-684-9004 Jesus Christ is risen!

Date: Mon, 28 Apr 2014 07:06:50 -0700 From: [email protected] To: [email protected] Subject: Re: [magento2] Admin Login not working (#563)

Sure, it's Windows 7, Apache 2.4.3 and MySQL 5.5.27

— Reply to this email directly or view it on GitHub.

louvipi avatar Apr 28 '14 14:04 louvipi

@verklov: As already mentioned in my closed issue and pull request, the problem does not appear when session_regenerate_id is called with the false parameter. I don't want ot say that this is the right solution, but at least that changes the behavior for the files-storage in that way. Maybe that helps when investigating.

airbone42 avatar Apr 28 '14 16:04 airbone42

Hi All,

This is very strange issue. I am not getting any log-in related problem in my cases except Google Chrome. I am using Windows 8.1 with PHP 5.4.4, MySQL 5.5.2 and Apache Web Server(httpd) with OpenSSL.

---------------------

_Thanks & Regards,_Santanu Brahma

_Software Engineer+91-9332932907__http://www.santanu.net_http://www.santanu.net/

On Mon, Apr 28, 2014 at 10:28 PM, Tobias Zander [email protected]:

@verklov https://github.com/verklov: As already mentioned in my closed issue and pull request, the problem does not appear when session_regenerate_id is called with the false parameter. I don't want ot say that this is the right solution, but at least that changes the behavior for the files-storage in that way. Maybe that helps when investigating.

— Reply to this email directly or view it on GitHubhttps://github.com/magento/magento2/issues/563#issuecomment-41583813 .

---------------------

_Thanks & Regards,_Santanu Brahma

_Software Engineer+91-9332932907__http://www.santanu.net_http://www.santanu.net

santanubrahma avatar Apr 28 '14 17:04 santanubrahma

Thank you, @airbone42! I hope this helps during the investigation.

verklov avatar Apr 28 '14 20:04 verklov

Latest build works great on linux.

louvipi avatar Apr 29 '14 01:04 louvipi

@verklov I have tried create VM machine on kodding.com, installed there magento2 and have same issue with latest build. On my mac I haven't this issue.

ihor-sviziev avatar May 01 '14 08:05 ihor-sviziev

I experienced the same issue on Magento v 2.0.0.0-dev75 Running: PHP 5.4.10 Apache 2.2.23 MySQL 5.5.29
on Mac OSX v 10.8.5 @airbone42 workaround allowed me to login without being continually redirected.

wsagen avatar May 02 '14 03:05 wsagen

Guys, the team has provided some fix for the issue you reported to us. Please use the latest version dev77 for the fix. We really hope this issue is gone now. It was really very annoying. We are closing this issue, but please let us know or better create a new one in case, I hope this does not happen, you can still encounter it.

verklov avatar May 12 '14 20:05 verklov