[symfony-users] IMPORTANT: Getting help on symfony1 or Symfony2

2011-06-23 Thread Fabien Potencier
lp-on-symfony1-or-symfony2 Fabien -- Fabien Potencier Sensio CEO - Symfony lead developer sensiolabs.com | symfony.com | fabien.potencier.org Tél: +33 1 40 99 80 80 -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this me

Re: [symfony-users] Re: Any chance of creating a new Google group for Symfony2 only?

2011-06-21 Thread Fabien Potencier
Dodds wrote: 2011/6/21 Fabien Potencier I've been thinking about this mailing-list issue a lot during the last few months and I'm still convinced that creating more mailing-lists is not the right solution. Anyway, as many people think the contrary, here is what I propose now: We cr

Re: [symfony-users] Re: Any chance of creating a new Google group for Symfony2 only?

2011-06-21 Thread Fabien Potencier
or all current subscribers. Cheers, Fabien Regards Georg Am 10.06.2011 07:24, schrieb Fabien Potencier: On 6/9/11 10:17 PM, Chris Sedlmayr wrote: Hi all, I don't think we are against the idea of creating a Symfony2 specific group, but we must ensure that finding help in the right place

Re: [symfony-users] Recursive Routing in Symfony 2

2011-06-20 Thread Fabien Potencier
On 6/20/11 5:15 PM, ddanninger wrote: Hi, iam wondering is it possible to use recursive routing like: /service/folder1 /service/folder1/folder2/folder3 /service/folder1/folder2/../folder10 Just found information for symfony 1.4 so as the routing is different in 2.0 i would be pleased to g

Re: [symfony-users] Recursive Routing in Symfony 2

2011-06-20 Thread Fabien Potencier
On 6/20/11 5:15 PM, ddanninger wrote: Hi, iam wondering is it possible to use recursive routing like: /service/folder1 /service/folder1/folder2/folder3 /service/folder1/folder2/../folder10 Just found information for symfony 1.4 so as the routing is different in 2.0 i would be pleased to g

Re: [symfony-users] [beta5] routing problem, problem with generated file ../../app/cache/dev/appdevUrlMatcher.php

2011-06-17 Thread Fabien Potencier
Can you send me the generated appdevUrlMatcher.php file? Fabien -- Fabien Potencier Sensio CEO - Symfony lead developer sensiolabs.com | symfony.com | fabien.potencier.org Tél: +33 1 40 99 80 80 On 6/17/11 11:58 AM, Michael Holm wrote: Hi, I have a major problem with my routings, i've

Re: [symfony-users] [Beta4] Handle file upload with array data

2011-06-15 Thread Fabien Potencier
On 6/15/11 12:29 PM, dbenjamin wrote: Hi, I'm trying to handle multiple file uploads with a binded array. // FilesType $builder ->add('photo1', 'file', array(type' => 'file')) ->add('photo2', 'file', array('type' => 'file')) ->add('photo3', 'file', array('type' => 'file')) ; // controller $fil

Re: [symfony-users] [symfony2] file upload example?

2011-06-13 Thread Fabien Potencier
On 6/11/11 12:24 PM, Ruben de Vries wrote: Are there any bundles on github that demonstrate a fileupload? I'm trying to implement handling the fileupload but I'm not really sure how to do it 'the symfony way' So some source code to dig through on github would be really helpfull (A) https://gi

Re: [symfony-users] [symfony2] file upload example?

2011-06-11 Thread Fabien Potencier
I'm working on updating the documentation to include an exmaple of a file upload with and without Doctrine. It should be available on Monday. Fabien -- Fabien Potencier Sensio CEO - Symfony lead developer sensiolabs.com | symfony.com | fabien.potencier.org Tél: +33 1 40 99 80 80 On 6/

Re: [symfony-users] Re: Any chance of creating a new Google group for Symfony2 only?

2011-06-09 Thread Fabien Potencier
On 6/9/11 10:17 PM, Chris Sedlmayr wrote: Hi all, I don't think we are against the idea of creating a Symfony2 specific group, but we must ensure that finding help in the right place is the main priority. I'm against creating a Symfony2 specific group. If we were to create a new group, then i

Re: [symfony-users] Re: getting a fatal error using swiftmailer

2011-06-04 Thread Fabien Potencier
On 6/3/11 10:58 PM, Roger Webb wrote: I went through this *exact* issue and found an answer on the list. You *MUST* retrieve the "mailer" before creating a new Swift_Message $mailer = $this->get('mailer'); $message = \Swift_Message::newInstance()->... Correct. This will not be needed anymore

Re: [symfony-users] Any chance of creating a new Google group for Symfony2 only?

