Hi there! I'm testing ZF2 a "site" project here using the zend skeleton from github and got to a weird situation.
When I type a wrong address (http://mysite.localhost/site/this_is_wrong) Zend throws an exception informing the missing 'not-found' file. I spent a lot of time trying to figure out what the hell's was going on, untill I placed a file "not-found.phtml' inside my module view folder and got things working. I searched the souce code and found this: $routeMatch = $e->getRouteMatch(); $controllerName = $routeMatch->getParam('controller', 'not-found'); $events = $this->events(); inside "vendor/ZendFramework/library/Zend/MVC/Application" insdide the dispatch method. I can't find a way to disable it by default. Any clue? ----- It's not about dreams, it's all about you! -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/ZF2-not-found-tp4514019p4514019.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
