I add some info:

This are my routes:

textos:
  class: sfDoctrineRouteCollection
  options:
    model:                Textos
    module:               textos
    prefix_path:          textos
    column:               pagina

    with_wildcard_routes: true

# default rules
homepage:
  url:   /
  param: { module: textos, action: index }


And my model:

Textos:
  columns:
    pagina:
      type: string(10)
      primary: true
    mostrar:
      type: string(10)
      notnull: true
    orden:
      type: integer
      notnull: true

    titulo:
      type: string(60)
      notnull: true
    cuerpo:
      type: string(5000)
      notnull: true



When I go to http://localhost/backend_dev.php/staff/someid/edit, I get a 404
Error with the "Empty module and/or action after parsing the URL
"/staff/someid/edit" (/)." message.

What could be causing the problem? (See previous message for more details)

Nacho.-


2009/4/6 NachoCual <[email protected]>

>
> Hello. This is my first message in the list, as I'm taking my first
> steps with symfony. I searched for an answer both in google and in
> this list, but I couldn't find anything. Anyway, sorry if it has been
> already asked, or if a too silly question.
>
> I'm trying to make a doctrine admin module for a class, and there's
> some error in the automatic generated routing (the homepage route
> works fine, the sfDoctrineRouteCollection is what's giving me
> trouble). My guess is it's because the class doesn't have an integer
> key, but a string one, because it worked fine when I was doing the
> Jobeet tutorial and I can't find any differences besides this. Am I
> correct? Or should I look somewhere else?
>
> Thanks!
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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