2011-05-16 Thread Fabien Potencier
On 5/16/11 7:15 PM, keymaster wrote: Having all the symfony 1.x releases mixed in with Symfony 2 posts can sometimes make it difficult to discern which Symfony people are talking about in their posts. Not everyone is explicit on whether they are referring to Symfony1 or Symfony2. This is not on

Re: [symfony-users] Symfony2 localized homepage

2011-05-14 Thread Fabien Potencier
This was a bug that has been fixed in master (or in the upcoming beta2). -- Fabien Potencier Sensio CEO - Symfony lead developer sensiolabs.com | symfony.com | fabien.potencier.org Tél: +33 1 40 99 80 80 On 5/14/11 9:37 PM, Dmitry Bykadorov wrote: Env: app/config/config.yml: session

Re: [symfony-users] [Symfony2] Documentation - Community Contributed Suggestions

2011-05-11 Thread Fabien Potencier
On 5/11/11 6:06 PM, Christophe COEVOET wrote: Le 11/05/2011 17:45, keymaster a écrit : The documentation is slowly improving, thanks very much to those involved. Symfony2 is a huge framework, and the documentation undertaking is understandably difficult. The documentation team have really done

Re: [symfony-users] Doctrine ORM: Non-existent service "registry"

2011-05-05 Thread Fabien Potencier
On 5/5/11 2:34 PM, Leo Jokinen wrote: Le 05/05/2011 14:06, Leo Jokinen a écrit : Hi, I followed Symfony book and got the error: You have requested a non- existent service "registry" The registry is only available as of beta2, which is to be released. Fabien My code: public function indexA

Re: [symfony-users] [Symfony2][Forms] Object value in Twig template

2011-05-05 Thread Fabien Potencier
On 5/5/11 11:29 AM, Bernhard Schussek wrote: 2011/5/5 Don Pinkster: Awesome, thanks! Maybe possible to make a shortcut for this? Like: {{ form.name.value }} No, this would break consistency. Better documentation should solve this problem. Can someone create a ticket so that we can update the

Re: [symfony-users] doctrine:generate:repositories not found

2011-05-04 Thread Fabien Potencier
It's now done in the dotrine:generate:entities command. -- Fabien Potencier Sensio CEO - Symfony lead developer sensiolabs.com | symfony.com | fabien.potencier.org Tél: +33 1 40 99 80 80 On 5/4/11 3:58 PM, umpirsky wrote: Looks like there is no doctrine:generate:repositories comma

Re: [symfony-users] doctrine:generate:repositories

2011-04-30 Thread Fabien Potencier
On 4/30/11 9:25 PM, Sergio Perez wrote: Hi everybody, After import (doctrine:mapping:import) from a existing database, I try to create the repositories with app/console doctrine:generate:repositories MyBundle and I get “SKIP no custom repository for MyBundle\Entity\entityname What does it mean

Re: Aw: Re: Aw: Re: [symfony-users] DoctrineMongoDBBundle missing in Beta1?

2011-04-29 Thread Fabien Potencier
On 4/29/11 4:57 PM, Conrad wrote: ok Thanks, then I need to roll back to pr12 and wait for it to be avaiable No need to rollback to PR12. It won't change anything. The MongoDB bundle is not compatible with Symfony 2.0 and won't be until Doctrine 2.1 is released. Fabien -- If you want to r

Re: Aw: Re: [symfony-users] DoctrineMongoDBBundle missing in Beta1?

2011-04-29 Thread Fabien Potencier
On 4/29/11 4:48 PM, Conrad wrote: Thanks Fabien, since I started my project a couple of weeks ago, I always used the latest doctrine-common instead with the one symfony comes with and never had bigger problems with annotations (except creating indexes and sometimes validation) - do you think ther

Re: [symfony-users] DoctrineMongoDBBundle missing in Beta1?

2011-04-29 Thread Fabien Potencier
On 4/29/11 4:31 PM, Conrad wrote: I was just trying to update my project from pr12 to beta and found out that the DoctrineMongoDBBundle is missing... did it move somewhere else? Where can I get it? As the release timeline for the MongoDB bundle is different from Symfony2, it has been moved int

Re: [symfony-users] Re: The attribute "key" must be set for path "doctrine.dbal.connections.default.driverOptions"

2011-04-28 Thread Fabien Potencier
On 4/28/11 2:53 PM, Noel GUILBERT wrote: I'm suspecting a bug with this configuration entry. I cannot figure out the problem, but with this config it's working: doctrine: dbal: driver: %database_driver% host: %database_host% dbname: %database_name%

Re: Re : Re: Re : Re: [symfony-users] [sf2] Access to current route

