Magento管理面板无法访问,没有错误(服务器挂起后) [英] Magento admin panel inaccessible with no error (after server hang)

查看:261
本文介绍了Magento管理面板无法访问,没有错误(服务器挂起后)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

magento安装的服务器崩溃(目前的原因未知),现在后端是无法访问的。我没有得到任何错误或我拒绝访问。




  • 我已经尝试过

    清除浏览器Cookie和缓存

  • 使用magento数据库修复工具清除magento中的会话,tmp和缓存文件夹

  • / li>
  • 在admin_users表中手动创建新用户(此操作被拒绝)

  • 再次重新启动服务器>


主要管理员用户获得重定向循环。





编辑:我真的以任何方式恢复magento管理员登录吗?

解决方案

我使用了一个hack在其中一个核心magento文件详细信息: http://blog.chapagain.com.np/ magento-admin-login-problem /



我不得不在app / code / core / Mage / Core / Model / Session /抽象/ Varien.php:
(请注意,这是1.6 - 检查链接发布的建议在1.4)

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

也在第104行注释:

  // call_user_func_array('session_set_cookie_params',$ cookieParams); 

似乎是当服务器发生故障时,会话发生了什么, 。


the server that a magento install was on crashed for (currently reason unknown) and now the backend is inaccessible. I either get no error or I get access denied. I am able to preform the password reset.

I have tried:

  • clearing the browser cookies and cache
  • clearing the session, tmp and cache folders in magento
  • using the magento database repair tool - no errors were found
  • creating a new user manually in the admin_users table (this gets access denied)
  • rebooting the server again (last resort but still no)

The main admin user gets a redirect loop.

Any ideas are welcome, I am now stumped.

EDIT:I am really after any way to recover a magento admin login? or failing this any way to export the data (without exporting the bugged section)

解决方案

I have employed a hack in one of the core magento files detailed here: http://blog.chapagain.com.np/magento-admin-login-problem/

I have had to comment out lines in "app/code/core/Mage/Core/Model/Session/Abstract/Varien.php": (please note this is for 1.6 - check link posted for advice on 1.4)

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

also line 104 comment out :

//call_user_func_array('session_set_cookie_params', $cookieParams);

It seems to be when the server went down something happened to the session, as the new install also failed.

这篇关于Magento管理面板无法访问,没有错误(服务器挂起后)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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