Search code examples
phproutessymfony1doctrinejobeet

Removing default routing in symfony causes internal server error


Error Message: The route "default" does not exist.

Yes, it doesn't exist. But as described in the Doctrine version of "Practical Symfony | Day 5" everything should work well when default routing is removed, because all actions of the job module has been successfully routed by other routers.

I get the error when I request the URL below which is routed by a router other then the default one. ...jobeet.localhost/frontend_dev.php/job/sensio-labs/paris-france/1/web-developer

I'd be glad, if anyone would help me solving this issue. Thanks!


Solution

  • It sounds like you still have something referencing the 'default' route in your application or template code, maybe in a redirect, link_to or url_for function call. If you could post the first few lines of the stack trace I can be more specific.