I recently took over a symfony project that had already been built. I can't make sense of the setup they are using here. How do I get symfony to recognize the simple "reports" module?
There is a backend application with module "reports" with no designation in the schema. This module includes nothing but the default setup after running this command. php symfony generate:module backend reports For better or worse it appears the backend application is using the routing.yml to direct each module being used. "reports" module is absent from routing.yml and no matter how I try to include it I get an "oops" page and these errors in the logs. [19-May-2009 14:21:33] Action "reports/index" does not exist. [19-May-2009 14:21:34] Action "sf/sf_default" does not exist. [19-May-2009 14:21:34] Action "sf/sf_default" does not exist. [19-May-2009 14:21:34] Action "sf/sf_default" does not exist. The following is the "routing.yml" file. office: class: sfPropelRouteCollection options: model: Office module: office prefix_path: office column: id with_wildcard_routes: true customer: class: sfPropelRouteCollection options: model: Customer module: customer prefix_path: customer column: id with_wildcard_routes: true invoice: class: sfPropelRouteCollection options: model: Invoice module: invoice prefix_path: invoice column: id with_wildcard_routes: true card: class: sfPropelRouteCollection options: model: CreditCard module: card prefix_path: card column: id with_wildcard_routes: true user: class: sfPropelRouteCollection options: model: sfGuardUser module: user prefix_path: user column: id with_wildcard_routes: true payout: url: /payout class: sfRequestRoute param: { module: payout, action: index } # default rules homepage: url: / param: { module: office, action: index } default_index: url: /:module param: { action: index } default: url: /:module/:action/* --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---