Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

ndzlogo-1-1
86%
Loading ...

INDIA – HEADQUARTERS

INDIA

UNITED STATES

CANADA

Magento is an open source CMS for e-commerce based web sites. 
Sometimes, there are problems logging into the backend of our
Magento site, despite the fact that we have not changed our username or
password. We keep on getting the error message:

"Invalid Username or Password"

We've tried resetting the password, but this hasn't worked. We've also
tried clearing our browser cache and cookies, as well trying a different
browsers. But none of these solutions have worked.

Please help me as I have to login to the admin area.

Solution:

If you are using the correct username and password, please try the below
steps and see if it works for you.

Find app/code/core/Mage/Core/Model/Session/Abstract/Varien.php. in your
Magento install folder and comment out the lines(see below) 80 to 83.
The line numbers may vary.

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