久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Magento 無法使用正確的用戶名和密碼登錄管理員

Magento can#39;t login in admin with right username and password(Magento 無法使用正確的用戶名和密碼登錄管理員)
本文介紹了Magento 無法使用正確的用戶名和密碼登錄管理員的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

我剛剛在我的本地主機(jī)(LAMP)上新安裝了 Magento(1.7.0.2).現(xiàn)在安裝后,當(dāng)我想去管理面板時,它要求我輸入用戶名和密碼.雖然我使用了正確的用戶名和密碼,但它仍然顯示 Invalid User Name or Password.我清除了我的瀏覽器 cookie,但它再次向我顯示了與登錄相同的問題.我在谷歌上搜索并得到了一些我可以使用 http://127.0.0.1 而不是 http://localhost 登錄的東西.但它仍然不適合我.我在谷歌上搜索了一整天,正如 pe 一些博客所說,只需在 varien.php 文件中進(jìn)行一些行注釋,我也在 varien.php 文件中進(jìn)行了注釋,但仍然對我不起作用(因?yàn)檫@里我使用的是 1.7.0.2 和他們在博客中講述了 1.6.X ).我今天已經(jīng)安裝了 4 次 magento,但我仍然一次又一次地面臨同樣的問題.有人可以告訴我如何解決這個問題嗎?任何幫助和建議都將非常值得贊賞.

I just freshly installed Magento(1.7.0.2) on my localhost(LAMP). Now after installation when I wanted to go for the admin panel it asked me for the username and password. Although I used right username and password still its showing Invalid User Name or Password. I made clear my browser cookie but again it showed me the same problem with login. I searched over google and got something that I can login using http://127.0.0.1 instead of http://localhost. But it still not working for me. I have searched over google whole day and as pe some blogs have told that just make some line comments in varien.php file, I also made comments in varien.php file but still its not working for me(as here I am using 1.7.0.2 and in blogs they have told about 1.6.X ). I have installed magento 4 times today already but still I am facing the same problem again and again. Can someone tell me how to solve this? Any help and suggestions will be really appreciable.

推薦答案

如果您無法使用正確的用戶名和密碼登錄,這里有一些建議.如果您使用 google chrome 安裝 magento,請使用 firefox 打開 magento 并編輯 magento 目錄中的 app/code/core/Mage/Core/Model/Session/Abstract/Varien.php 文件和評論以下幾行

If you are having trouble to get logged in with the correct username and password, here are some ideas. If you have used google chrome to install magento, use firefox to open magento and edit the app/code/core/Mage/Core/Model/Session/Abstract/Varien.php file within your magento directory and comment those below lines

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

并使用您的憑據(jù)登錄.我希望這對您有用!!!

And use your credentials to log in. I hope this works for you!!!

這篇關(guān)于Magento 無法使用正確的用戶名和密碼登錄管理員的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

Joining 2 tables in SELECT(MYSQL/PHP)(在 SELECT(MYSQL/PHP) 中加入 2 個表)
How to make lt;option selected=quot;selectedquot;gt; set by MySQL and PHP?(如何使lt;option selected=“selectedgt;由 MySQL 和 PHP 設(shè)置?)
Auto populate a select box using an array in PHP(使用 PHP 中的數(shù)組自動填充選擇框)
PHP SQL SELECT where like search item with multiple words(PHP SQL SELECT where like search item with multiple words)
json_encode produce JSON_ERROR_UTF8 from MSSQL-SELECT(json_encode 從 MSSQL-SELECT 產(chǎn)生 JSON_ERROR_UTF8)
MySQL ORDER BY rand(), name ASC(MySQL ORDER BY rand(),名稱 ASC)
主站蜘蛛池模板: 超碰人人91| 精品视频在线播放 | 美女精品一区 | 日韩在线播放一区 | 91欧美精品成人综合在线观看 | 成人在线欧美 | 国产成人精品一区二三区在线观看 | 国产中文字幕网 | 2022国产精品 | 国产精品一区二区三区在线 | 亚洲一区电影 | 久久日本 | 国产中文字幕亚洲 | 91精品久久久久 | 国产99久久精品一区二区永久免费 | 午夜免费福利影院 | 欧美精品久久久久 | 精品久久久久一区二区国产 | 中文字幕日韩一区 | 美女天天操 | 日韩中文一区二区三区 | 日韩中文字幕一区二区 | 91国自产 | 九九热热九九 | 国产精品久久久亚洲 | 视频一区二区中文字幕 | 992人人草 | 最新中文字幕在线 | 久久乐国产精品 | 欧美日韩视频一区二区 | 精品欧美一区二区久久久伦 | 国产99久久精品一区二区300 | 亚洲精品99999 | 天天综合久久 | 久久精品99久久 | 宅男噜噜噜66一区二区 | 精品视频一区二区在线观看 | 不卡在线视频 | 成人教育av | 亚洲综合日韩精品欧美综合区 | 欧美日韩黄色一级片 |