Magento Admin login problem

I had a new installation of magento. But I was unable to login as an administrator. I went to the admin login page, entered correct username and password but was redirected to the same login page.
Error message is displayed when I enter wrong username or password. But nothing is displayed and I am redirected to the same login page when I insert correct username and password.

luckily i found solutions:

The solution is to modify the core Magento code.
Open app/code/core/Mage/Core/Model/Session/Abstract/Varien.php. Comment out the lines 80 to 83.
The line number may vary according to the Magento version. But these lines are present somewhere near line 80. You have to comment the comma (,) in line:
 $this->getCookie()->getPath()//,   
 // set session cookie params  
 session_set_cookie_params(  
 $this->getCookie()->getLifetime(),  
 $this->getCookie()->getPath()//,  
 //$this->getCookie()->getDomain(),  
 //$this->getCookie()->isSecure(),  
 //$this->getCookie()->getHttponly()  
 );  

In you have Magento 1.4 then you have to comment code from line 86 to 98,
 /* 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();  
 } */  
Well, This was solved my problem, hope, this solution you also...

Cheers,
Gaurav :)

Comments

  1. Thanks for the best blog.it was very useful for me.keep sharing such ideas in the future as well.Nice images with good designs.Magento Themes

    ReplyDelete
    Replies
    1. Magento Admin Login Problem >>>>> Download Now

      >>>>> Download Full

      Magento Admin Login Problem >>>>> Download LINK

      >>>>> Download Now

      Magento Admin Login Problem >>>>> Download Full

      >>>>> Download LINK jW

      Delete
  2. Thanks for your feedback.! It encourage me to write more in blog..
    I'm glad it helps to you.!

    ReplyDelete
  3. it's not working .....i'm getting error.


    http://phperrorandsolution.blogspot.in/

    ReplyDelete
  4. Hi Dude,

    Sorry , dont want to discourage you, but dont you think rather then commenting the code, we should dig into it and find out what exactly it is doing, so that we can find the actual problem??


    Thanks

    Rahul Anand

    ReplyDelete
  5. @rahul,
    yes, i agree with you!
    Please let me know if you have then!

    this is just a way to solve the issue quickly. Apply this for quick solutions and try to find more better solutions.... This is nit only one solutions.. Okay

    I guess you find better solutions very quickly. Please don't forgot to add it into comment, I'm wait for better solutions!!!!!

    ReplyDelete
  6. This is not the solution as I have to versions of the same store. One have the problem and the other does not. The file app/code/core/Mage/Core/Model/Session/Abstract/Varien.php. is exactly the same on both stores.
    This time I solved the problem by clearing the cache and cookies in my browser.

    ReplyDelete
  7. This article was very helpful in answering alot of questions regarding Magento Integration

    ReplyDelete
  8. Hi Gaurav

    Thank you for your solution. It did not worked for me,
    May be you can try solution given at Magento Coders

    Visit Us : Magento Ecommerce Development India | Parsys Media

    ReplyDelete
  9. http://www.dangalfullmovie.in
    http://www.dangalfullmovie.in/2016/07/dangal-movies-aamir-khans-look-star.html
    http://www.dangalfullmovie.in/2016/06/dangal-movie-lead-actor-role-aamir.html
    http://www.dangalfullmovie.in/2016/06/dangal-full-movie-download-in-hd.html
    http://www.dangalfullmovie.in/2016/06/dangal-full-movie-collection.html
    http://www.dangalfullmovie.in/2016/06/dangal-movie-release-date-aamir-khans.html

    ReplyDelete
  10. http://www.dangalfullmovie.in
    http://www.dangalfullmovie.in/2016/07/dangal-movies-aamir-khans-look-star.html
    http://www.dangalfullmovie.in/2016/06/dangal-movie-lead-actor-role-aamir.html
    http://www.dangalfullmovie.in/2016/06/dangal-full-movie-download-in-hd.html
    http://www.dangalfullmovie.in/2016/06/dangal-full-movie-collection.html
    http://www.dangalfullmovie.in/2016/06/dangal-movie-release-date-aamir-khans.html

    ReplyDelete
  11. This comment has been removed by the author.

    ReplyDelete
  12. This comment has been removed by the author.

    ReplyDelete
  13. This comment has been removed by the author.

    ReplyDelete
  14. This comment has been removed by the author.

    ReplyDelete
  15. http://ahappydiwali2016.beep.com/
    http://ahappydiwali2016.weebly.com/our-story.html/
    https://ahappydiwali2016.wordpress.com/2016/09/02/diwali-quotes-in-hindi/
    http://ramesh20.doodlekit.com/blog/entry/4035008/diwali-massages-in-hindi/
    http://ahappydiwali2016.pointblog.net/diwali-status-in-hindi-1534818/
    http://ramesh.blogocial.com/happy-diwali-sms-in-hindi-1636257/
    http://twjhv7z26.biennale.info/news/
    http://ahappydipwali2016.yolasite.com/
    http://ahappydiwali2016.emyspot.com/
    http://www.blogster.com/rameshyadav/diwali-status-in-hindi-2016/
    http://ahappydiwali2016.angelfire.com/
    http://elegantbouquetpeach.tumblr.com/
    http://ahappydiwali2016.jimdo.com/

    ReplyDelete
  16. http://analyticalfiguresp08.blogspot.in/2008/04/week-7-pelvis-hip-structure-demo.html

    ReplyDelete
  17. Very nice post.Thanks for sharing...
    Check out the best collection of Love Quotes, Status, Wishes, Messages, Greetings, HD Images and poems for him for facebook and Whatsapp that can be sent to your friends and beloved ones at LOVE . Have a look at the article and wish him everyday with lots of love and make his every day special.

    ReplyDelete
  18. Pretty nice information. it has a better understanding. thanks for spending time on it.
    lehenga blouse designs
    happy married life images
    Love Quotes for Husband

    ReplyDelete
  19. Exclusive Collection of Salwar Suit and Many More…
    We Have Some For You In Your Budget For more…
    Plz visit:- Salwar Kameez

    ReplyDelete
  20. You share informative blog thanks for shaie this.Thank you.
    For Marrige party Bajuband

    ReplyDelete

  21. Designer Pakistani Dresses is perhaps the desire of every single girl in this world to look amazing on her wedding day.
    It is certainly important that the bride must be the star of the show.The most beautiful woman at the wedding venue.
    In India,Pakistani Dresses are the most obvious choice for the brides.There are many Pakistani Dresses in our site...
    For more...
    Plz visit:- Pakistani Dresses

    ReplyDelete
  22. Zoho Inventory to Magento Bidirectional stock sync Connector makes syncing data between these clouds a piece of cake.
    Zoho Inventory Magento Integration

    ReplyDelete
  23. You can buy from our large and diverse collection of salwar kameez, party wear suits, bollywood collection, cotton kurtis, Anarkali suits,Bollywood saree and many other products.....
    We Have Some For You In Your Budget....
    For more…
    Plz Visit : Wedding Saree

    ReplyDelete
  24. driverdoc-crackThanks for this post, I really found this very helpful. And blog about best time to post on cuber law is very useful.

    ReplyDelete
  25. Thank you, I’ve recently been searching for information about this subject for a long time and yours is the best I have found out so far.

    ReplyDelete

  26. sparkocam-crackSuch a nice and helpful piece of information. I’m so happy that you shared this helpful information with us. Please keep us up to date like this. Thanks for sharing.

    ReplyDelete
  27. This article is so innovative and well constructed I got lot of information from this post. Keep writing related to the topics on your site. jetbrains phpstorm

    ReplyDelete
  28. Thanks for this post, I really found this very helpful. And blog about best time to post on cuber law is very useful. bandicut crack

    ReplyDelete
  29. Thanks for this post, I really found this very helpful. And blog about best time to post on cuber law is very useful. teamviewer crack

    ReplyDelete
  30. Such a nice and helpful piece of information. I’m so happy that you shared this helpful information with us. Please keep us up to date like this. Thanks for sharing. <a href='https://newcracksoft.com/wp-admin/post.php?post=961&action=edit>the link</a>

    ReplyDelete
  31. This article is so innovative and well constructed I got lot of information from this post. Keep writing related to the topics on your site. cyberghost-vpn-crack

    ReplyDelete
  32. Thanks for this post, I really found this very helpful. And blog about best time to post on cuber law is very useful.sketchup-pro-crack

    ReplyDelete
  33. Such a nice and helpful piece of information. I’m so happy that you shared this helpful information with us. Please keep us up to date like this. Thanks for sharing.
    auslogics-boostspeed-crack

    ReplyDelete
  34. Thanks for sharing such great information, I highly appreciate your hard-working skills which are quite beneficial for me. extreme-picture-finder-crack

    ReplyDelete
  35. microsoft-office-2011-crack Microsoft office 2011 product key. So am very excited today because it has a final solution for me. You can check at Microsoft to gain full access to office 2011, I highly recommend you to find a product key to support the developer. It has already Microsoft using DRM technology. It requires both programs as like activation keys of office 2011. This process is used on multiple occasions.

    ReplyDelete
  36. Thanks for sharing, if you want more benefits then remain connect with us.
    https://crackmill.com/balsamiq-mockups-crack/

    ReplyDelete


  37. So nice I am enjoying for that post as for u latest version of this Security tool Available
    SnapTube 2022 Crack

    ReplyDelete



  38. Appreciation is a wonderful thing: it makes what is excellent in others belong to us as well.
    ByteFence Anti-Malware Pro Crack

    ReplyDelete

  39. I can no other answer make but thanks, and thanks, and ever thanks.
    PUBG PC Crack

    ReplyDelete


  40. Great set of tips from the master himself. Excellent ideas
    VSDC Video Editor Pro Crack

    ReplyDelete
  41. Magento Admin Login Problem >>>>> Download Now

    >>>>> Download Full

    Magento Admin Login Problem >>>>> Download LINK

    >>>>> Download Now

    Magento Admin Login Problem >>>>> Download Full

    >>>>> Download LINK 8h

    ReplyDelete
  42. I am very impressed with your post because this post is very beneficial for me and provide a new knowledge to me
    PhpStorm Crack
    Microsoft Office 2019 Crack
    Sweet Home 3D Crack

    ReplyDelete
  43. I am very thankful for the effort put on by you, to help us, Thank you so much for the post it is very helpful, keep posting such type of Article.
    PhotoLine Crack
    SparkBooth Crack

    ReplyDelete

Post a Comment

Popular posts from this blog

Magento Reindexing problem - take too long time

Magento Navigation menu of CMS pages