更新时间:2023-11-29 21:39:52
我使用了一个hack在其中一个核心magento文件详细信息: http://blog.chapagain.com.np/ magento-admin-login-problem /
$ 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:
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.