Can’t Log In Magento Admin

After installing Magento locally I could not login to my Admin panel. Using the correct password it was just refreshing the login page every time.

Look for the file:


Arroud the line 100:

call_user_func_array('session_set_cookie_params', $cookieParams);

Add bars to comment the line:

//call_user_func_array('session_set_cookie_params', $cookieParams);


Now you will be able to login.

Please notice you should avoid touching core files at any cost. If you ever update, you'll lose the changes.

About Rick

Senior Front-end Software Engineer from Barcelona, Haidong Gumdo Instructor (korean martial art of the sword), street photographer, travel lover, TV addict, Boston Red Sox fan, and privacy advocate.

Leave a Reply

Add <code> Some Code </code> by using this tags.