{"id":4494,"date":"2016-04-14T12:33:50","date_gmt":"2016-04-14T11:33:50","guid":{"rendered":"https:\/\/www.utilewebsites.nl\/knowledgebase\/magento-everything-installed-login-information-is-correct-but-cannot-log-in\/"},"modified":"2016-04-14T12:33:50","modified_gmt":"2016-04-14T11:33:50","slug":"magento-everything-installed-login-information-is-correct-but-cannot-log-in","status":"publish","type":"wz_knowledgebase","link":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/magento-everything-installed-login-information-is-correct-but-cannot-log-in\/","title":{"rendered":"Magento: Everything installed login information is correct but cannot log in"},"content":{"rendered":"<p>\nSometimes it can happen that you have everything installed on your development server and you cannot log in. Plus the system also does not indicate that you username or password is incorrect. In most cases, this can be solved by modifying the code in the Varian.php file.<\/p>\n<p>This file can be found ( in Magento version 1.9.2.1) at the following location :<\/p>\n<pre>app\\code\\core\\Mage\\Core\\Model\\Session\\Abstract\\Varien.php<\/pre>\n<p>You then exclude certain code in the file :<\/p>\n<p>-------------------------------------------------<\/p>\n<pre>\/\/ session cookie params\n $cookieParams = array(\n 'lifetime' =&gt; $cookie-&gt;getLifetime(),\n 'path'     =&gt; $cookie-&gt;getPath(),\n \/*   'domain'   =&gt; $cookie-&gt;getConfigDomain(),\n 'secure'   =&gt; $cookie-&gt;isSecure(),\n 'httponly' =&gt; $cookie-&gt;getHttponly()*\/\n );\n\n\/* if (!$cookieParams['httponly']) {\n unset($cookieParams['httponly']);\n if (!$cookieParams['secure']) {\n unset($cookieParams['secure']);\n if (!$cookieParams['domain']) {\n unset($cookieParams['domain']);\n }\n }\n }\n\nif (isset($cookieParams['domain'])) {\n $cookieParams['domain'] = $cookie-&gt;getDomain();\n }*\/<\/pre>\n<p>-------------------------------------------------<\/p>\n<p>If you have version 1.9.2.1 of magento, you can also download and replace the file below. To be on the safe side, always keep the old file.<\/p>\n<p><span style=\"color: #3366ff;\"><a style=\"color: #3366ff;\" href=\"http:\/\/www.utilewebsites.nl\/knowlegdebasefiles\/magento\/Varien.zip\">Click here to download the modified Varien.php file<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes it can happen that you have everything installed on your development server and you cannot log in. Plus the system also does not indicate that you username or password is incorrect. In most cases, this can be solved by modifying the code in the Varian.php file. This file can be found ( in Magento version 1.9.2.1) at the following location : app\\code\\core\\Mage\\Core\\Model\\Session\\Abstract\\Varien.php You then exclude certain code in the file : ------------------------------------------------- \/\/ session cookie params $cookieParams = array( 'lifetime' =&gt; $cookie-&gt;getLifetime(), 'path' =&gt; $cookie-&gt;getPath(), \/* 'domain' =&gt; $cookie-&gt;getConfigDomain(), 'secure' =&gt; $cookie-&gt;isSecure(), 'httponly' =&gt; $cookie-&gt;getHttponly()*\/ ); \/* if (!$cookieParams['httponly'])&nbsp;<a href=\"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/magento-everything-installed-login-information-is-correct-but-cannot-log-in\/\" class=\"read-more\">Continue Reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"wzkb_category":[57,58],"wzkb_tag":[],"class_list":["post-4494","wz_knowledgebase","type-wz_knowledgebase","status-publish","hentry","wzkb_category-magento","wzkb_category-magento-1-9-x"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Magento: Everything installed login information is correct but cannot log in - Utilewebsites<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/magento-everything-installed-login-information-is-correct-but-cannot-log-in\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Magento: Everything installed login information is correct but cannot log in - Utilewebsites\" \/>\n<meta property=\"og:description\" content=\"Sometimes it can happen that you have everything installed on your development server and you cannot log in. Plus the system also does not indicate that you username or password is incorrect. In most cases, this can be solved by modifying the code in the Varian.php file. This file can be found ( in Magento version 1.9.2.1) at the following location : appcodecoreMageCoreModelSessionAbstractVarien.php You then exclude certain code in the file : ------------------------------------------------- \/\/ session cookie params $cookieParams = array( &#039;lifetime&#039; =&gt; $cookie-&gt;getLifetime(), &#039;path&#039; =&gt; $cookie-&gt;getPath(), \/* &#039;domain&#039; =&gt; $cookie-&gt;getConfigDomain(), &#039;secure&#039; =&gt; $cookie-&gt;isSecure(), &#039;httponly&#039; =&gt; $cookie-&gt;getHttponly()*\/ ); \/* if (!$cookieParams[&#039;httponly&#039;])&nbsp;Continue Reading\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/magento-everything-installed-login-information-is-correct-but-cannot-log-in\/\" \/>\n<meta property=\"og:site_name\" content=\"Utilewebsites\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/magento-everything-installed-login-information-is-correct-but-cannot-log-in\\\/\",\"url\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/magento-everything-installed-login-information-is-correct-but-cannot-log-in\\\/\",\"name\":\"Magento: Everything installed login information is correct but cannot log in - Utilewebsites\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#website\"},\"datePublished\":\"2016-04-14T11:33:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/magento-everything-installed-login-information-is-correct-but-cannot-log-in\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/magento-everything-installed-login-information-is-correct-but-cannot-log-in\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/magento-everything-installed-login-information-is-correct-but-cannot-log-in\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledge Base\",\"item\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Magento: Everything installed login information is correct but cannot log in\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/\",\"name\":\"Utilewebsites\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#organization\",\"name\":\"Utilewebsites\",\"url\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.utilewebsites.nl\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/logo-Utilewebsites-2017.png\",\"contentUrl\":\"https:\\\/\\\/www.utilewebsites.nl\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/logo-Utilewebsites-2017.png\",\"width\":3000,\"height\":593,\"caption\":\"Utilewebsites\"},\"image\":{\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Magento: Everything installed login information is correct but cannot log in - Utilewebsites","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/magento-everything-installed-login-information-is-correct-but-cannot-log-in\/","og_locale":"en_US","og_type":"article","og_title":"Magento: Everything installed login information is correct but cannot log in - Utilewebsites","og_description":"Sometimes it can happen that you have everything installed on your development server and you cannot log in. Plus the system also does not indicate that you username or password is incorrect. In most cases, this can be solved by modifying the code in the Varian.php file. This file can be found ( in Magento version 1.9.2.1) at the following location : appcodecoreMageCoreModelSessionAbstractVarien.php You then exclude certain code in the file : ------------------------------------------------- \/\/ session cookie params $cookieParams = array( 'lifetime' =&gt; $cookie-&gt;getLifetime(), 'path' =&gt; $cookie-&gt;getPath(), \/* 'domain' =&gt; $cookie-&gt;getConfigDomain(), 'secure' =&gt; $cookie-&gt;isSecure(), 'httponly' =&gt; $cookie-&gt;getHttponly()*\/ ); \/* if (!$cookieParams['httponly'])&nbsp;Continue Reading","og_url":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/magento-everything-installed-login-information-is-correct-but-cannot-log-in\/","og_site_name":"Utilewebsites","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/magento-everything-installed-login-information-is-correct-but-cannot-log-in\/","url":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/magento-everything-installed-login-information-is-correct-but-cannot-log-in\/","name":"Magento: Everything installed login information is correct but cannot log in - Utilewebsites","isPartOf":{"@id":"https:\/\/www.utilewebsites.nl\/en\/#website"},"datePublished":"2016-04-14T11:33:50+00:00","breadcrumb":{"@id":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/magento-everything-installed-login-information-is-correct-but-cannot-log-in\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/magento-everything-installed-login-information-is-correct-but-cannot-log-in\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/magento-everything-installed-login-information-is-correct-but-cannot-log-in\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.utilewebsites.nl\/en\/"},{"@type":"ListItem","position":2,"name":"Knowledge Base","item":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/"},{"@type":"ListItem","position":3,"name":"Magento: Everything installed login information is correct but cannot log in"}]},{"@type":"WebSite","@id":"https:\/\/www.utilewebsites.nl\/en\/#website","url":"https:\/\/www.utilewebsites.nl\/en\/","name":"Utilewebsites","description":"","publisher":{"@id":"https:\/\/www.utilewebsites.nl\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.utilewebsites.nl\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.utilewebsites.nl\/en\/#organization","name":"Utilewebsites","url":"https:\/\/www.utilewebsites.nl\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.utilewebsites.nl\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.utilewebsites.nl\/wp-content\/uploads\/2019\/08\/logo-Utilewebsites-2017.png","contentUrl":"https:\/\/www.utilewebsites.nl\/wp-content\/uploads\/2019\/08\/logo-Utilewebsites-2017.png","width":3000,"height":593,"caption":"Utilewebsites"},"image":{"@id":"https:\/\/www.utilewebsites.nl\/en\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wz_knowledgebase\/4494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wz_knowledgebase"}],"about":[{"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/types\/wz_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/comments?post=4494"}],"version-history":[{"count":0,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wz_knowledgebase\/4494\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/media?parent=4494"}],"wp:term":[{"taxonomy":"wzkb_category","embeddable":true,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wzkb_category?post=4494"},{"taxonomy":"wzkb_tag","embeddable":true,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wzkb_tag?post=4494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}