Magento CMS 错误 : Front controller reached 100 router match iterations

标签 magento

当我通过 CMS(在管理中)创建页面时,一切看起来都很好,但是当我尝试访问前端中的页面时,我得到一个带有错误的空白页面:

Front controller reached 100 router match iterations

#0 ..\app\code\core\Mage\Core\Controller\Varien\Front.php(183): Mage::throwException(’Front controlle...’) 
#1 ..\app\code\core\Mage\Core\Model\App.php(340): Mage_Core_Controller_Varien_Front->dispatch() 
#2 ..\app\Mage.php(627): Mage_Core_Model_App->run(Array) 
#3 ..\index.php(80): Mage::run(’’, ‘store’) 
#4 {main}

有什么想法吗?

谢谢!

最佳答案

我们过去曾遇到过此错误。这是由于Magento没有加载Cms模块引起的。系统中没有路由器与该 URL 匹配,因此默认路由器将路径设置为管理面板中设置的 404 页面。默认值是 Cms 索引 Controller ,因此如果未加载 Cms 模块,则会陷入无限循环。

原因有点难以猜测。在我们的例子中,我们发现当系统处于高负载时缓存会损坏,因此我们清除了缓存目录。可以通过运行 rm -rf var/cache/mage--* 直到页面成功加载来修复它。另一个原因是禁用 app/etc/modules 中的 cms 模块。

关于Magento CMS 错误 : Front controller reached 100 router match iterations,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8929960/

相关文章:

magento - 我如何获得当前商店的运输方式 : Magento

Magento:如何在观察者内部合并两个集合?

magento - Magento ORM 中的聚合函数

javascript - 在 CDN 上托管皮肤文件时可能出现 Javascript 问题

php - 使用 Zend_Pdf 时出现 PDF 文档错误

magento - magento退款时如何更改订单状态?

magento - Magento购物车价格规则计算错误

php - 根据 URL 字符串隐藏内容 (PHP)

Magento - 错误日志(客户端被服务器拒绝)

php - magento 打印友好的产品页面