[symfony-users] Re : Re: FOSFacebookBundle

2011-06-15 Thread symfonyMan
hello, you have the FOSFacebookBundle working with facebook sdk 3.0 ?? i updated the sdk but i receive this error all time : ErrorException: Notice: A session had already been started - ignoring session_start() in \vendor\symfony\src\Symfony\Component\HttpFoundation\SessionStorage\NativeSession

[symfony-users] Re : Re: FOS FacebookBundle

2011-06-06 Thread symfonyMan
hello, did you followed the doc of the Bundle ? It works with a custom provider.. can you show me your security and custom providers configuration -- 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] FOSFacebookBundle

2011-05-23 Thread symfonyMan
Hello, i would like to integrate FOSFacebookBundle in my SF2 web site, i have already my user bundle with user entity and userManager. my problem is how to configure my security firewall ?? i have this : providers: in_db: entity: { class: MyCoreBundle:User, property: email }

[symfony-users] Re : [Symfony2] Repeated Type Field for Password.

2011-05-10 Thread symfonyMan
Hello Matador, like this : $builder->add('password','repeated', array('type'=>'password', 'first_name'=>'password', 'second_name' =>'confirm you password')); or just like this : $builder->add('password','repeated'); hope this help ;) -- If you want to report a vulnerability issue on symfony

[symfony-users] problem with SF2 forms

