Symfony: Weird routing issue

Posted by Tom on Stack Overflow See other posts from Stack Overflow or by Tom
Published on 2010-04-02T18:06:08Z Indexed on 2010/04/02 18:13 UTC
Read the original article Hit count: 339

Filed under:
|
|
|
|

Hi,

I've got following URL in symfony (specifics not important):

/frontend_dev.php/something/25/apple

... and a routing rule:

/something/:id/:word

The URL works fine when clicked through to on the site, but not when I type in the URL. Instead, symfony says:

Unable to find a matching route to generate url for params "NULL".

The weird thing is that I can navigate to this page and it works, but when hitting Enter in the browser address bar, it no longer finds it.

Any thoughts on what might be the cause of something like this generally?

I should also add that the URL was working fine when typed in the address bar earlier, but doesn't anymore, and I'm not sure what's there that might be interfering with it.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about symfony

Related posts about routing