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

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 wrote: > If you use alias directive: > Alias /sf some_directory > > Then when you access anyt

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 5

[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

[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 C:\dev\sfproject2

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 wrote: > On 3 jun, 08:14, Gareth McCumskey wrote: > > If you are using symfony 1.1 or up (not Symfony 2), then there is a > command > > you can give from within the p

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

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( 'recipi

[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 https://github.com/doctrine/mongodb-od

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 wrote: > Hi, > I am following the instructions as given here > > http://www.gediminasm.org/artic

[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 listener?

[symfony-users] Re: Custom validator symfony2

2011-06-04 Thread cosmin
nobody can help me with this? On Jun 4, 1:01 am, cosmin 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 > entityManager

[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 wrote: > Without

[symfony-users] Re: Integrate Sf2 with jquery

2011-06-04 Thread smontes
Sorry for my bad english, Really , I am spanish haha! I guess it is a expression, we say "this sounds chinese to me :-) " Thanks, I will try to create the bundle. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this mes

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

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/ 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 > Hi ever