[symfony-users] Re: (doctrine 1.2) The root class of the query must have at least one field selected.

2011-02-04 Thread Manu
well I was able to make it work by adding c.id in the select. But isn't this a bug ? Doctrine doesn't see that I asked for count(c.id) ? -- 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

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

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

2011-02-04 Thread phil0
Thanks. That worked. See you in Paris :-) -- 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

[symfony-users] [symfony 2] built in plugins

2011-02-04 Thread deepak
Hi Do we have some plugin for symfony2 such as something similar to sfGuardPlugin or anything? Or we need to build in the authentication functionality from scratch for our symfony2 projects? Deepak -- If you want to report a vulnerability issue on symfony, please send it to security at

Re: [symfony-users] [symfony 2] built in plugins

2011-02-04 Thread Christophe COEVOET
Le 04/02/2011 11:57, deepak a écrit : Hi Do we have some plugin for symfony2 such as something similar to sfGuardPlugin or anything? Or we need to build in the authentication functionality from scratch for our symfony2 projects? Deepak Look at the UserBundle developped par FriendsOfSymfony

Re: [symfony-users] [symfony 2] built in plugins

2011-02-04 Thread Gareth McCumskey
A google search for symfony2 authentication lead me to this within two minutes: http://symfony2bundles.org/jmikola/SimpleCASBundle http://symfony2bundles.org/jmikola/SimpleCASBundle http://symfony2bundles.org/ruudk/OAuthBundle http://symfony2bundles.org/ruudk/OAuthBundle

Re: [symfony-users] Re: (doctrine 1.2) The root class of the query must have at least one field selected.

2011-02-04 Thread Christophe COEVOET
Le 04/02/2011 10:07, Manu a écrit : well I was able to make it work by adding c.id in the select. But isn't this a bug ? Doctrine doesn't see that I asked for count(c.id) ? In your request, the main entity was Content. COUNT(c.id) does not select a field of Content to be able to build the

[symfony-users] format_currency() adds an space before the number

2011-02-04 Thread Javier Garcia
Hi when i do this: var_dump(format_currency('1004.569')); I get: string ' 1.004,56' (length=10) Notice that there is a space before the 1. Any idea? sf 1.4. Javi -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received

[symfony-users] Localization of flash warning

2011-02-04 Thread ricvec
Hello everybody, the subject of this topic is quite clear; I'd like to know how can I localized the flash warnings/errors or some workaround to do it. In my example I have this lines in the class actions.class.php for the user model: $q = Doctrine_Query::create() -from('WeeventUser wu')

[symfony-users] Symfony2 Security using Doctrine Entity

2011-02-04 Thread Justin Fortier
Hey guys, I've been having some issues defining my own Doctrine Entity class. I was able to get http-basic authentication working, and then form-login to work. Now it's just trouble getting my custom entity to work. All I get are Bad Credentials back. I'm not sure how Symony2 is determining if

[symfony-users] Installing Symfony 1.4.8 via SVN

2011-02-04 Thread Paolo Niccolò Giubelli
Hi folks! I’m an enthusiast user of symfony and I’m trying to improve my code management techniques. I’m trying to obtain the current version (1.4.8) of symfony from SVN, as explained by the “Getting Started” manual, but svn says “svn: 'lib' is not a working copy”. I’m following the manual step

[symfony-users] style tag (begin and end)

2011-02-04 Thread Igor Bobko
Hello guyz. Please tell me how i can insert style tag (style type='text/css'.../style) in header from template. -- 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

Re: [symfony-users] Symfony2 Security using Doctrine Entity

2011-02-04 Thread Christophe COEVOET
Le 02/02/2011 23:51, Justin Fortier a écrit : Hey guys, I've been having some issues defining my own Doctrine Entity class. I was able to get http-basic authentication working, and then form-login to work. Now it's just trouble getting my custom entity to work. All I get are Bad Credentials

Re: [symfony-users] style tag (begin and end)

2011-02-04 Thread Alex Pilon
Research symfony slots. On Thu, Feb 3, 2011 at 05:16, Igor Bobko iibo...@gmail.com wrote: Hello guyz. Please tell me how i can insert style tag (style type='text/css'.../style) in header from template. -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-users] Re: Installing Symfony 1.4.8 via SVN

2011-02-04 Thread phil0
What command do you run when svn says that lib is not a working copy? It sounds like you're trying to update the lib folder or something, but that your lib folder is not a checked out copy of symfony. You can do a checkout using svn co http://svn.symfony-project.com/... vendor/symfony when you