2011-05-09 Thread symfonyMan
hello, i have a big problem with forms in SF2. In my user entity I have many properties that have @assert:NotBlank(), RegisterType : public function buildForm(FormBuilder $builder, array $options) { $builder->add('email'); $builder->add('pseudo'); $builder->add('fir

[symfony-users] Re : Re: EWZRecaptchaBundle

2011-04-30 Thread symfonyMan
hello, i still have no validation for the Recaptcha field !! there is no solution for that ? thanks -- 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

[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] 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

[symfony-users] Re : Using form.factory in PR12?

2011-04-27 Thread symfonyMan
hello, in PR12 the form is not merged; you still have the previous form framework you must update your core (vendors ) if you want to use "form.factory" the beta version is not disponible yet, it will appeard next week ( as whrot in symfony blog http://symfony.com/blog/a-week-of-symfony-225-1

[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 this

Re : Re: [symfony-users] user isEnabled()

2011-04-21 Thread symfonyMan
But in my website, the user set his password in the firt step of registration, than i send him an email for validation -- 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 Go

[symfony-users] user isEnabled()

2011-04-21 Thread symfonyMan
Hello, I have a question about Security in Symfony2. In my user entity i have a column enabled, when the user registred for the first time I set *enabled *to *false* like the FOSUserBundle. before validate the registration ( confirmation by email => set enabled to true ), i can authenticate th

[symfony-users] Re: ajax in symfony 2

2011-04-20 Thread symfonyMan
in function. > > Also, the include of the JQuery script must go first, and your custom script > goes after : > > > > > And of course, anything can goes wrong with a js file, so if you don't have > a debugger like bugzilla, > the easiest way to get going is print

[symfony-users] Add additional column to many-to-many join table in Doctrine 2

2011-04-19 Thread symfonyMan
Hello, I think that the question is in the object :) i explain : a have 2 entities : user and groups that are associated with ManyToMany. It generate 3 tables in database : user, groups and user_groups(user_id, groups_id). my probleme is, I want to add a column in "user_groups" (type), I don't k

[symfony-users] SF2 Advanced routing

2011-04-19 Thread symfonyMan
Hello, In my symfony2 project i will have many routing ( /login, /account, / group, /group/create, /user/edit ..) how to secure all routes in my project execpt 2 or 3 route Like ( / welcome ...) i can do that just with the firewalls ?? Thanks -- If you want to report a vulnerability issue

[symfony-users] Re: ajax in symfony 2

2011-04-18 Thread symfonyMan
; return new Response("There are some errors on this field"); > > ... > > You must import the namespace for Response : > > use Symfony\Component\HttpFoundation\Response; > > 2011/4/15 symfonyMan > > > Hello, > > > thanks for all this respons

[symfony-users] Re: ajax in symfony 2

2011-04-15 Thread symfonyMan
r: > > >>    public function fooAction() > >>    { > >>        // Is this an ajax request? > >>        if ($this->container->get('request')->isXmlHttpRequest()) > >>        { > >>            // do stuff and return ajax con

[symfony-users] Upload file in symfony2

2011-04-13 Thread symfonyMan
Hello, how to upload files in symfony2 ?? thanks -- 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 sy

[symfony-users] ajax in symfony 2

2011-04-13 Thread symfonyMan
hello, could somebody show me an example using ajax in symfony 2 ?? thanks -- 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 t

[symfony-users] Re: Session in symfony2

2011-04-12 Thread symfonyMan
hello kassel On 12 avr, 11:54, kassel wrote: > Great > > On 12 abr, 12:50, symfonyMan wrote: > > > Yes, > > > i changed my routing and it work good. > > > for my secured pages i have /account/member/*,  for change email > > action i did just /change

[symfony-users] Re: Session in symfony2

2011-04-12 Thread symfonyMan
problem un security routing? > Becose this data is in all pages after auth > sorry for my poor english too. > I'm spanish > Thanks > > 2011/4/12 symfonyMan > > > > > And in the  symfony profiler, > > > after authentication, i am redirected to acco

[symfony-users] Re: Session in symfony2

2011-04-12 Thread symfonyMan
And in the symfony profiler, after authentication, i am redirected to account/member that print all my infos( i see that i am authenticated) , in the changeEmail action i am not authenticated !! thanks On 12 avr, 11:26, symfonyMan wrote: > ok, > > in my  bundle AccountBundle I

[symfony-users] Re: Session in symfony2

2011-04-12 Thread symfonyMan
); } in this action i can access the user informations, but not in other action in the same controller or not sorry for my bad english thanks On 12 avr, 10:46, Alvaro Touzon wrote: > Could you put both codes? > thanks > > 2011/4/12 symfonyMan > > > > > Thanks for rep

[symfony-users] Re: Session in symfony2

2011-04-12 Thread symfonyMan
;container->get('security.context')->getToken() > after authentication. > Thanks > > 2011/4/12 symfonyMan > > > > > Hello, > > > how to get informations (email, username, TOKEN...) from session after > > user authentication ?? > > > thanks >

[symfony-users] Session in symfony2

2011-04-12 Thread symfonyMan
Hello, how to get informations (email, username, TOKEN...) from session after user authentication ?? thanks -- 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 "s

[symfony-users] Re: need sample use FileField to file upload

2011-04-08 Thread symfonyMan
Hello, did you find a solution for this problem ?? thanks On 30 mar, 11:51, Manne wrote: > I'm using the PR9 and is having the same issue. > > The main "issue" is really that I can't find any documentation at all > on how to handle the submission of files through forms. > > Anyone that have fou

[symfony-users] Re: Recaptcha validation in symfony 2

2011-04-08 Thread symfonyMan
Hello, i still have the same problem... there is nobody have this bundle work good ?? thanks On 7 avr, 13:57, symfonyMan wrote: > Hello, > > i installed and well configured the EWZRecaptchaBundle (https:// > github.com/excelwebzone/EWZRecaptchaBundle). > > In my AccountBund

[symfony-users] Recaptcha validation in symfony 2

2011-04-07 Thread symfonyMan
Hello, i installed and well configured the EWZRecaptchaBundle (https:// github.com/excelwebzone/EWZRecaptchaBundle). In my AccountBundle/Form/UserForm i added $this->add(new RecaptchaField('recaptcha')); In the form i see the recaptcha field good ( i can change the image...) but when i submit t

[symfony-users] Re: The CSRF token is invalid. Please try to resubmit the form

2011-04-06 Thread symfonyMan
> You must render the hiddens fields. > > > twig: > > > > {{ form_hidden(form) }} > > . > > > > > > > 2011/4/5 symfonyMan > > >> Hello, > > >> i got this error when i try to submit my form. The CSRF token is >

[symfony-users] The CSRF token is invalid. Please try to resubmit the form

2011-04-05 Thread symfonyMan
Hello, i got this error when i try to submit my form. The CSRF token is invalid. Please try to resubmit the form it worked good in PR8 and when i updated to PR10 ... thanks -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You receiv

[symfony-users] Re: authentication with email

2011-04-01 Thread symfonyMan
Thanks georg it work now :) On 1 avr, 11:27, georg wrote: > You just change the return value of getUsername(). Instead of returning the > user's name you return its email address > > public function getUsername() { > return $this->email; > > } -- If you want to report a vulnerability issue on

[symfony-users] Re: [symfony2]authentication with email

2011-03-31 Thread symfonyMan
but where i have to that ? in my entity ? /** * @orm:Column(type="string", name="email") */ private $username; thanks On 31 mar, 15:58, Gareth McCumskey wrote: > No, just make the username = email > > On Thu, Mar 31, 2011 at 5:34 PM, symf

[symfony-users] Re: [symfony2]authentication with email

2011-03-31 Thread symfonyMan
Hello Thanks for your replay I have to delete email property in user entity ?? there is not other method ?? thanks On 31 mar, 12:59, Gareth McCumskey wrote: > Just make your username an email address > > On Thu, Mar 31, 2011 at 2:26 PM, symfonyMan wrote: > > > > >

[symfony-users] [symfony2]authentication with email

2011-03-31 Thread symfonyMan
Hello, I created a userBundle in my symfony2 project, it work good with authentication by username. I want to authenticate the users with the email property, and i don't know what to change in configuration, entities to enable that. any idéas ?? Thnaks sorry for my bad english -- If you wan