Wordpress & PHP Developer India

  • Home
  • WordPress Freelancer India
  • Contact Me
  • PHP Freelancer
  • Hire Me
    • Hire Magento Developer,Magento Freelancer India
    • WordPress Development
    • Hire Joomla Developer, Joomla Freelancer India
  • WordPress Plugins
    • IGIT Related Posts With Thumb Image After Posts
    • IGIT Related Posts Widget
    • IGIT Posts Slider Widget
    • IGIT Follow Me After Post Button
    • IGIT New Twitter Tweet Share Button
  • Home
  • WordPress Freelancer India
  • Contact Me
  • PHP Freelancer
  • Hire Me
    • Hire Magento Developer,Magento Freelancer India
    • WordPress Development
    • Hire Joomla Developer, Joomla Freelancer India
  • WordPress Plugins
    • IGIT Related Posts With Thumb Image After Posts
    • IGIT Related Posts Widget
    • IGIT Posts Slider Widget
    • IGIT Follow Me After Post Button
    • IGIT New Twitter Tweet Share Button

Magento Can’t Login Into Admin Panel In Latest Version And Old Version

Ankur Gandhi • July 29, 2010 • 8 Comments

Hello Friends, Magento is an open-source ecommerce web application.It was created by Varien, building on components of the Zend Framework. Magento is well architected and well designed ecommerce platform. So after hearding so many advantages of Magento and after getting one project in Magento I got one chance to work with Magento. So I downloaded it and install it in my local. After installing Magento in local I tried to login into admin but I was not able to login in Magento admin. First I thought that I entered wrong username/password but it was not giving any error like ‘Invalid Username and Password.’, So it means there is some problem while loggin into admin of Magento. I searched about his problem and found solutions for this which are explaining below.

1. If you are using latest version of Magento : If you are using latest version 1.4.1.1 then you have to follow these steps to log in into admin.
– Open magento\app\code\core\Mage\Core\Model\Session\Abstract\Varien.php file and go to line number 96.

– You will see piece of code like shown below :

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

– Just replace it with code given below :
if (isset($cookieParams['domain']) || 1 == 1) {
$cookieParams['domain'] = $cookie->getDomain();
}

– Save file.

– Now try to log in into admin. Voila!! Now it is working.

2. If you are using older version than 1.4.1.1 version : If you are using older version then you have to follow these steps to log in into admin.

– Open magento\app\code\core\Mage\Core\Model\Session\Abstract\Varien.php file.

– Find code given below in this file :

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

– Replace this code with code given below :

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

– Save File.

– Now try to log in into admin. Voila!! Now it is working.

So these are the two ways for old version and new version by which we can solve problem of can’t login into admin of Magento. Let me know if you have any other solution or any other suggestions for Magento can’t login into admin problem.

Tagged: Can't Login Into Admin Panel Magento

Post navigation

««How To Get Gravatar Image By Email Address In WordPress
How To Add Custom Fields In NextGEN Gallery To Give Link On Images Of Posts Or Page»»

Ads

Contact me

If you want to contact me online then
gTalk : anku.gandhi[AT]gmail.com (Replace [AT] by @)
Skype : anku_gandhi
MSN:anku.gandhi[AT]hotmail.com(Replace [AT] by @)
Yahoo : anku_gandhi[AT]yahoo.com (Replace [AT] by @)

Search

Join HackingEthics On Google+

Search

Categories

Services

PHP Wordpress Developer, PHP Wordpress Freelancer, Wordpress Developer,Hire PHP Programmer India,PHP Freelancer India, PHP Developer Ahmedabad,Hire Dedicated Programmer India, Hire PHP Professional, Hire PHP Professional India,php freelance developer, Hire PHP Developer India,PHP Freelancer, PHP Freelancer India, Wordpress Developer, Wordpress Freelancer, Wordpress Freelancer India

Tags

25% off Hostgator add post formats to theme Add post formats to wordpress Best SEO plugins Best SEO plugins for Wordpress Black Friday Hosting Sale BullGuard Best Internet Security Category Slug by Category ID Change position of close button colorbox colorbox change close button position Disable all submit buttons Disable all submit buttons of all forms Disable Submit button by jQuery Disable Submit Button With jQuery Dreamhost Coupon Code Error E00007 "User authentication failed due to invalid authentication values." Authorize.net Error E00007 Authorize.net Exclude post format Get Category Slug By Category ID in Wordpress Get images from wordpress post Hostgator 25% discount Hostgator 25% off Hostgator 50% discount on Blackfriday Hostgator Black friday coupon Code Hostgator Black Friday Sale Hostgator Black Friday Sale 2011 hostgator coupon code IGIT related version 3.9.7 Include Post formats jQuery Disable Submit Button move close button top right colorbox Must have SEO Plugins For Wordpress Post formats wordpress Remove Image from Wordpress Content show posts by particular post formats Solution of Error E00007 Authorize.net Twitter window.onbeforeunload Wordpress Wordpress 3.1 admin bar remove Wordpress 3.2 Beta 1 Wordpress Get Category Slug By Category Id Wordpress Post Formats Wordpress Related Posts Wordpress SEO plugins

Subscribe

Enter your email address:

Powered by WordPress. Theme by moyu