[symfony-users] Re: Doctrine ORM Class not a valid entity or mapped super class Error

2010-07-18 Thread Aaron DM
I figured out what was the cause of this problem, it was the opcode cacher was using, eAcclerator on Windows. It wasn't playing well with Doctrine - I got rid of it, replaced it with APC and all's fine now! Thanks On Jul 16, 6:30 pm, AMailer amai...@gmail.com wrote: Hey, Any idea why I would

[symfony-users] Re: Symfony on Shared Hosting

2010-07-20 Thread Aaron DM
Searching google came up with a lot of results, here is one from the symfony forum: http://forum.symfony-project.org/index.php/m/98117/ On Jul 19, 8:35 pm, despuestambien carrau.alejan...@gmail.com wrote: Hello, I have been trying to upload symfony on GoDaddy's Shared hosting. But I

[symfony-users] [symfony2] DoctrineUnique Validator

2010-08-09 Thread Aaron DM
Hey, I'm attempting to create a DoctrineUnique Validator - now I'm not entirely sure how to do this properly but I am guessing I need to: - Ask for a connection name, entity and a property name (i.e. username, email and etc) However, I'm not entirely sure as to how to get the EntityManager

[symfony-users] Re: symfony2- get error using form framework

2010-08-09 Thread Aaron DM
As far as I know, you have to: use Symfony\Components\Form\Form; and etc: use Symfony\Components\Form\TextField; use Symfony\Components\Form\PasswordField; use Symfony\Components\Form\RepeatedField; On Aug 9, 7:32 am, roydon roydonsthara...@gmail.com wrote: hai. playing with form framework

[symfony-users] How to load a Doctrine 2 Custom Mapping

2010-08-23 Thread Aaron DM
I am trying to create a custom mapping for a binary column field. Where/how do I load the custom mapping type for Doctrine 2 in a symfony 2 project? Thanks! -- 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] How to configure Doctrine\ORM\Configuration

2010-08-24 Thread Aaron DM
How do I configure Doctrine\ORM\Configuration? Like, I want to add a new DQL function I made; and to register it I would normally do this: $config = new \Doctrine\ORM\Configuration(); $config-addCustomStringFunction('DATEDIFF', 'DoctrineExtensions\Query \MySql\DateDiff'); But how do I do that

[symfony-users] Re: motion : new mailling list for Synfony2

2010-09-03 Thread Aaron DM
I believe this was already mentioned before and it was settled to just use a [symfony2] tag. On Sep 1, 10:23 am, sam zoulil...@gmail.com wrote: Hello, I follow this mailling list for a while, and I see more and more subject on Synfony2. I think that can be a good idea to split this one in 2 :

[symfony-users] [symfony2] Creating a DoctrineSessionStorage

2010-09-09 Thread Aaron DM
Hey, I was wondering if it was possible to use Doctrine for session storage into a DB. I know there is a PdoSessionStorage already that comes with symfony2 (not functional yet) but how would this be done using Doctrine. What I've done is passed an EntityManager to my DoctrineSessionStorage

[symfony-users] [symfony2] Cannot get the 'Security' feature working

2010-12-01 Thread Aaron DM
Hey, I am attempting to get the security feature working via form login; and I've followed the instructions at: http://docs.symfony-reloaded.org/master/guides/security/authentication.html But I cannot get the event listener to seem to 'activate'. I checked the paths, I used the default paths:

[symfony-users] Re: .htaccess for SEO (force non www, remove index.php from url)

2010-12-21 Thread Aaron DM
This is what I use for symfony2: IfModule mod_rewrite.c RewriteEngine On RewriteBase / RewriteRule ^index.php/(.*)?$ /$1 [L,R=301] RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)/$ $1 [L,R=301] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond

[symfony-users] [symfony2] form_errors() and validation groups problems

2011-01-13 Thread Aaron DM
Hey, Not sure if I am doing something wrong or this is just a bug, but if I set a validation group for a class of mine and then I use: {{ form_errors(form) }} No errors are displayed (however $form-isValid() is returned false, indicating that there are errors). Removing the validation group

[symfony-users] Symfony2 UserBundle Problems with ORM Repositories

2011-05-06 Thread Aaron DM
I don't see anyone reporting this, so I assume this issue is only related to me. For some odd reason I am getting this error caused by this call in the FOSUserBundle\Entity\UserManager.php *$this-repository = $em-getRepository($class);* The error is: Fatal error: Class

Re: [symfony-users] Symfony2 UserBundle Problems with ORM Repositories

2011-05-06 Thread Aaron DM
Ah I see, thank you. -- 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@googlegroups.com

[symfony-users] [Symfony2] Forms Entities with Association Mappings

2011-06-16 Thread Aaron DM
Hello, I was wondering how I would accomplish this. I want to create a single FormType for the entity User with has an association mapping Address (OneToOne). How exactly do I create the form fields for the information in the associated Address Entity? Example entities:

[symfony-users] Re: Forms Entities with Association Mappings

2011-06-17 Thread Aaron DM
Whoa that's it! Thanks, not sure how I missed that - I even looked over the documentation :S -- 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