[symfony-users] Symfony2 exception trying to initalize FOSUserBundle with ODM/MongoDB

2011-04-25 Thread JC
I am using Symfony2 and the latest image from Doctrine that supports ODM/MongoDB. At the time of initialization via the dependency injection, I get the following exception: Fatal error: Uncaught exception 'InvalidArgumentException' with message 'The parameter "form.factory.class" must be defined.

[symfony-users] Re: Symfony2 orm problems with FOSUserBundle

2011-04-24 Thread JC
Daniel, just for clarification on your workaround. Are you saying you changed the file (and references) of FOS/UserBundle/Entity/Group.php to say FOSGroup.php ? or the abstract class FOS/UserBundle/Model/Group.php I suppose you left the BaseGroup (which Group extends) and GroupInterface alone. th

[symfony-users] Symfony2 orm problems with FOSUserBundle

2011-04-22 Thread JC
I'm using the following annotation to try to drive the Doctrine schema setup but as documented it won't go through. I get the following exception: [Doctrine\ORM\ORMException] Column name 'id' referenced for relation from myCo\MyBundle\Entity \User towards FOS\UserBundle\Entity\Group does not exis

[symfony-users] Re: FOSUserBundle doesn't work with Symfony2 PR12?

2011-04-21 Thread JC
Thank you. This helped me move the ball forward. I guess we just have to be patient to have the documentation updated with these changes (unless of course there is already an updated one and I am not aware of it :-) Regards On Apr 21, 4:41 pm, Carl wrote: > I'm glad you got the other problem fi

[symfony-users] Re: FOSUserBundle doesn't work with Symfony2 PR12?

2011-04-21 Thread JC
OK, got past the intial problem. I did see the reference to the new GIT repository, but went through the GIT button and was using the old (sorry about that), so I fixed that one problem. Thanks. However, I did get the next exception: Fatal error: Uncaught exception 'Symfony\Component\Config\Defini

[symfony-users] Re: FOSUserBundle doesn't work with Symfony2 PR12?

2011-04-21 Thread JC
I didn't change those files in my last attempt to get this working. They are/were as shipped under PR12. So, they don't have any reference to fos_user. I didn't think that they would come into play when all I did was to enable the FOSUser bundle in the application kernel and autoloader files. On A

[symfony-users] Re: FOSUserBundle doesn't work with Symfony2 PR12?

2011-04-20 Thread JC
p here I'm at a loss. It only took 4 steps 1) Deploy FOS under vendor/bundles/FOS/UserBundle 2) Add namespace to autoloader: 'FOS' => __DIR__.'/../vendor/ bundles', 3) Add UserBundle to application kernel: new FOS\UserBundle \FOSUserBundle(), 4) launch app_dev.php On

[symfony-users] Re: FOSUserBundle doesn't work with Symfony2 PR12?

2011-04-20 Thread JC
Well, I tried that, but no change. I will try to install both PR12 and the FOSUserBundle completely from scratch and see if I have better luck. Unless someone else has had run into it and has some insights into it. Regards. On Apr 20, 4:23 pm, Carl wrote: > I haven't had any issues getting tha

[symfony-users] FOSUserBundle doesn't work with Symfony2 PR12?

2011-04-20 Thread JC
I am stuck with a dependency injection issue just by trying to initialize the bundles. The exception that I get after simply doing the first two steps per documentation: - Add the FOS namespace to your autoloader - Add UserBundle to your application kernel is as follows: Fatal error: Call to unde

[symfony-users] Re: Symfony2 MongoDB UserBundle - no extension able to load the configuration

2011-04-19 Thread JC
ut found an undefined method, missing some injection setting: Fatal error: Call to undefined method Symfony\Component\Config \Definition\Builder\ArrayNodeDefinition::scalarNode() in C:\bin\Symfony \vendor\bundles\FOS\UserBundle\DependencyInjection\Configuration.php on line 29 Any ideas? On Apr

[symfony-users] Symfony2 MongoDB UserBundle - no extension able to load the configuration

2011-04-19 Thread JC
I am running the latest version of Symfony2 (PR12) and tried to use the UserBundle but it is complaining about the setting on the config.yml file that relates to MongoDB with the following exception: Fatal error: Uncaught exception 'InvalidArgumentException' with message 'There is no extension abl

[symfony-users] Proper way of using a logger in Symfony2?

2011-04-17 Thread JC
I couldn't find references on the proper use to integrate a logger in my code. I tried the following inside a controller, but I didn't see any output in the log file. Any ideas? public function loginAction() { $logger = $this->get('logger'); . $logger->

[symfony-users] Symfony2 dir conventions for forms

2011-04-15 Thread JC
I was following the example of the Contact Form/Request objects online and got confused by the implied directories where these files reside. They currently point (per the documentation) to // src/Acme/HelloBundle/Contact/ContactForm.php // src/Acme/HelloBundle/Controller/HelloController.php // src

[symfony-users] HBase/Hadoop and Symfony2

2011-04-12 Thread JC
I see some support for MongoDB. Is anybody working on equivalent for HBase/Hadoop? -- 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 pos

[symfony-users] 3rd Party plugins/bundles/components

2011-04-12 Thread JC
Is there a repository of contributed bundles for Symfony2? I'm assuming the bundles are replacing plugins? I couldn't find it on the symfony website. Regards -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message

[symfony-users] Symfony2 and Netbeans

2011-04-07 Thread JC
where did data/bin/symfony file go? It is required by NetBeans as part of the Symfony/Tools setup. It was there and assumed to be there by Netbeans in the 1.x version -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this