[symfony-users] Re: symfony2: session handling and varnish

2011-04-25 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hello mauricio, i found no bullet proof thing to control it in general. however, i realized that i had framework.session.auto_start: true in my config.yml i set this to false and now i only get a session if one is started for some specific reason

[symfony-users] Re : Re: Upload file in symfony2

2011-04-25 Thread symfonyMan
Hello, I tried this but, it don't work as i want http://pastebin.com/mz8Ryvir the image file is stored in web server with the temp name and no extension ... Thanks -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received

[symfony-users] Re: Form helper problems in Twig templates: Twig was looking for the with or from keyword

2011-04-25 Thread Skaldrom Y. Sarg
Same problem here. The file TransTokenParser.php has been stripped off several forms of translation-possibilities eg. {% trans foo from bar %} is not supported at the moment. I think and hope that this will work again after the form-merging is over. -- If you want to report a vulnerability

Re: [symfony-users] Re: How to setup an easy upgradeable Symfony2 app

2011-04-25 Thread Jeremiah Dodds
If it helps anyone, here's what I've been doing for a project using symfony2 to keep up with PR releases: I have my project in a git repo. When there's a new PR release, I download that, extract it into a different directory, and copy the .git from my project into it. Then I git

[symfony-users] No route found for GET /_configurator/step' When clicking 'Configure your application...'

2011-04-25 Thread codecowboy
I have installed Symfony2 PR12 which displays the welcome page and demo application. However, when I try to use the configurator, I get the error: # request.ERROR: Symfony\Component\HttpKernel\Exception \NotFoundHttpException: No route found for GET /_configurator/ step (uncaught exception) The

[symfony-users] Re: [sf2] Disable WDT

2011-04-25 Thread Paul Dugas
Bump. There was a way to do this in SF1 but I've not yet figured out a way to do it in SF2. Anybody know how to prevent the developer toolbar from appearing on a page? I'm working with a client-side UI framework (ExtJS) and the toolbar is messing with the layout. I'd like to disable it for

Re: [symfony-users] Re: [sf2] Disable WDT

2011-04-25 Thread Luis Cordova
WDT is a bundle, just disable it and it will go away On Mon, Apr 25, 2011 at 9:27 AM, Paul Dugas p...@dugasenterprises.com wrote: Bump. There was a way to do this in SF1 but I've not yet figured out a way to do it in SF2.  Anybody know how to prevent the developer toolbar from appearing on a

[symfony-users] Re: No route found for GET /_configurator/step' When clicking 'Configure your application...'

2011-04-25 Thread codecowboy
correction, the WebConfiguratorBundle is in vendor/bundles/Symfony/ Bundle entering http://local.symfony2/app_dev.php/_configurator/step/0 gets me to the page where I enter the db details but then If I hit next, I'm back at my original error (with the exception that it is now 'No route found for

Re: [symfony-users] Re: [sf2] Disable WDT

2011-04-25 Thread Paul Dugas
On Mon, Apr 25, 2011 at 10:29 AM, Luis Cordova cordo...@gmail.com wrote: WDT is a bundle, just disable it and it will go away I only want it to go away on one page. P -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received

Re: [symfony-users] Re: [sf2] Disable WDT

2011-04-25 Thread Paul Dugas
On Mon, Apr 25, 2011 at 10:31 AM, Paul Dugas p...@dugasenterprises.com wrote: On Mon, Apr 25, 2011 at 10:29 AM, Luis Cordova cordo...@gmail.com wrote: WDT is a bundle, just disable it and it will go away I only want it to go away on one page. In SF1, I could add sfConfig::set('sf_web_debug',

Re: [symfony-users] Re: [sf2] Disable WDT

2011-04-25 Thread Luis Cordova
check the code bundle you will find it easily, if not fork it, implement the feature and pull request so we can all share it, thanks On Mon, Apr 25, 2011 at 9:36 AM, Paul Dugas p...@dugasenterprises.com wrote: On Mon, Apr 25, 2011 at 10:31 AM, Paul Dugas p...@dugasenterprises.com wrote: On

Re: [symfony-users] Re: How to setup an easy upgradeable Symfony2 app

2011-04-25 Thread Gustavo Adrian
I use the vendors.sh script and I update it to include new vendors. Three simple reasons: 1) It's faster for development. I don't need to download anything from github every time I need to clone my project somewhere else. I just need to download vendors when I want to update them. 2) I don't have

[symfony-users] [symfony2] difference between count(...) and ...-count() in Testing?

2011-04-25 Thread Sebastian Göttschkes
Hi, I'm reading the docs about Testing right now, and I got confused over the usage of count() and -count(): http://symfony.com/doc/2.0/book/testing.html Under the headline Usefull Assertions it says in the first example to use count($crawler-filter($selector)) and in the second line

Re: [symfony-users] [symfony2] difference between count(...) and ...-count() in Testing?

2011-04-25 Thread Jeremiah Dodds
2011/4/25 Sebastian Göttschkes sebastian.goettsch...@googlemail.com Hi, I'm reading the docs about Testing right now, and I got confused over the usage of count() and -count(): http://symfony.com/doc/2.0/book/testing.html Under the headline Usefull Assertions it says in the first example

[symfony-users] Symfony2 exception trying to initalize FOSUserBundle with ODM/MongoDB

2011-04-25 Thread JC
I am using Symfony2 and the latest image from Doctrine that supports ODM/MongoDB. At the time of initialization via the dependency injection, I get the following exception: Fatal error: Uncaught exception 'InvalidArgumentException' with message 'The parameter form.factory.class must be defined.'

[symfony-users] optional sfGuard user_id in plugin

2011-04-25 Thread Martin Settle
Hi all. I am working on an accounting general ledger plugin that I expect to use in some projects I have planned. I would like to have a created_by field in one of my tables set automatically, but only if sfGuardPlugin is in use in the specific application. Is there a way to test if sfGuard is

Re: [symfony-users] Re: No route found for GET /_configurator/step' When clicking 'Configure your application...'

2011-04-25 Thread Erkhembayar Gantulga
this error happened me too. How do i handle it ?. Anyone? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send

[symfony-users] Re: optional sfGuard user_id in plugin

2011-04-25 Thread Roman Sichny
if ($user instanceOf sfGuardSecurityUser) ... -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to