Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/268.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Magento 1.9登录循环,不重定向到仪表板_Php_Magento_Magento 1.9 - Fatal编程技术网

Php Magento 1.9登录循环,不重定向到仪表板

Php Magento 1.9登录循环,不重定向到仪表板,php,magento,magento-1.9,Php,Magento,Magento 1.9,我有一个Magento 1.9.1堆栈,它工作正常,但现在当尝试登录到Magento admin dash时,它没有提供“错误的用户名或密码”之类的错误,它只是重新加载登录页面。当我刷新页面时,我会看到仪表板 在此方面的任何帮助都将不胜感激 谢谢。建议我在中评论以下几行: app\code\core\Mage\core\Model\Session\Abstract\Varien.php 对于一些较旧的版本,建议在同一文件中使用以下内容。 $cookieParams = array(

我有一个Magento 1.9.1堆栈,它工作正常,但现在当尝试登录到Magento admin dash时,它没有提供“错误的用户名或密码”之类的错误,它只是重新加载登录页面。当我刷新页面时,我会看到仪表板

在此方面的任何帮助都将不胜感激


谢谢。

建议我在中评论以下几行:

app\code\core\Mage\core\Model\Session\Abstract\Varien.php


对于一些较旧的版本,建议在同一文件中使用以下内容。

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

从Chrome的DevTools中清除应用程序存储为我解决了这个问题。
$cookieParams = array(           
  'lifetime' => $cookie->getLifetime(),           
  'path'     => $cookie->getPath(),           
  //'domain'   => $cookie->getConfigDomain()           
  //'secure'   => $cookie->isSecure(),           
  //'httponly' => $cookie->getHttponly()       
);