Magento错误:Mage注册表项"控制器"已经存在

时间:2016-06-17 15:58:15

标签: php security magento restore

我有这个运行Magento的网站。 index.php文件输出一个电子邮件列表和加密的东西,似乎是一个密码。 我已经注明了红色的敏感信息。

enter image description here

- 所有网址都会导致内部服务器错误500

- 我已经完成了许多网站推荐的逐步验证,例如:{https://techjam.gr/2012/magento/solve-magento-500-internal-server-errors/][2]但它根本没有解决问题。

我在/ var / report上找到的错误消息如下:我真的不明白这意味着什么。

a:5:{i:0;s:45:
"Mage registry key "controller" already exists"
;i:1;s:631:"
#0 /home/filomena/public_html/app/Mage.php(223): Mage::throwException('Mage registry k...')
#1 /home/filomena/public_html/app/code/core/Mage/Core/Model/App.php(747): Mage::register('controller', Object(Mage_Core_Controller_Varien_Front))
#2 /home/filomena/public_html/app/code/core/Mage/Core/Model/App.php(1094): Mage_Core_Model_App->_initFrontController()
#3 /home/filomena/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Model_App->getFrontController()
#4 /home/filomena/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#5 /home/filomena/public_html/index.php(87): Mage::run('', 'store')
#6 {main}"
;s:3:"url";s:1:"/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}
  • 我无法打开管理面板,我也收到内部服务器错误500
  • 我想知道是否有从这类问题中恢复的指南。
  • 我被黑了吗?

1 个答案:

答案 0 :(得分:0)

尝试刷新整个Magento缓存。如果您使用Redis,请通过SSH连接到服务器,然后: Redis的-CLI flushall 出口

如果不是,请从以下位置删除所有文件和目录:magento_root_dir / var / cache