Solved!

This is due to the segment separator. By default, the separators are
"/" and ".", so the "-" has to be added.

I just added this to "options":

segment_separators: [/,.,-]


On 5 feb, 18:24, HiDDeN <[email protected]> wrote:
> I'm having this error when I call this kind of route:
>
> my_route:
>   url:     /:variable1-:variable2.html
>   param:   { module: my_module, action: index }
>
> The error:
> 500 | Internal Server Error | Exception
> sfRoute::serialize() must return a string or NULL
>
> I'm using Symfony 1.4.1  (I have also tried the latest SVN version
> available today)
>
> Why?

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.

Reply via email to