2011-04-27 Thread Fabien Potencier
On 4/27/11 9:54 AM, winzou wrote: Unfortunatly there isn't the "requirements" parameter of the route in the request attributes. That's why I'm only fetching the name of the route from the request attributes, and then use it to retrieve the Route from the RouteCollection, to finaly reach the requ

Re: Re : Re: [symfony-users] [sf2] Access to current route

2011-04-26 Thread Fabien Potencier
On 4/26/11 5:35 PM, winzou wrote: My aim is to change the RequestFormat if there is a P-JAX header defined, but only if the route requirement of _format (or _method or whatever) allows it. In other words, I want the route config file to decide if I can render a different template for my action (

Re: [symfony-users] [sf2] Access to current route

2011-04-26 Thread Fabien Potencier
On 4/26/11 4:47 PM, winzou wrote: Hi all, I didn't manage to find an easy way to retrieve the current matched route. I'm from an onCoreController listener, but the question is for everywhere else. The only way I found is that one : $this->router->getRouteCollection()->get($event->getRequest()->a

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

2011-04-26 Thread Fabien Potencier
fixed now. -- Fabien Potencier Sensio CEO - Symfony lead developer sensiolabs.com | symfony.com | fabien.potencier.org Tél: +33 1 40 99 80 80 On 4/26/11 10:32 AM, Erkhembayar Gantulga wrote: I loaded vendors.sh, then submit " The options "page_id" do not exist". -- If

Re: [symfony-users] Symfony2 returning a JSON object

2011-04-26 Thread Fabien Potencier
On 4/24/11 2:57 PM, stickaforkinme wrote: I'm sure this is a really really stupid question but I can't seem to find a clean way to return a JSON object, i.e. by not calling a controller and just returning the result of json_encode. This was easy is Symfony 1.x but I have no idea how to do it in S

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

2011-04-26 Thread Fabien Potencier
This has been fixed now. -- Fabien Potencier Sensio CEO - Symfony lead developer sensiolabs.com | symfony.com | fabien.potencier.org Tél: +33 1 40 99 80 80 On 4/25/11 4:19 PM, codecowboy wrote: I have installed Symfony2 PR12 which displays the welcome page and demo application. However, when I

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

2011-04-26 Thread Fabien Potencier
On 4/25/11 10:11 PM, Sebastian Göttschkes wrote: 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-

Re: [symfony-users] chance in the logo the symfony2??

2011-04-21 Thread Fabien Potencier
On 4/21/11 9:19 AM, Helysm wrote: Greetings Symfoneros In one of my wanderings through the web page comes to a foundation called Dojo Foundation, and immediately I noticed the great similarity with the logo of them with the new style also symfony page. http://dojofoundation.org/ The logos are

[symfony-users] Re: notice: serialize() __sleep

2011-04-17 Thread Fabien Potencier
On Apr 16, 4:46 am, Luis Cordova wrote: > I am getting a notice: > > Notice: serialize(): "sessionverses" returned as member variable from > __sleep() but does not exist in > /home/cordoval/sites-2/memorizescripture/vendor/symfony/src/Symfony/Compone > nt/Security/Core/Authentication/Token/Abst

Re: [symfony-users] Re: [Symfony2] PR8->current: Unable to find the controller for path "/login_check"

2011-04-05 Thread Fabien Potencier
Have you update your security configuration? All regexes must now be "complete": Before: profiler: pattern: /_profiler/.* After: profiler: pattern: ^/_profiler More information here: https://github.com/symfony/symfony/blob/master/UPDATE.md Fabien -- Fabien

Re: [symfony-users] [Symfony2] I ~think I found a bug. I need your advice before submitting the issue.

2011-03-31 Thread Fabien Potencier
On 4/1/11 3:09 AM, oscar balladares wrote: Hi everybody, as I mentioned I think I found a bug in the Request component. Before submitting the issue I need you to confirm or advice me if this is really a bug and not a feature or misusing. I resume, I have a main layout, which render a controller'

Re: [symfony-users] Re: EntityChoiceField - Is it going away?

2011-03-28 Thread Fabien Potencier
On 3/28/11 10:36 PM, Roger Webb wrote: It's gone of the api.symfony-reloaded.org/master documentation. I see it here now: http://api.symfony.com/2.0/Symfony/Component/Form/EntityChoiceField.html I take it the symfony-reloaded one is no longer being maintained. It might be a good idea to tak

Re: [symfony-users][Symfony2]Multiple routes in annotations

2011-03-26 Thread Fabien Potencier
On 3/26/11 5:55 PM, georg wrote: Hi, has this been solved or has a solution been found? I'm also very interested in achieving the same thing as Mark. /** * @extra:Routes({ * @extra:Route("/index"), * @extra:Route("/index.{_format}") * }) */ public function indexAction() { return a

Re: [symfony-users] Re: Overriding Error Templates

2011-03-26 Thread Fabien Potencier
On 3/26/11 2:36 PM, weaverryan wrote: Hey guys- The docs are correct for the latest master. If you're using PR8 (and probably PR7), use the following path: app/FrameworkBundle/view/Exception/error.html.twig This is the right path but unfortunately it was not working under PR7 and PR8.

Re: [symfony-users] Controller naming format (confusing)

2011-03-10 Thread Fabien Potencier
On 3/10/11 7:39 PM, Hany El-Kerdany wrote: Dear All, I was reading in the Symfony2 book, specifically the controller naming format in the Routing chapter, and the following question keeps jumping in my head. The documentation mentions: The routing path: /SensioBlogBundle:Blog:show/ Means that t

Re: [symfony-users] [Symfony2]

2011-02-25 Thread Fabien Potencier
On 2/25/11 11:39 PM, Alex Pilon wrote: Hey, I cloned symfony2 sandbox from git and set up a virtual host pointing to the web directory. It pretty well worked out of the box except: http://symfony2.local/app_dev.php Gives me an error that says URL "" is not valid (it does not start with a /).

Re: [symfony-users] [Symfony 2] Embedding Controller to Template

2011-02-25 Thread Fabien Potencier
On 2/25/11 6:08 PM, Jan Eichhorn wrote: Hi, i've read the Documentation about Templating with Twig. In the Section: Embedding Controllers is mentioned that controllers could be used with the include tag. But this dosen't work so far. I try this: {% include 'PageBundle:Meta:mainNavigati

Re: [symfony-users] [PR6] Using ESI tag renders nothing

2011-02-23 Thread Fabien Potencier
On 2/23/11 7:37 AM, Christophe Beyer wrote: I found the right syntax : http://docs.symfony-reloaded.org/master/guides/cache/http.html#symfony2-reverse-proxy-configuration In the app.config section (not framework) : esi: enabled: true But now, I have this error in the area rendered by the ESI ta

Re: [symfony-users] [Symfony2] Generate application

2011-02-22 Thread Fabien Potencier
On 2/22/11 3:38 PM, Tipoun wrote: Hello, I am a Symfony1 user. Today, I try Symfony2 but I don't understand how to create an application when I use source code from https://github.com/symfony/symfony I know there is a sandbox, but I would like to know how to create an application from scratch.

Re: [symfony-users] [Symfony 2 / Twig] Design issue for templates in a CMS context

2011-02-13 Thread Fabien Potencier
On 2/12/11 12:12 PM, dbenjamin wrote: Hi, I just can't find a way to achieve an use case with a modular project and Twig. Maybe i'm missing something. Let's consider a CMS context and a NewsBundle bundle ("module"). The user can create a page in his website structure, i.e : "News item page". T

Re: [symfony-users] [symfony 2] Homepage route matches everything after updating vendors

2011-02-04 Thread Fabien Potencier
On 2/4/11 8:25 AM, phil0 wrote: After updating my vendors recently, a few things has happened to my project: * The homepage route seems to now be matching everything, so that no matter the url, the homepage is shown. * Any calls to $view['router']->generate(...) in the dev environ

Re: [symfony-users] Re: symfony2 : 3rd-party libraries

2011-01-31 Thread Fabien Potencier
On 2/1/11 7:59 AM, Adrien Mogenet wrote: Yes, this is the whole class name SF2 is attempting to load... Despite I declared this class using "prefixes" in autoloader. I agree this is not very logical, (at least, not so transparent) but I don't think this could be a bug in autoloader. Please re

Re: [symfony-users] [S2PR5] ESI tag syntax in Twig file

2011-01-25 Thread Fabien Potencier
On 1/25/11 2:17 PM, Christophe BEYER wrote: Hello, I want to use ESI tag on my S2 (PR5) website, in Twig templates. It seems not working, and I think the documentation is wrong : http://docs.symfony-reloaded.org/guides/cache/http.html?highlight=standalone#using-edge-side-includes {% render '..

Re: [symfony-users] Re: Symfony2 Twig Helpers and _view variable

2011-01-24 Thread Fabien Potencier
() }}) * register a global variable (so you have {{ foo.bar() }}) Fabien On 24 jan, 00:48, Fabien Potencier wrote: On 1/24/11 5:20 AM, Jérôme TEXIER wrote: Hello, sincehttps://github.com/symfony/symfony/commit/b60d254be2f9b9a8b1340a8f7b4... _view variable no more exist on templates. Before PR5, I

