php - Front controller reached 100 router match iterations, cannot access Magento admin panel -


my frontend working absolutely fine cannot access admin panel.

i getting following error:

front controller reached 100 router match iterations trace: #0 /hermes/bosnaweb04a/b763/ipg.xxx/app/code/core/mage/core/controller/varien/front.php(183): mage::throwexception('front controlle...') #1 /hermes/bosnaweb04a/b763/ipg.xxx/app/code/core/mage/core/model/app.php(354): mage_core_controller_varien_front->dispatch() #2 /hermes/bosnaweb04a/b763/ipg.xxx/app/mage.php(683): mage_core_model_app->run(array) #3 /hermes/bosnaweb04a/b763/ipg.xxx/index.php(87): mage::run('', 'store') #4 {main} 

any appreciated.

thanks.

i follow this tutorial fix issue. first, seen message, problem occurs because routers making circular references dispatching requests. 1 of them matches request, doesn’t dispatch , pushes redispatch again. or no router matches request @ all. can more information going magento core file app/code/core/mage/core/controller/varien/front.php, find there lines:

while (!$request->isdispatched() && $i++<100) {     foreach ($this->_routers $router) {         if ($router->match($this->getrequest())) {             break;         }     } } 

and replace them with

mage::log('----matching routers------------------------------'); mage::log('total ' . count($this->_routers) . ': ' . implode(', ', array_keys($this->_routers))); while (!$request->isdispatched() && $i++<100) {     mage::log('- iteration ' . $i);     $requestdata = array(         'path_info' => $request->getpathinfo(),         'module' => $request->getmodulename(),         'action' => $request->getactionname(),         'controller' => $request->getcontrollername(),         'controller_module' => $request->getcontrollermodule(),         'route' => $request->getroutename()     );      $st = '';     foreach ($requestdata $key => $val) {         $st .= "[{$key}={$val}]";     }     mage::log('request: ' . $st);     foreach ($this->_routers $name => $router) {         if ($router->match($this->getrequest())) {             mage::log('matched "' . $name . '" router, class ' . get_class($router));             break;         }     } } 

after wait site produce error, open var/log/system.log , see there debugging information going on inside system. see more better, router breaks system.


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -