Re: [symfony-users] Fatal Error Class ....\Controller\DateTime' not found in Controller

2011-05-21 Thread Christophe Bord
Thanks for your answer, it solved my problem. I apologize for my beginners questions. Geometricus. 2011/5/20 Marco Pivetta ocram...@gmail.com You just have to use it with the global namespace! Instead of *$d = new DateTime();* use *$d = new \DateTime();* //please note the initial '\',

[symfony-users] [sf2][beta4] - Security, authenticating with forms - Authentication form appears double

2011-06-15 Thread Christophe Bord
Hi all, I was testing the security section from the current documentation but i ran into some trouble. http://symfony.com/doc/current/book/security.html Beneath avoid common pitfalls 2. Be sure the login page isn't secure I tried the describded pitfall access_control: - { path: ^/, roles:

Re: [symfony-users] WDT bug in login form

2011-06-17 Thread Christophe Bord
I had the same problem as you, and solved it thanks to Christophe COEVET response, today. As he said to me You are requiring the authentication for the url of the Ajax call done to load the web debug toolbar In fact, the route _wdt defined in routing_dev.yml is covered by some of your

Re: [symfony-users] [sf2][beta4] - Security, authenticating with forms - Authentication form appears double

2011-06-17 Thread Christophe Bord
That was it. Thanks, Christophe. 2011/6/15 Christophe COEVOET s...@notk.org Le 14/06/2011 16:30, Christophe Bord a écrit : Hi all, I was testing the security section from the current documentation but i ran into some trouble. http://symfony.com/doc/current/book/security.html