I seem to be having this problem as well - with 'modules/*/config/
cache.yml:'

It works fine in dev/cache environment, but not in production.

On Dec 31 2009, 3:04 pm, Alexandru-Emil Lupu <[email protected]>
wrote:
> I have Forgot to mention that i am using
> Symfony 1.4.2-DEV
> Php 5.2.1
> Ubuntu Linux 9.10
> Apache 2.2.12
>
> On Thu, Dec 31, 2009 at 9:54 PM, Alexandru-Emil Lupu
> <[email protected]>wrote:
>
>
>
> > HI!
> > I am trying to create a custom handler that would allow me to create
> > routing.yml files inside my each config dir of my app modules.
> > I have tried following things, but none of it worked:
>
> > Phase 1:
>
> > I have created a file called: config_handlers.yml file in my
> > apps/frontend/config dir with following content:
>
> > modules/*/config/routing.yml:
> >   class:    sfRoutingConfigHandler
>
> > I have modified the "sfRoutingConfigHandler" execute method and added an
> > print_r($configFiles); but only the maiin config routing.yml is shown.
>
> > Phase 2:
>
> > I have moved the config_handlers.yml file to project/config/ dir, but this
> > also did not worked.
>
> > Phase 3:
>
> > I have altered the content of the config_handlers.yml file and i have
> > modified the content to:
>
> > modules/*/config/routing.yml:
> >   class:    sfModuleRoutingConfigHandler
>
> > Issue 1:
>
> > Class sfModuleRoutingConfigHandler not found. (i have made a workaround by
> > adding a require in order to include it.
>
> > Issue 2:
>
> > Method execute of the sfModuleRoutingConfigHandler is not being executed.
>
> > <?php
>
> > class sfModuleRoutingConfigHandler extends sfYamlConfigHandler
> > {
> >   public function execute($configFiles)
> >   {
> >     print_r($configFiles);
> >   }
> > }
>
> > Now i am asking:
>
> > Is it a bug?
> > There is any support for it? As the file seems to be added as instance but
> > not included into the execution stream.
> > What i am doing wrong ?
>
> > Thanks.
> > Alecs
>
> > --
> > Have a nice day!
> > Alecs
>
> > As programmers create bigger & better idiot proof programs, so the universe
> > creates bigger & better idiots!
> > I am on web:  http://www.alecslupu.ro/
> > I am on twitter:http://twitter.com/alecslupu
> > I am on linkedIn:http://www.linkedin.com/in/alecslupu
> > Tel: (+4)0748.543.798
>
> --
> Have a nice day!
> Alecs
>
> As programmers create bigger & better idiot proof programs, so the universe
> creates bigger & better idiots!
> I am on web:  http://www.alecslupu.ro/
> I am on twitter:http://twitter.com/alecslupu
> I am on linkedIn:http://www.linkedin.com/in/alecslupu
> Tel: (+4)0748.543.798
-- 
You received this message because you are subscribed to the Google Groups 
"symfony developers" 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-devs?hl=en.


Reply via email to