[symfony-users] Doctrine:generate:entities

2011-04-29 Thread sergio
Regarding doctrine:generate:entities... I wonder why it don't generate the setId() method in the entities files? Enviado desde mi dispositivo BlackBerry® -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message becau

[symfony-users] Re : Re: EWZRecaptchaBundle

2011-04-29 Thread symfonyMan
i know what is the problem, i had configured a virtual host in apache to use mydomaine.com as (localhost), i must change the keys or delete the virtual host ;) thanks -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received th

[symfony-users] Re : Re: EWZRecaptchaBundle

2011-04-29 Thread symfonyMan
Hello, a great thanks for the replay :) in form class : i add : $builder->add('recaptcha', 'recaptcha'); in my controller : $form = $this->get('form.factory')->create(new RegisterType(), $user); and i added in template : {% form_theme form.recaptcha 'EWZRecaptchaBundle:Form: recaptcha_widget

[symfony-users] Re: EWZRecaptchaBundle

2011-04-29 Thread Carl
Hi, The documentation actually needs updating. The section about calling setScriptURLs() is no longer valid. Those values are now set automatically. You shouldn't need to put anything in your controller anymore. All you should need to do is add a 'recaptcha' field in your buildForm() function

[symfony-users] EWZRecaptchaBundle

2011-04-29 Thread symfonyMan
Hello, i try to install the EWZRecaptchaBundle in my sf2 project (latest version), i followed the readme, but i have this error : Fatal error: Call to undefined method Symfony\Component\Form\Form::setScriptURLs() in C:\www\fscv2\src\FSC\AccountBundle\Controller\UserController.php on line * 124

Re: [symfony-users] Doctrine insert_id

2011-04-29 Thread sergio
Thanks a lot. I musn't think in flat Mysql Enviado desde mi dispositivo BlackBerry® -Original Message- From: Gediminas Morkevicius Sender: symfony-users@googlegroups.com Date: Fri, 29 Apr 2011 17:02:02 To: Reply-To: symfony-users@googlegroups.com Subject: Re: [symfony-users] Doctrine in

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

2011-04-29 Thread Conrad
Alright, thanks for cheering me up :) I guess it needs some guts anyway to do it all the bleeding edge way ;) Thanks for the nice work and have a good weekend! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this messag

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: [symfony-users] Doctrine insert_id

2011-04-29 Thread Gediminas Morkevicius
hi since doctrine does everything in a transaction, there is no such thing as last inserted id. you should simply provide a getId() getter in your domain object. and use: $entity = new Something; $entity->setWhatever('whatever'); $em->persist($entity); $em->flush(); // after flush all persisted

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

2011-04-29 Thread Conrad
ok Thanks, then I need to roll back to pr12 and wait for it to be avaiable -- 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 th

[symfony-users] Doctrine insert_id

2011-04-29 Thread sergio
Hi, could anyone tell me how can I get the last insert id with doctrine2? Thanks in advance Enviado desde mi dispositivo BlackBerry® -- 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

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

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

2011-04-29 Thread Conrad
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 there is going to be "bigger" trouble

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

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

2011-04-29 Thread Albert Jessurum
https://github.com/symfony/DoctrineMongoDBBundle -- 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 sym

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

2011-04-29 Thread Conrad
nevermind, I got it from here: https://github.com/symfony/DoctrineMongoDBBundle git submodule add git://github.com/symfony/DoctrineMongoDBBundle.git Symfony/vendor/symfony/src/Symfony/Bundle/DoctrineMongoDBBundle -- If you want to report a vulnerability issue on symfony, please send it to se

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

2011-04-29 Thread Conrad
nevermind, I got it from here: https://github.com/symfony/DoctrineMongoDBBundle git submodule add git://github.com/symfony/DoctrineMongoDBBundle.git Symfony/vendor/symfony/src/Symfony/Bundle/DoctrineMongoDBBundle -- If you want to report a vulnerability issue on symfony, please send it to se

[symfony-users] DoctrineMongoDBBundle missing in Beta1?

2011-04-29 Thread Conrad
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? Thanks, Conrad -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You r

[symfony-users] Re: Symfony2, Twig and I18N

2011-04-29 Thread Elia Contini @Phiware
Thank you Skaldrom. Everything works now. -- 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-u

[symfony-users] Re: [symfony2] parameters.ini

2011-04-29 Thread robjensen82
Thanks for the reply David. I would have thought config_prod.yml would have been useful for exactly the situation you're describing. O well I've managed to chop it out. Rob On Apr 29, 11:20 am, David Buchmann wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Am 29.04.2011 12:09, schri

[symfony-users] Symfony2 theming

2011-04-29 Thread umpirsky
I want basic theming support in my Symfony2 project, so I wanted to have separated static files (css, js, img) for each theme. I have tried to add assetic: read_from: %kernel.root_dir%/../web/themes/mytheme but this took no effect, my {{ asset('css/style.css') }} are still referencing realti

Re: [symfony-users] [symfony2] parameters.ini

2011-04-29 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 29.04.2011 12:09, schrieb robjensen82: > What's the point in the parameters.ini? why not just stick to > config.yml? the idea is that config.yml is under version control, while parameters.ini contains confidential data like database password and su

[symfony-users] [symfony2] parameters.ini

2011-04-29 Thread robjensen82
What's the point in the parameters.ini? why not just stick to config.yml? -- 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

[symfony-users] Re: Symfony2, Twig and I18N

2011-04-29 Thread Skaldrom Y. Sarg
This version of the trans tag has been removed for Beta1. You can read about it in the "UPDATE" document: https://github.com/symfony/symfony/blob/master/UPDATE.md You can use one of the following forms: {% trans %}Text{% endtrans %} {{ "Text"|trans }} I hope that helps... Happy codeing... -- If

Re: [symfony-users] Re: link between frontend and backend

2011-04-29 Thread Hamza Tlili
thanks peter for your reply i added in the routing.yml in my frontend app backend: url: ../backend.php and the same things in the backend application frontend: url: ../frontend_dev.php and it works for me thanks 2011/4/29 Peter > You could set them up as seperate websites or you link to > ht

Re: [symfony-users] [sf2] Unrecognized options "secret" under "framework.csrf_protection" while updating via git

2011-04-29 Thread Erkhembayar Gantulga
change your app/config.yml file --- before framework: charset: UTF-8 error_handler: null csrf_protection: enabled: true secret: xx --- after framework: charset: UTF-8 error_handler: null secret: xx csrf_protection:

[symfony-users] [sf2] Unrecognized options "secret" under "framework.csrf_protection" while updating via git

2011-04-29 Thread Nico
Hi, Sorry if this message is not appropiate to this list, I've installed a couple of days ago sf2 PR12 and I've been working with it on a new project. Once a day I use the bin/vendors.sh script to update the code to the latest changes, and today I'm getting this error right after > Installing/Up

[symfony-users] Re: link between frontend and backend

2011-04-29 Thread Peter
You could set them up as seperate websites or you link to http://www.yoursite.com/backend.php to get to the backend or use rewrite rules in your apache config or .htaccess file to map /backend to backend.php. If your frontend app is served by default you just link to "/" from your backend

Re: [symfony-users] Re: Unrecognized options "secret" under "framework.csrf_protection

2011-04-29 Thread Erkhembayar Gantulga
Thanks *Carlos*. It works.But there is some warning shows. Notice: Undefined index: secret in /home/sfprojects/symfony-standard/vendor/bundles/Symfony/Bundle/WebConfiguratorBundle/Step/SecretStep.php on line 31 -- If you want to report a vulnerability issue on symfony, please send it to securit