[symfony-users] Problem with DoctrineMongoDBBundle

2011-06-04 Thread amit
Hi, I am trying to use DoctrineMongoDBBundle but not able to create documents using CLI. This is what I did. - Downloaded symfony beta3 - Downloaded DoctrineMongoDBBundle from GIT - Downloaded doctrine/common from git - Downloaded doctrine/dbal from git - Downloaded doctrine/mongodb from git -

[symfony-users] Re: New to PHP

2011-06-04 Thread Ton Yeung
Well I seem to have found a framework that might work. According to the hiphop mailing lists, it looks like code igniter might work. I'll be using that it seems. I am unsubscribing from this list, so if anyone has any questions regarding hiphop, please go to their mailing list. On Jun 1, 6:04 pm,

[symfony-users] Re: DataBase Migration

2011-06-04 Thread Bart van Wissen
On 3 jun, 08:14, Gareth McCumskey gmccums...@gmail.com wrote: If you are using symfony 1.1 or up (not Symfony 2), then there is a command you can give from within the project root to create a schema.yml from the existing database: ./symfony propel:build-sql I think regenerating the

[symfony-users] Re: app_dev.php works on local and server, but app.php only works local

2011-06-04 Thread t.lesniak
Hi Please try to clear cache, simply remove everything from app/cache dir. Should help. Regards, Tomasz Leśniak -- 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

[symfony-users] symfony2 custom validation

2011-06-04 Thread cosmin
i am trying to build custom validation in symfony2 for passwords and username/email unique but i can`t figure out: how to access passconfirm property? hot to access the database? from within the validator class the documentation does not write about this:( -- If you want to report a

[symfony-users] Re: symfony2: sharing global values between templates

2011-06-04 Thread Justin Hilles
why not use js? -- 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 To

[symfony-users] Symfony 1.2 Admin Generator not using Form Classes

2011-06-04 Thread Mazdak
I am using generator.yml to generate admin side. The code in the cache is not using Form class ( extended from BaseFormPropel). What I read in tutorials is that Form class is used and I can use setWidgets to customize it. Why Symfony is not using Forms generated in lib/form/? -- If you want to

[symfony-users] [Validation] Custom validator symfony2

2011-06-04 Thread cosmin
Is there a way to access two properties from the same entity that isValidated like password and passconf without using CLASS_CONSTRAINT?? my second problem is that i can`t set a new configuration so i can use entityManager services: validator.unique: class:

Re: [symfony-users] How to upload images in symfony 2

2011-06-04 Thread oscar balladares
I'm trying to achieve the same. http://www.tnyholm.se/symfony2-beta-upload-file/ http://www.tnyholm.se/symfony2-beta-upload-file/That guy did quite a good job, but it could be better, I will use that info anyway. If you find a better way, let us know please. 2011/6/3 Tomasz Leśniak

Re: [symfony-users] Re: getting a fatal error using swiftmailer

2011-06-04 Thread Fabien Potencier
On 6/3/11 10:58 PM, Roger Webb wrote: I went through this *exact* issue and found an answer on the list. You *MUST* retrieve the mailer before creating a new Swift_Message $mailer = $this-get('mailer'); $message = \Swift_Message::newInstance()-... Correct. This will not be needed anymore as

[symfony-users] Re: Form + oneToMany + EntityType; cascade not working

2011-06-04 Thread Ruben de Vries
cascade persist works like a charm (check out my ' this does work' example) when called stand alone, but it just doesn't work when going through the form. because it seems the form API doesn't use the get/set methods to set the properties o.O? On May 31, 7:20 pm, Stephan Petzl

[symfony-users] Re: Custom validator symfony2