Re: [symfony-users] Symfony2 Twig Helpers and _view variable

2011-01-23 Thread Fabien Potencier
On 1/24/11 5:20 AM, Jérôme TEXIER wrote: Hello, since https://github.com/symfony/symfony/commit/b60d254be2f9b9a8b1340a8f7b40270748692ca5 _view variable no more exist on templates. Before PR5, I was using this variable to access to some injected Twig helper functions. It doesn't seem really clea

Re: [symfony-users] sf2 + sf2Forms + Twig over escaping issue

2011-01-12 Thread Fabien Potencier
On 1/12/11 1:45 PM, OlegZinchenko wrote: In my form I have next: $this->add(new DateField('dateBefore')); in Twig template I have next: {% for field in form %} {{ field|render_label }} {{ field|render }} {% endfor %} as result I have next view, IMO it`s twig issu

Re: [symfony-users] Test suite of symfony 2

2010-12-14 Thread Fabien Potencier
On 12/14/10 1:21 PM, Alessandro Nadalin wrote: Hi Fabien, 2010/12/14 Fabien Potencier: You must use the latest stable version of PHPUnit. Sorry, terrible mistake of mine. But after upgrading to 3.5.5 I get, as previously: PHP Fatal error: Cannot redeclare class FooClass in /var/www

Re: [symfony-users] Test suite of symfony 2

2010-12-14 Thread Fabien Potencier
You must use the latest stable version of PHPUnit. -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 12/14/10 11:00 AM, Alessandro Nadalin wrote: Hi Fabien, 2010/12/14 Fabien Potencier: Which version

Re: [symfony-users] Test suite of symfony 2

2010-12-14 Thread Fabien Potencier
Which version of PHPUnit do you use? -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 12/13/10 12:43 PM, odino wrote: Hi guys, I was trying to fix a bug on Sf2 tracker. To do that I needed to build

Re: [symfony-users] Re: Setter injection in controllers

2010-12-08 Thread Fabien Potencier
That is definitely weird. Can you create a ticket? Thanks, Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 12/8/10 12:42 PM, benjamin.dulau wrote: In fact, i think there is an issue here. The

Re: [symfony-users] Re: inject a dependency in constructor at runtime

2010-12-07 Thread Fabien Potencier
On 12/6/10 9:06 PM, Florian wrote: Ok I should have reformulated my question: I know it's actually impossible to do that, but the goal of my question is: How to bypass the problem ? A Paginator is probably not an object you want to manage with the DIC. The DIC is good at managing "global" obj

Re: [symfony-users] Learning Symfony2 is difficult because...

2010-12-07 Thread Fabien Potencier
On 12/7/10 1:24 AM, Flukey wrote: Also, from reading a presentation (http://www.slideshare.net/jwage/ symfony2-and-doctrine2-integration) i'm confused about actions. In this slideshow it says the action should extend the sfDoctrineController. Should I use that? The Doctrine controller has been

Re: [symfony-users] Symfony taking a beating in favorite-PHP-framework poll

2010-12-02 Thread Fabien Potencier
On 12/3/10 2:53 AM, Tom Boutell wrote: Hey guys, Symfony is taking a real beating in this poll: http://whatshallwe.com/s/b1d75e0a72d66218 As a Symfony fan (and as the author of the poll app, which is written *in* Symfony), I am shamelessly appealing to you to jump in and vote (: Those polls d

Re: [symfony-users] [SF2] Tiny thoughts

2010-11-30 Thread Fabien Potencier
On 11/29/10 7:22 PM, Lideln wrote: Hi there, I just read the entire Symfony 2 quick tour. I found many useful and smart things, which are great ! But I also wondered about a few (tiny) things, that are more about ease of use. Hope I get an answer here :) The answer: Explicit is always better t

Re: [symfony-users] [Symfony 2] Custom validator with a boolean option?

2010-11-27 Thread Fabien Potencier
On 11/27/10 5:20 AM, Gustavo Adrian wrote: Ok, I wanted to start my contribution with this little issue. It's a small fix so it's a great way to learn how to contribute. I'm not very familiarized with github, and I've been working with git for a few weeks. I've followed the steps shown on the doc

Re: [symfony-users] [Symfony2] Twig

2010-11-21 Thread Fabien Potencier
On 11/21/10 8:22 PM, noel guilbert wrote: You can get it through the _view variable: {{ _view.request.getParameter('page') }} Never use _view. It's not documented and can be removed any time. Fabien ++ Noel On Sun, Nov 21, 2010 at 7:58 PM, Francis Besset mailto:francis.bes...@free.fr>> wro

Re: [symfony-users] [Symfony2] Twig

2010-11-21 Thread Fabien Potencier
Pass the request as an argument to the template. -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 11/21/10 7:58 PM, Francis Besset wrote: Hi all, I am currently creating my project with Symfony2. I

Re: [symfony-users] [Symfony2] Security Component : absolute path of redirections

2010-11-13 Thread Fabien Potencier
On 11/13/10 4:03 PM, gordonslondon wrote: Hi, My login page is on: http://www.example.com/login My Account page is on: http://secure.example.com/admin/ The firewall rule is: /admin/* When i'm not logged in and go to: http://secure.example.com/admin/ this redirects me to http://secure.example.c

Re: [symfony-users] [Symfony 2] General Questions

2010-11-05 Thread Fabien Potencier
Documentation for the master is here: http://docs.symfony-reloaded.org/master/ Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 11/5/10 3:46 PM, Gustavo Adrian wrote: Hi, I'll use Symf

Re: [symfony-users] Re: All new symfony developers please read...

2010-11-01 Thread Fabien Potencier
On 11/1/10 5:15 PM, Massimiliano Arione wrote: On 29 Ott, 16:24, "cordo...@gmail.com" wrote: oh!!! What exactly are we missing in the English version? Everything updated in the repository in the last 2 or 3 weeks (about) I am sure Fabien will take action if he notices. So, please let him

Re: [symfony-users] HTTP 404 Error on newest "A week of symfony"

2010-11-01 Thread Fabien Potencier
fixed now. -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 11/1/10 11:22 AM, Michał Piotrowski wrote: Hi, 2010/11/1 J. Dreesen: Some hours ago, Javier Eguiluz wrote the newest "A week of sy

Re: [symfony-users] Re: Symfony2 Security

2010-10-24 Thread Fabien Potencier
On 10/24/10 9:00 PM, Michael wrote: another issue i noticed, when calling "/login_check" or even "/logout" it will only run the FormAuthenticationListener even handler if they are relative.. in this case "/user/logout". maybe when trying to match the request path check special links The listene

Re: [symfony-users] Symfony2 Security

2010-10-22 Thread Fabien Potencier
On 10/23/10 12:56 AM, Michael wrote: Does anybody have any clue how to use this featured.. i have looked at the document at http://docs.symfony-reloaded.org/master/guides/security/index.html but: 1. only work for Doctrine, not for MongoDB MongoDB is not yet supported but will be 2. there is

Re: [symfony-users] Symfony2: Mixing YML and XML configuration

2010-10-04 Thread Fabien Potencier
Just import the XML resource from a YAML one or the other way around. It works natively. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 10/4/10 8:24 PM, bkuberek wrote: Hi all! I was hoping

Re: [symfony-users] Symfony2 form bug?

2010-09-28 Thread Fabien Potencier
xpect some documentation on the template-based form rendering later this week. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 9/29/10 4:38 AM, Dennis Jacobfeuerborn wrote: When I set up a form li

Re: [symfony-users] Re: Symfony2PR3: Call to undefined method helloDevDebugProjectContainer::getService

2010-09-24 Thread Fabien Potencier
On 9/24/10 7:03 PM, Pablo Godel wrote: Fabien, this seems like good information to include in the Official Documentation. I know, but the container documentation is not written yet ;) Pablo On Sun, Sep 19, 2010 at 3:13 AM, Fabien Potencier mailto:fabien.potenc...@symfony-project.com>>

Re: [symfony-users] Official replacement for getParameter() in Symfony2PR3?

2010-09-24 Thread Fabien Potencier
I have just fixed the documentation. -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 9/24/10 6:28 PM, Pablo Godel wrote: Funny I just posted a question in the devs list about the same getRequest

Re: [symfony-users] Re: Symfony2PR3: Call to undefined method helloDevDebugProjectContainer::getService

2010-09-19 Thread Fabien Potencier
anager() The fastest: $this->container->get('doctrine.orm.entity_manager') The shortest: $this['doctrine.orm.entity_manager'] HTH, Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 9/19/10 8:

Re: [symfony-users] Symfony2 virtualhost

2010-09-15 Thread Fabien Potencier
On 9/15/10 3:22 AM, Josh wrote: How do a setup a VirtualHost for Symfony2? There is no virtualhost examples anywhere, and it's vastly different from 1.x.. There is nothing special to do, just create a classic virtualhost. Don't want to use the sandbox either. Why? -- If you want to report

Re: [symfony-users] [symfony2-sandbox PR3] doctrine:mapping:import , error runtime

2010-09-14 Thread Fabien Potencier
Can you open a ticket for the Doctrine problem on the Doctrine ticketing system? http://www.doctrine-project.org/jira/secure/Dashboard.jspa Thanks, Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80

Re: [symfony-users] [sf2] Doctrine Schema

2010-09-13 Thread Fabien Potencier
On 9/14/10 1:59 AM, Craige wrote: > Hey guys, > > I've been eagerly awaiting Symfony 2, but I see that the public site > now says it's not expected until March. Unfortunate, but no big deal. > I'd rather have the team do it right than do it fast. > > Anyway, I've was planning (and still am planni

Re: [symfony-users] Are the design of Symfony2 and Doctrine2 in right direction?

2010-09-13 Thread Fabien Potencier
On 9/12/10 4:23 PM, Fangzx wrote: I play Symfony2 and Doctrine2 for two weeks, and I came from Java(5years) and Python/Django(3years). My questions: 1. Doctrine2 is so like Java Hibernate and is too heavy, I don't like that, for example, why not use pulic properties directly instead of setter an

Re: [symfony-users] [Symfony2] session_start() error in Functional tests

2010-09-03 Thread Fabien Potencier
We are working on a specific Session storage class for functional test. Should be available soon. -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 9/3/10 11:15 AM, Florian wrote: Ok thanks! I'l

Re: [symfony-users] [Symfony2] session_start() error in Functional tests

2010-09-03 Thread Fabien Potencier
I'm not sure how it worked before as there is no Session storage class yet for functional tests. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 9/2/10 9:57 PM, Florian Klein wrote: Bie

Re: [symfony-users] [Symfony2] session_start() error in Functional tests

2010-09-02 Thread Fabien Potencier
Can you send me your test file? -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 9/2/10 4:57 PM, Florian wrote: Hi! I'm encoutering an error since an upgrade to the latest Symfony2. 1) Applic

Re: [symfony-users] HelloControllerTest.php PHPUnit Test Fail in the sandbox PR3 branch

2010-09-02 Thread Fabien Potencier
That works for me. Looks like you don't use PHP 5.3. -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 9/2/10 3:20 PM, Fangzx wrote: I am using symfony2 sandbox PR3 branch + PHPUnit 3.5.0RC2 in Wi

Re: [symfony-users] [Symfony2]: Some questions about console and bundles

2010-08-31 Thread Fabien Potencier
On 8/31/10 2:21 PM, Dennis Benkert wrote: You only need one application per "project". The CLI will probably change a lot (as we will probably have a .phar tool to boostrap a project independently of having Symfony installed somewhere on your machine). But, for now, you never need

Re: [symfony-users] [Symfony2]: Some questions about console and bundles

2010-08-31 Thread Fabien Potencier
On 8/31/10 8:11 AM, Dennis Benkert wrote: Hi, during the last days I again had the chance to take a look at Symfony2 again. After some search through the mailing list and the documentation I have some questions that came to my mind and the answers may be helpful for others, too. The console scr

Re: [symfony-users] [Symfony2] The service "router" does not exist.

2010-08-28 Thread Fabien Potencier
Use the sandbox PR3 tag. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 8/28/10 12:09 PM, Stephan Ebelt wrote: Hello, I am trying to get the sandbox HelloKernel.php file adopted to the

Re: [symfony-users] Suggestion for symfony download page - offer legacy versions

2010-08-27 Thread Fabien Potencier
All legacy versions of symfony are now available on the installation page: http://www.symfony-project.org/installation#legacy Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 8/27/10 11:11 AM

Re: [symfony-users] Suggestion for symfony download page - offer legacy versions

2010-08-27 Thread Fabien Potencier
. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 8/27/10 11:11 AM, halfer wrote: @Sensio: We are still using symfony 1.0 and my firm is very happy with it, and there is no enthusiasm for upgrading. Now

Re: [symfony-users] symfony2: constructor in controller class

2010-08-19 Thread Fabien Potencier
On 8/19/10 8:51 AM, symfony.reloa...@googlemail.com wrote: Hello, what about "initializing" your custom controller class. Is it suitable to overrite the __constructor of the inherited class Symfony\Framework\FoundationBundle\Controller, and there to call the parent constructor? You can inherit

Re: [symfony-users] Re: [DI] How can I put data into getFooService?

2010-08-14 Thread Fabien Potencier
On 8/14/10 3:54 PM, Константин wrote: Hm, why my messages not shows? Yes, it similar to Factory. Translate __construct(Translate_DriverAbstract $driver, $namespace) $driver inject by container $namespace - send by hand That's not possible. You can use a setter instead. You can also keep the

Re: [symfony-users] [DI] How can I put data into getFooService?

2010-08-14 Thread Fabien Potencier
On 8/14/10 9:39 AM, Константин wrote: I need send data to some services on the fly. Something like $sc->getTranslatorService('translation namespace'); How can I do that? I'm not sure I understand the question here. You get the service, and then you can do whatever you want with it. It looks

Re: [symfony-users] [DI] How to inject $sc to service?

2010-08-14 Thread Fabien Potencier
ner is always available as the 'service_container' service. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 -- If you want to report a vulnerability issue on symfony, please send it to

Re: [symfony-users] Dependency Injection in Symfony2

2010-08-11 Thread Fabien Potencier
On 8/12/10 12:24 AM, Brandon Turner wrote: Is there anyway to load the default configuration for a bundle *without* a line such as: #config.yml: mybundle.config: ~ in a configuration file? Is it correct to assume that the following procedure must *always* be done to install a bundle that utiliz

Re: [symfony-users] Re: Architectural Confusion in Symfony2

2010-08-11 Thread Fabien Potencier
On 8/11/10 9:08 PM, Jay wrote: Each app has different auth requirements and possibly different configurations. Isn't that why in most of the tutorials you speak of a "Frontend" app, which kind of implies that there would also be a "Backend" app? And then if we were to build an api that api might

Re: [symfony-users] Architectural Confusion in Symfony2

2010-08-11 Thread Fabien Potencier
On 8/11/10 8:30 PM, Jay wrote: In trying to structure our website using three apps and various bundles, we’ve run into a major architectural fork in the road which nobody seems to have the right answer for. I’ll try and paint the picture as clearly and quickly as possible: Assume 3 applications:

Re: [symfony-users] Symfony2 PR3 and keeping up with the Symfony2 sandbox changes

2010-08-10 Thread Fabien Potencier
I will update the sandbox next week and I will release a Symfony2 PR3 also. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 8/10/10 6:30 PM, djones wrote: Hi all, I'm trying to keep up

Re: [symfony-users] Re: Error in symfony2 on Win7

2010-08-03 Thread Fabien Potencier
This fix has been applied some days ago. So it will be included in PR3. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 8/3/10 5:55 PM, BStep wrote: Just found this: http://raw.trac.symfony

Re: [symfony-users] Twig Usage

2010-08-01 Thread Fabien Potencier
On 7/31/10 4:42 PM, aikistudio wrote: Hello, is anyone using Twig template framework in a serious project? If yes, how is it doing so far? I'm considering using it for a new webapp, but it seems nobody has being talking about it anymore. This is the symfony mailing-list, so it makes sense. T

Re: [symfony-users] Symfony2: Doctrine Configuration - Yaml Imports

2010-07-27 Thread Fabien Potencier
On 7/28/10 5:58 AM, Brandon Turner wrote: All, I have two config files for my production and development Symfony2 environments: #config.yml doctrine.orm: auto_generate_proxy_classes: false metadata_cache_driver: apc result_cache_driver: apc query_cache_driver: apc #config_dev.yml imports:

Re: [symfony-users] Symfony2 - database query in the model

2010-07-26 Thread Fabien Potencier
On 7/26/10 11:47 AM, Vincent UNG wrote: Hi ! I'm using Symfony2 for personal project and for fun too ! Well... it's more for testing this new version. Anyway, I was wondering, how can I execute a database query inside my models Actually, when I create an instance of an object, I give the $this

Re: [symfony-users] moving plugins to symfony 2.0?

2010-07-26 Thread Fabien Potencier
On 7/26/10 11:18 AM, sebastian wrote: are there any plans for migrating plugins to symfony 2.0 in the form of bundles? there doesn't seem to be any mention of it on the plugins page or individual plugin pages. It's too early. Things need to be stable before even thinking of migrating current p

Re: [symfony-users] [symfony2] first test and first question

2010-07-13 Thread Fabien Potencier
y too much attention to this specific rule for now. Fabien 2010/7/13 Fabien Potencier mailto:fabien.potenc...@symfony-project.com>> On 7/12/10 11:14 PM, samuel wrote: Hello, I'm seeing in the symfony2 best practice : "A bundle must not embed

Re: [symfony-users] [symfony2] first test and first question

2010-07-12 Thread Fabien Potencier
On 7/12/10 11:14 PM, samuel wrote: Hello, I'm seeing in the symfony2 best practice : "A bundle must not embed third-party libraries." What about javascript libraries ? I think they should forward the same logic and don't be present in the bundle, isn't it ? Yes, you are right. Fabien -- If

Re: [symfony-users] Symfony2 comments and questions

2010-07-12 Thread Fabien Potencier
On 7/11/10 1:17 PM, Tarjei wrote: Hi, here are my initial questions and comments regarding Symfony2. Wow, that's a lot of feedback! Thank you very much. My answers below.. 1. Deployment. Are you planning a .phar deployment solution where the src directory gets bundled up as a .phar file and d

Re: [symfony-users] Symfony2 PR3

2010-07-09 Thread Fabien Potencier
On 7/9/10 3:49 PM, Ekinox wrote: Hello, I have juste finished reading Symfony2's documentation. It often speaks of a Symfony2 PR3 package. However, when I looked at the installation page ( http://symfony-reloaded.org/code ), I did not see any Symfony2 PR3 package ... The ZIP and TGZ archives ar

  1   2   3   4   >