无法登录到Magento Admin [英] Can't log in to Magento Admin

查看:324
本文介绍了无法登录到Magento Admin的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了麻烦,登录到我们的一个临时网站上的Magento的管理面板(它在我们的webdev服务器上工作的100%,并且在不久以前在临时服务器上正常工作)。

I'm having troubles logging into Magento's admin panel on one of our staging sites (it works 100% on our webdev servers and was working just fine not too long ago on the staging server as well).

我做了一些研究,大多数人建议,它与在本地主机上运行Magento和浏览器不保存域名的域名没有点的域名。但问题是,我们从 http://staging.sitename ...运行它

I've done some research, and most people suggest that it's got to do with running Magento on a localhost and browsers not saving cookies for domains with no dots in the domain name. The problem with that, however is that we're running it from http://staging.sitename... etc.

另一些​​建议是,有人更改了在配置中访问管理员的默认名称,但我们没有更改它。

Another few things that were suggested are where someone changed the default name for accessing the admin in the config, but we haven't changed it.

有没有任何想法可能有帮助?

Does anyone have any ideas that might help?

感谢您花费时间帮助我!

Thanks for taking the time to help me out!

种类问题,

Rémy

Kind Regards,
Rémy

推荐答案

我设法修复!我在这里找到了此解决方案: http://blog.chapagain.com.np / magento-admin-login-problem /

I managed to fix it! I found this solution here: http://blog.chapagain.com.np/magento-admin-login-problem/.

我想知道为什么固定它,并且var_dumped我注释掉的项目,域被设置为只是'/',我们有magento设置在/ shop /下。所以我去配置部分(在注释掉文章中提到的3行后管理登录),将Cookie域和Cookie路径更改为空白并保存。然后我不注意那些线,再试一次,一切工作良好!

I wanted to know why that fixed it though and var_dumped the items I commented out and realized that the cookie domain was being set to just '/' and we have magento set up under '/shop/'. So I went to the configuration section (having managed to log in after commenting out the 3 lines mentioned in the article), changed the Cookie Domain and Cookie Path to be blank and saved. I then uncommented those lines and tried again and all's working well!

这篇关于无法登录到Magento Admin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