2011-06-04 Thread cosmin
nobody can help me with this? On Jun 4, 1:01 am, cosmin cosmi...@gmail.com wrote: Is there a way to access two properties from the same entity that isValidated like password and passconf without using CLASS_CONSTRAINT?? my second problem is that i can`t set a new configuration so i can use

[symfony-users] DoctrineExtensions Timestampable with mongodb

2011-06-04 Thread amit
Hi, I am following the instructions as given here http://www.gediminasm.org/article/timestampable-behavior-extension-for-doctrine-2 I have symfony2 and mongoDB working fine and now I wanted to use Timestampable using DoctrineExtensions Can someone please tell me how do I register the

Re: [symfony-users] DoctrineExtensions Timestampable with mongodb

2011-06-04 Thread Gediminas Morkevicius
hi, you can simply use: https://github.com/stof/DoctrineExtensionsBundle read the doc in this bundle on how to configure it. It should work smoothly, have fun :) On Sat, Jun 4, 2011 at 1:03 PM, amit amit.r...@gmail.com wrote: Hi, I am following the instructions as given here

[symfony-users] Re: How to use mongoDB in Beta3?

2011-06-04 Thread Zap
Well, I figured it finally out, It seems I probably could use first possibility and use old bundles which I have. Better is to integrate actual versions: 1a) manually i.e. git clone https://github.com/doctrine/mongodb.git vendors/doctrine- mongodb git clone

Re: [symfony-users] Re: getting a fatal error using swiftmailer

2011-06-04 Thread keymaster
Got the mailer first as above, same error occurs. Is there something else which also needs to be done? $mailer = $this-get( 'mailer' ); $message = \Swift_Message::newInstance()-setSubject( 'Contact Email' ) -setFrom( 's...@example.com' ) -setTo(

[symfony-users] How to : add openID authentification with FOS\UserBundle

2011-06-04 Thread Tristan
Hi, I don't know how to simply add another authentification way (openID) to UserBundle I just have the ID of the auth ( http://steamcommunity.com/openid ) After some research i found those two bundles : - https://github.com/pvdvreede/UserOpenIdBundle - https://github.com/Ziumin/OpenIDBundle

Re: [symfony-users] Re: DataBase Migration

2011-06-04 Thread Gareth McCumskey
What would tables your project model does not use be doing in your database? o.O On Fri, Jun 3, 2011 at 12:04 PM, Bart van Wissen bartvanwis...@gmail.comwrote: On 3 jun, 08:14, Gareth McCumskey gmccums...@gmail.com wrote: If you are using symfony 1.1 or up (not Symfony 2), then there is a

[symfony-users] Multiple projects, changing the httpd.conf file

2011-06-04 Thread Parijat Kalia
Hello! Coming back onto the symfony mailing list after long. I now have a new project that I am undertaking and running into a slight few niggles with seeing it over my localhost. Let me explain: 1. My original project exists here : c:\dev\sfproject. I introduce a new project in

[symfony-users] Re: Multiple projects, changing the httpd.conf file

2011-06-04 Thread Parijat Kalia
I forgot to add, if you observe what I am doing is changing the virtual host in my httpd.conf to point to the location of the new project. This I am doing more out of necessity because I am more focussed on rolling the project that I am pursuing at the moment right now instead of configuring it in

Re: [symfony-users] Multiple projects, changing the httpd.conf file

2011-06-04 Thread Haris Fauzi
If you use alias directive: Alias /sf some_directory Then when you access anything under it you should put the subdirectory: http://localhost:8080/sf/frontend_dev.php Instead of going to root directory like you did. Otherwise you won't get to the files under some_directory. Regards, Haris On

Re: [symfony-users] Multiple projects, changing the httpd.conf file

2011-06-04 Thread Parijat Kalia
Hi Harris, that did not work. I had the same configuration when I had a single project and it would take me to the project title just fine. Any further ideas? On Sat, Jun 4, 2011 at 8:10 PM, Haris Fauzi haris.fa...@gmail.com wrote: If you use alias directive: Alias /sf some_directory Then

[symfony-users] Symfony 2.0 or Symfony 1.4

2011-06-04 Thread Parijat Kalia
Hi guys, Very curious to know if people have migrated to Symfony 2.0 or are still dependent on Symfony 1.4. Would love to get everybody's knowledge and ideas on this. Been proficient at Symfony 1.2.9 but now that 2.0 has been rolled out, I am wondering if it is a good idea to pursue a side