配置页面上出现404错误


Answers:


9

出现此现象的原因是Magento在admin用户的会话中缓存了ACL。这是来自的相关行Mage_Admin_Model_Session::login()

$this->setAcl(Mage::getResourceModel('admin/acl')->loadAcl());

您可以使用以下代码重新加载(“刷新”)ACL缓存:

$session = Mage::getSingleton('admin/session');
$session->setReloadAclFlag(true);
$session->refreshAcl();
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.