[symfony-users] Symfony2 - Twig Extension - Passing Request to Twig Function via Services Config

2011-03-10 Thread DEE
Hello- I have a services.xml file for a bundle containing a service for a twig extension configured as shown in the gist below: https://gist.github.com/ffc7f31a043acf57aa70 I get an error like this when loading a twig template Fatal error: Uncaught exception 'RuntimeException' with message 'Sco

[symfony-users] Is 3 weeks normal for a bugfix? Simply curious

2010-05-10 Thread DEE
Hello- Being it was my first time creating a ticket in Trac for symfony, can anyone confirm I am have not done anything wrong in terms of reporting? http://trac.symfony-project.org/ticket/8568 I don't know what the normal turnaround on (what I think is) a legitimate bug being fixed is, but being

[symfony-users] Re: Adding custom :sf_format - incorrect headers sent

2010-05-04 Thread DEE
Did you test it in the production environment? .. The debug toolbar > isn't added in prod so maybe this is the point? > > On 30 dub, 14:20, DEE wrote: > > > > > > > 'csv' is not a supported default :sf_format within symfony's core, and > &

[symfony-users] Re: Adding custom :sf_format - incorrect headers sent

2010-04-30 Thread DEE
Adding $this->getResponse()->setContentType('text/csv'); and then later return sfView::NONE; does seem to solve the issue, however, I am still unclear why the ContentType header is not being set properly coming from my app's factories.yml file. On Apr 30, 8:20 am, DEE wr

[symfony-users] Re: Exporting data to CSV (+Doctrine)

2010-04-30 Thread DEE
On Apr 29, 3:41 am, "NOOVEO - Christophe Brun" wrote: > @Eno : Yes, I tried commenting only some of thse lines instead of all three > but it still goes in error. > @Gareth :  Useful link, I was not aware of this function, thanks ! But here, > I cant' use that because I want to send the data to

[symfony-users] Adding custom :sf_format - incorrect headers sent

2010-04-30 Thread DEE
'csv' is not a supported default :sf_format within symfony's core, and this is a contenttype I wanted to serve up from a route with a default 'html' format. http://www.symfony-project.org/blog/2008/06/09/how-to-create-an-optimized-version-of-your-website-for-the-iphone-in-symfony-1-1 Going by wha