Created
September 23, 2011 08:54
-
-
Save behrendtio/1236977 to your computer and use it in GitHub Desktop.
Ecomdev_PHPUnit Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// PHP Fatal error: Call to a member function getFrontNameByRoute() on a non-object in /var/www/magento-testing/magento/app/code/core/Mage/Core/Controller/Varien/Front.php on line 199 | |
// Seems like $routesinfo does not contain admin and standard | |
// Mage_Core_Controller_Varien_Front | |
// This hack would work: | |
$routersInfo = Mage::app()->getConfig()->getNode('default/web/routers')->asArray(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment