Feb 17, 2010
admin

Can’t login into admin panel of Magento (Problem and Solution)

Hello Friends !!

Yesterday, when I was starting to work on Magento E-commerce. When I was access Magento after installation, I can’t logged in Admin section.

After long time serching and research in Magento, finally I found the solution and currently I am able to login to admin section. Today I explain you about the problem and the solution.

First of all, what is Magento ?

Magento is one of the Opensource for E-commerce Websites. Its a top level opensource in E-commerce category.

Now time to explain the problem and the solution of the problem.

Problem

While installing magento on xampp version 2.5 you have provided admin username and password. After installation finished you no longer login with your admin account.

In fact in the “Log in to Admin Panel” window whenever you provide wrong password/username combination it displays “Invalid Username or Password.” But whenever you provide correct password it does not show anything.

Though a new url like http://127.0.0.1/magento/index.php/admin/index/index/key/d135be4de664ab83db829120740e058a/

is displayed on the address bar.
Click Here for more details :
Everytime you do this you can’t log in to admin panel.

Reason of the problem

Do you know why this problem occures ? The problem occurs because magneto could not store cookies. We run it as localhost and localhost is not true domain but to store cookies we need a domain. That’s why login stops without saying any word.

Now the time comes for solutions. There are two solutions for this problem which are shown below :

Solutions

First Solution
In different forums I saw they mentioned connecting as http://localhost/magento/index.php/admin will fail but if you connect as http://127.0.0.1/magento/index.php/admin it will work. But in my case IP address in the URL did not work too.

I made it work into whenever I changed my browser. Suppose I installed magento using google chrome browser and I open admin url into my firefox window and it worked. Though in the firefox the url http://localhost/magento/index.php/admin did not work, but url http://127.0.0.1/magento/index.php/admin worked fine.

Second Solution

Go to app/code/core/Mage/Core/Model/Session/Abstract/Varien.php file within your magento directory.

Find the code:

session_set_cookie_params(
$this->getCookie()->getLifetime(),
$this->getCookie()->getPath(),
$this->getCookie()->getDomain(),
$this->getCookie()->isSecure(),
$this->getCookie()->getHttponly()
);

and replace with

session_set_cookie_params(
$this->getCookie()->getLifetime(),
$this->getCookie()->getPath()
//$this->getCookie()->getDomain(),
//$this->getCookie()->isSecure(),
//$this->getCookie()->getHttponly()
);

After this save the file. And try to login into the admin.

I think it will work now.

If you like this post or if you have any query or question then feel free to comment.

Hello Friends !!

Yesterday, when I was starting to work on Magento E-commerce. When I was access Magento after installation, I can’t logged in Admin section.

After long time serching and research in Magento, finally I found the solution and currently I am able to login to admin section. Today I explain you about the problem and the solution.

First of all, what is Magento ?

Magento is one of the Opensource for E-commerce Websites. Its a top level opensource in E-commerce category.

Now time to explain the problem and the solution of the problem.

Problem

While installing magento on xampp version 2.5 you have provided admin username and password. After installation finished you no longer login with your admin account.

In fact in the “Log in to Admin Panel” window whenever you provide wrong password/username combination it displays “Invalid Username or Password.” But whenever you provide correct password it does not show anything.

Though a new url like http://127.0.0.1/magento/index.php/admin/index/index/key/d135be4de664ab83db829120740e058a/

is displayed on the address bar.

Everytime you do this you can’t log in to admin panel.

Reason of the problem

Do you know why this problem occures ? The problem occurs because magneto could not store cookies. We run it as localhost and localhost is not true domain but to store cookies we need a domain. That’s why login stops without saying any word.

Now the time comes for solutions. There are two solutions for this problem which are shown below :

Solutions

First Solution

In different forums I saw they mentioned connecting as http://localhost/magento/index.php/admin will fail but if you connect as http://127.0.0.1/magento/index.php/admin it will work. But in my case IP address in the URL did not work too.

I made it work into whenever I changed my browser. Suppose I installed magento using google chrome browser and I open admin url into my firefox window and it worked. Though in the firefox the url http://localhost/magento/index.php/admin did not work, but url http://127.0.0.1/magento/index.php/admin worked fine.

Second Solution

Go to app/code/core/Mage/Core/Model/Session/Abstract/Varien.php file within your magento directory.

Find the code:

session_set_cookie_params(
$this->getCookie()->getLifetime(),
$this->getCookie()->getPath(),
$this->getCookie()->getDomain(),
$this->getCookie()->isSecure(),
$this->getCookie()->getHttponly()
);

and replace with

session_set_cookie_params(
$this->getCookie()->getLifetime(),
$this->getCookie()->getPath()
//$this->getCookie()->getDomain(),
//$this->getCookie()->isSecure(),
//$this->getCookie()->getHttponly()
);

After this save the file. And try to login into the admin.

I think it will work now.

If you like this post or if you have any query or question then feel free to comment.

  • http://www.tutz.in/9415-can%e2%80%99t-login-into-admin-panel-of-magento-problem-and-solution/ Can’t login into admin panel of Magento (Problem and Solution) | Tutz – Best Tutorials

    [...] post:  Can’t login into admin panel of Magento (Problem and Solution) By: Admin Date: February 17, 2010 6:26 pm Categories: Object, Website, art, code, ecommerce, [...]

  • http://www.techzworld.com/ Harykris

    Magento 1.4.0 version solutions

    add this code:
    ***************************************************
    // session cookie params

    session_set_cookie_params(
    $this->getCookie()->getLifetime(),
    $this->getCookie()->getPath()
    //$this->getCookie()->getDomain(),
    //$this->getCookie()->isSecure(),
    //$this->getCookie()->getHttponly()
    );
    ************************************************
    After you added this code :
    find this variable
    $cookieParams = array(
    ‘lifetime’ => $cookie->getLifetime(),
    ‘path’ => $cookie->getPath(),
    ‘domain’ => $cookie->getConfigDomain(),
    ‘httponly’ => $cookie->getHttponly()
    );

    and replace this code:

    $cookieParams = array(
    ‘lifetime’ => $cookie->getLifetime(),
    ‘path’ => $cookie->getPath()

    );

    comment the below code also:

    ‘domain’ => $cookie->getConfigDomain(),
    ‘httponly’ => $cookie->getHttponly()

  • http://www.techzworld.com Harykris

    Magento 1.4.0 version solutions

    add this code:
    ***************************************************
    // session cookie params

    session_set_cookie_params(
    $this->getCookie()->getLifetime(),
    $this->getCookie()->getPath()
    //$this->getCookie()->getDomain(),
    //$this->getCookie()->isSecure(),
    //$this->getCookie()->getHttponly()
    );
    ************************************************
    After you added this code :
    find this variable
    $cookieParams = array(
    ‘lifetime’ => $cookie->getLifetime(),
    ‘path’ => $cookie->getPath(),
    ‘domain’ => $cookie->getConfigDomain(),
    ‘httponly’ => $cookie->getHttponly()
    );

    and replace this code:

    $cookieParams = array(
    ‘lifetime’ => $cookie->getLifetime(),
    ‘path’ => $cookie->getPath()

    );

    comment the below code also:

    ‘domain’ => $cookie->getConfigDomain(),
    ‘httponly’ => $cookie->getHttponly()

  • admin

    Thanks Harykris .

    If you have any PHP stuffs whcih want to share to others then you can share via phpgenious.com.

  • admin

    Thanks Harykris .

    If you have any PHP stuffs whcih want to share to others then you can share via phpgenious.com.

  • Marius

    This code doesn’t work, just giving “There has been an error processing your request” error.

  • Marius

    This code doesn’t work, just giving “There has been an error processing your request” error.

  • http://www.optimassolutions.co.uk/ Steven

    Hi,

    I couldn’t get this working, but think this was due to the Magento Version I was using. I’m using 1.4.0.1 and done the following in the file Go to app/code/core/Mage/Core/Model/Session/Abstract/Varien.php file within your magento directory.

    // session cookie params
    $cookieParams = array(
    ‘lifetime’ => $cookie->getLifetime(),
    ‘path’ => $cookie->getPath(),
    //’domain’ => $cookie->getConfigDomain(),
    //’secure’ => $cookie->isSecure(),
    //’httponly’ => $cookie->getHttponly()
    );
    /*
    if (!$cookieParams['httponly']) {
    unset($cookieParams['httponly']);
    if (!$cookieParams['secure']) {
    unset($cookieParams['secure']);
    if (!$cookieParams['domain']) {
    unset($cookieParams['domain']);
    }
    }
    }

    if (isset($cookieParams['domain'])) {
    $cookieParams['domain'] = $cookie->getDomain();
    }
    */

  • http://www.optimassolutions.co.uk Steven

    Hi,

    I couldn’t get this working, but think this was due to the Magento Version I was using. I’m using 1.4.0.1 and done the following in the file Go to app/code/core/Mage/Core/Model/Session/Abstract/Varien.php file within your magento directory.

    // session cookie params
    $cookieParams = array(
    ‘lifetime’ => $cookie->getLifetime(),
    ‘path’ => $cookie->getPath(),
    //’domain’ => $cookie->getConfigDomain(),
    //’secure’ => $cookie->isSecure(),
    //’httponly’ => $cookie->getHttponly()
    );
    /*
    if (!$cookieParams['httponly']) {
    unset($cookieParams['httponly']);
    if (!$cookieParams['secure']) {
    unset($cookieParams['secure']);
    if (!$cookieParams['domain']) {
    unset($cookieParams['domain']);
    }
    }
    }

    if (isset($cookieParams['domain'])) {
    $cookieParams['domain'] = $cookie->getDomain();
    }
    */

  • Federico

    Thankyou Steven, code works fine for me!

  • Federico

    Thankyou Steven, code works fine for me!

  • http://www.eengoedkoopmatras.nl/ frank

    After an update to 1.4 stable, the frontend works fine. However the I cant login. This is NOT on a xammp installation. I get the above error? Google only gives me this error for a loacl install on xamp and localhost/127. etc. Any idea s

    thank, Frank.

  • http://www.eengoedkoopmatras.nl/ frank

    After an update to 1.4 stable, the frontend works fine. However the I cant login. This is NOT on a xammp installation. I get the above error? Google only gives me this error for a loacl install on xamp and localhost/127. etc. Any idea s

    thank, Frank.

  • Chae Riley

    Thanks Steve that sorted out my problem, much appreciated

  • Chae Riley

    Thanks Steve that sorted out my problem, much appreciated

  • szahra

    This didnt work for me! :( Any other ideas pls?

    This is the error:

    Warning: Unterminated comment starting line 3498 in /nfs/c04/h03/mnt/64492/domains/website.com/html/shop/lib/Zend/Date.php on line 3498

    Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /nfs/c04/h03/mnt/64492/domains/website.com/html/shop/lib/Zend/Date.php on line 3498

  • szahra

    This didnt work for me! :( Any other ideas pls?

    This is the error:

    Warning: Unterminated comment starting line 3498 in /nfs/c04/h03/mnt/64492/domains/website.com/html/shop/lib/Zend/Date.php on line 3498

    Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /nfs/c04/h03/mnt/64492/domains/website.com/html/shop/lib/Zend/Date.php on line 3498

  • http://mysillypointofview.wordpress.com/ Richard Feraro
  • http://mysillypointofview.wordpress.com/ Richard Feraro
  • http://sintelsoft.com/ rahesh

    i am try this but following error occure
    any solution
    There has been an error processing your request

    #237639695566

  • http://sintelsoft.com rahesh

    i am try this but following error occure
    any solution
    There has been an error processing your request

    #237639695566

  • http://www.opvakantieinfrankrijk.nl/ jan

    thx Steven, it works

  • http://www.opvakantieinfrankrijk.nl jan

    thx Steven, it works

  • http://www.synet.sk/ lubosdz

    This applies to Magento 1.4.0.1 to solve the first login issue:

    // session cookie params
    $cookieParams = array(
    ‘lifetime’ => $cookie->getLifetime(),
    ‘path’ => $cookie->getPath(),
    ‘domain’ => ”,
    ‘secure’ => ”,
    ‘httponly’ => ”
    );

    Cheers.
    lubos

  • http://www.synet.sk lubosdz

    This applies to Magento 1.4.0.1 to solve the first login issue:

    // session cookie params
    $cookieParams = array(
    ‘lifetime’ => $cookie->getLifetime(),
    ‘path’ => $cookie->getPath(),
    ‘domain’ => ”,
    ‘secure’ => ”,
    ‘httponly’ => ”
    );

    Cheers.
    lubos

  • admin

    Hi lubosdz ,

    Thanks for sharing this stuffs.

  • admin

    Hi lubosdz ,

    Thanks for sharing this stuffs.

  • http://www.google.com/ raj

    Filename:

  • http://www.google.com raj

    Filename:

  • Akira

    For this to work in 1.4.0 version, you should comment not only this:
    // session cookie params
    $cookieParams = array(
    'lifetime' => $cookie->getLifetime(),
    'path' => $cookie->getPath(),
    // 'domain' => $cookie->getConfigDomain(),
    // 'secure' => $cookie->isSecure(),
    // 'httponly' => $cookie->getHttponly()
    );

    but also the next part of code:

    // if (!$cookieParams['httponly']) {
    // unset($cookieParams['httponly']);
    // if (!$cookieParams['secure']) {
    // unset($cookieParams['secure']);
    // if (!$cookieParams['domain']) {
    // unset($cookieParams['domain']);
    // }
    // }
    // }

    Then it will work. At least it did for me.

  • willie

    works fine

  • Mirza Tauseef

    Hello guys Em using magento-1.4.0.1. this all above given stuff didn't work for this version. It throws error

    There has been an error processing your request
    Exception printing is disabled by default for security reasons.

    Error log record number: 353798389

    Please someone help.

    Regards,
    Tauseef

  • Mirza Tauseef

    appcodelocalMageCoreModelSessionAbstractVarien.php

    Go to line 96 or locate the code similar below:
    view source
    print?
    96 if (isset($cookieParams['domain'])) {
    97 $cookieParams['domain'] = $cookie->getDomain();
    98 }

    Replace the code found in line 96 with this one:
    view source
    print?
    96 if (isset($cookieParams['domain']) && !in_array(“127.0.0.1″, self::getValidatorData())) {

    The purpose of this code change is to disable the Magento’s domain checking only if it is accessed via localhost and run as usual if it is being accessed from a valid domain.

    This Solution works Fine Guys

  • HJK

    working fabulus

  • Tim

    this broke my site – now is displaying: Fatal error: Class 'Mage_Core_Model_Session_Abstract_Varien' not found in /home/ismarket/public_html/home/app/code/core/Mage/Core/Model/Session/Abstract.php on line 35

  • Blah

    In 1.4.1 comment out

    // if (isset($cookieParams['domain'])) {
    // $cookieParams['domain'] = $cookie->getDomain();
    // }

  • Mirza Tauseef

    Which version u r using

  • Mirza Tauseef

    Tell me the code on line 35 ????

  • http://www.medfolioinc.com Script Kiddie

    For magento-1.4.0.1 Version
    Go to location
    appcodelocalMageCoreModelSessionAbstractVarien.php

    Go to line 96 or locate the code similar below:
    view source
    print?
    96 if (isset($cookieParams['domain'])) {
    97 $cookieParams['domain'] = $cookie->getDomain();
    98 }

    Replace the code found in line 96 with this one:
    view source
    print?
    96 if (isset($cookieParams['domain']) && !in_array(“127.0.0.1″, self::getValidatorData())) {

    The purpose of this code change is to disable the Magento’s domain checking only if it is accessed via localhost and run as usual if it is being accessed from a valid domain.

    This Solution works Fine Guys
    Please Do Check your Version

  • http://u-too.info/2010/07/19/cant-login-to-magento-after-1-4-1-0-update/ U-too.info | Blog | Can't Login to Magento After 1.4.1.0 Update
  • Usmanfayyaz

    Thanks Lubosdz,

    it's ok great

  • William

    thanks works great. i didnt try the first method cause i'm to lazy. i commented out line 81-83 for version (ver. 1.4.1.0)

  • krupa patel

    Hey works fine… thanks a lotttttttttttttttt

  • Yuro101

    Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'{'' or `'$'' in C:wampwwwmagento-1.4.1.0magentoappcodecoreMageCoreModelSessionAbstractVarien.php on line 48

    after changing now i get these error nayone can help how to take care of these thank you

  • http://anthonychan.u-too.info/2010/07/19/cant-login-to-magento-after-1-4-1-0-update/ Can’t Login to Magento After 1.4.1.0 Update « Anthony's bin
  • Liar

    IN VERSION 1.4.1.0
    $cookieParams = array(
    'lifetime' => $cookie->getLifetime(),
    'path' => $cookie->getPath()
    'domain' => $cookie->getConfigDomain(),
    'secure' => $cookie->isSecure(),
    'httponly' => $cookie->getHttponly()
    );

    TO
    $cookieParams = array(
    'lifetime' => $cookie->getLifetime(),
    'path' => $cookie->getPath()
    //'domain' => $cookie->getConfigDomain(),
    //'secure' => $cookie->isSecure(),
    //'httponly' => $cookie->getHttponly()
    );

  • rajat

    Thanks a lot man thanks

  • Ravi_chauhan004

    i made this but my error not solve

  • Team1971

    hi

    thanks your code is working

    thanks,
    James

  • Sonkoarnold

    i ve tried to install magento on my laptop using wamp and after installation,when i try to login it brings back to the same login page what could be the problem pliz help

  • Sonkoarnold

    i ve tried to install magento on my laptop using wamp and after installation,when i try to login it brings back to the same login page what could be the problem pliz help

  • Cattaneo A

    U saved my life from madness!!!! :)

    Thanks!

  • Hiren Raj

    thanks dear u r champ

  • Hiren Raj

    thanks champ

  • Shahid Ali

    Very clever. It worked. Thank you for help. How did you work it out?

  • Karthim20

    hi.. can u please clearly explain how category and products are getting added in magento database

  • Kwglpr

    This is Update magento-1.4.1.1

    // session cookie params
    $cookieParams = array(
    ‘lifetime’ => $cookie->getLifetime(),
    ‘path’ => $cookie->getPath(),
    //’domain’ => $cookie->getConfigDomain(),
    //’secure’ => $cookie->isSecure(),
    //’httponly’ => $cookie->getHttponly()
    );

  • http://twitter.com/prosatya Satya

    for magento-1.4.1.1 version you need to find array.
    Thanks a lot:)

    // session cookie params
    $cookieParams = array(
    ‘lifetime’ => $cookie->getLifetime(),
    ‘path’ => $cookie->getPath(),
    // ‘domain’ => $cookie->getConfigDomain(),
    // ‘secure’ => $cookie->isSecure(),
    // ‘httponly’ => $cookie->getHttponly()
    );

  • Ben

    Thank-you – this works, I havent been able to access my live site for a few days now – and was starting to panic. Anyone know why this could suddenly occur?

  • Bryan Fly

    For some reason it is working with my site… any other options?

  • http://www.firstvapor.com Iamjn

    Thanks. Worked great. I trashed my dev copy and had to reload a copy of my production server. Fought with this for a while before finding this post, and it worked perfectly on 1.4.1.1

  • ravi negi

    wonderful sirje thankyou very much yes it did really worked for me as well

  • Simon Osoo

    BLESSED MAN.

  • Sumoncse12

    Thanks a lot ………..

    I replaced as

    $cookieParams = array(
    ‘lifetime’ => $cookie->getLifetime(),
    ‘path’ => $cookie->getPath(),
    //’domain’ => $cookie->getConfigDomain(),
    //’secure’ => $cookie->isSecure(),
    //’httponly’ => $cookie->getHttponly()
    );

  • Sumoncse12

    Thanks a lot ………..

    I replaced as

    $cookieParams = array(
    ‘lifetime’ => $cookie->getLifetime(),
    ‘path’ => $cookie->getPath(),
    //’domain’ => $cookie->getConfigDomain(),
    //’secure’ => $cookie->isSecure(),
    //’httponly’ => $cookie->getHttponly()
    );

  • Warren

    Thanks for this solution. It worked for me.

  • Djuvane

    Thanks alot, tried about 10 other solutions – this is the only one that worked for me! Thanks

  • Shumon Nandy

    Yes it’s work. Great. Thanks.

  • Udhayakumar

    Nice. it works for me.

  • http://www.binary-limit.com Tauhid

    thanks for the post. It was a great help

  • Bhaliyaa

    Thank you so much

  • Sbshetty01

    Thanks a lot!

  • ish1301

    thanks you Mr. life saver

  • http://twitter.com/dimitrikx dimitrikx

    Dimitri Vargas Figueiredo Guimarães.
    Dimitrikx.

    Obrigado, thanks, im from brazil.

  • Rubel_bhai

    thanks bro…. helps a lot

  • http://www.thaistore.be Geert

    just set a “session lifetime limit” for the cookie will work fine to. some browser or plugins like avg security toolbar can’t handle a not defined value.

  • Rahul

    thanks Boss, It works for 1.4.1 also

  • Marco

    Thanks!

  • http://www.doede.net/magento/installeren-magento-ver-1-5-0-1-op-je-localhost/ Opzetten van Magento op je lokale server | Doede.net Webdesign

    [...] //'secure' => $cookie->isSecure(), //'httponly' => $cookie->getHttponly() );bron: http://www.phpgenious.com/2010/02/cant-login-into-admin-panel-of-magento-problem-and-solution/ commentaar door liarEt voila! Magento draait op de lokale server. In mijn geval op mijn MacPorts [...]

  • Suneetha

    I dont know about it. k what is word press.

  • Suneetha

    Hi,

  • Suneetha

    what is word press.

  • Jkhalil

    word press is some thing like shirt press or pent press

  • Zaigham Butt

    printing Press

  • Salman Naqvi

    thanks its really informative for us..thanks for sharing

  • Suneetha

    reply me properly.

  • Suneetha

    what is this.

  • Suneetha

    any how thanks for ur usless meaning.

  • Suneetha

    any how thanks for ur usless meaning.

  • Linkinp_stefanos

    amazing, at last.. a got over with this step.. thank you!!

  • MSandhu

    Hey,

    Thank you so much it solved my problem.

  • Justprogrammer

    Great Post, it helped me to resolve the issue within just 2 minutes.

  • Vigproject

    Thanks, u r the one!

  • http://rakeshmohanta.wordpress.com/2011/05/25/magento-cant-login-to-admin-pannel/ Magento can’t login to admin pannel « Rakesh Mohanta

    [...] Can’t login into admin panel of Magento Problem and Solution | php genious.The above tutorial help me to rum my admin pannel in my localhost [...]

  • http://www.todaytricks.com Magento Themes

    Thanks dude worked like charm.

  • pravin

    Thanks.

  • Tawhidur Rahman

    Thank you very much brother, It worked very smooth!!!

  • Sachin

    Thanks for post , my problem has solved when i changed localhost to 127.0.0.1 now magento admin is opening in google chrome browser , thanks again

  • alfred

    thank you very much. you are great.

  • Mahkha

    you rock !

  • http://www.9gweb.com Joomla Development India

    thanks for providing this dude

  • http://www.expertmagentodevelopers.com Expertmagentodevelopers

    this article helped me alot.

  • Rakesh Nellai

    Thanks,,,   

  • Chary

    second solution worked for me perfectly……….
    thanks.

  • http://www.facebook.com/MaxQDesigns.Simon Simon Bérubé

    This has changed very slightly for 1.6.1, but this solution helped me regain access. Don’t forget to turn these settings back on after you’ve regained access! Thanks for sharing …

  • Mohd Rasihd

    I was so frustrated…to logged into Admin…Really its nice stuffs to Logged in using localhost domain..

  • bajolagua

    Works even in 1.6.1.0 but the code it´s a little diferent. Looks like this:

    // session cookie params
            $cookieParams = array(
                ‘lifetime’ => $cookie->getLifetime(),
                ‘path’     => $cookie->getPath(),

                //’domain’   => $cookie->getConfigDomain(),
                //’secure’   => $cookie->isSecure(),
                //’httponly’ => $cookie->getHttponly()
            );
    // ALL edit but first are mine
            // if (!$cookieParams['httponly']) {
            //    unset($cookieParams['httponly']);
            //    if (!$cookieParams['secure']) {
             //       unset($cookieParams['secure']);
            //        if (!$cookieParams['domain']) {
            //            unset($cookieParams['domain']);
            //        }
            //    }
            // }

    I´m working in localhost, i don´t know what happend when production, but actually it works.
    Thanks.

  • Pushpendra

    Thanks for the help, i was also facing this issue and was unable to login into back-end.

    Pushpendra

  • http://www.facebook.com/people/Adam-Kochanowicz/63203497 Adam Kochanowicz

    Before you try this, I would first attempt to fix by changing the following

    1. Go to backend
    2. System>Configuration
    3. Under “General,” Select “Web”
    4. In the accordion menu, expand “Session Cookie Management”
    5. Set “Use HTTP Only” to no.

  • Igz Dwd 27

     but i does’t work for me :(

  • Ali Lamine

    I tried but unfortunately it doesn’t work for me. Can you help me please, 

  • Sadrem

    Thank You very much

  • Mohit Wadhawan

    thanks……. for the reason u gave …. :)

  • Ivan Govno

    Thanks! it working in Chrome now 

  • Sachin06109

    http://192.168.1.19/magento/index.php/admin/dashboard/index/key/7aee52da1f559870ca19f5d786ded170/…..is there any other changes for 1.6.2.0…i have done all things u had said…but all is in vain…please give me another solution..

  • Hiten Mehta

    Man…you are a genious…i tried so many different things that i read on so many diff post…nothing was working…but this one did….thanks a lot

  • Romi-Ghrix

     its worked for me
    Thanks !!!

  • Akshaydaxini

    First solution worked for me thanks!!
    Akshay.

  • http://psdtomagento.com/ psd to magento

    we are having another problem after migration from one host to another. We can create admin user but new user can not login to admin. any idea what is the reason?

  • Adeel_iqbal786

    Bro ur awesome :D  

  • Anonymous

    great solution. Thanks a lot :)

  • Edy

    Thank second solution is worked for me.
    But If I copy to server from localhost. Do I need to remove comment symbol from above 3 parameters?

Support to grow

If you think my post is helps you then please make donation and do support to grow:

PHP Genious Services

I am a PHP freelancer india, PHP Developer india, PHP programmer india, Wordpress Freelancer india, Wordpress customization services, Wordpress Plugin Developer, Wordpress theme customization, Wordpress plugin customization, Magento Freelancer, Magento Developer india, Magento customization services, Magento theme integration, Opencart Developer india, Zencart Freelancer, Opencart customization, Opencart plugin development, HTML and CSS customization, cakePHP Developer, cakePHP Freelancer india, Ecommerce Developer india

Click Here for

Follow me on Facebook

Categories

Get Adobe Flash playerPlugin by wpburn.com wordpress themes