[symfony-users] Re: Security - UserProvider with Web Service - Get the password

2011-06-22 Thread Filipe La Ruina
I got the same problem. I have to curl an service passing username and password. It will return me a cookie corresponding to the user "session". Any thoughts on how to do that? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You rece

[symfony-users] Re: [Symfony 2] "The "templating" extension is not enabled" after updating

2011-06-01 Thread Filipe La Ruina
Found out it was been caused by twig cache. Removed it and all working fine again. If you're updating by copying files make sure you delete your cache. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because

[symfony-users] [Symfony 2] "The "templating" extension is not enabled" after updating

2011-06-01 Thread Filipe La Ruina
Hey guys, Just updated my Beta1 to Beta3. Now I Receive this message: The "templating" extension is not enabled in FooApplicationBundle:Bar:index.html.twig at line 65 on that line there is an {{ asset('bundles/foo/images/image.png') }}. I was having the same problem with an include call. In the h

[symfony-users] Develop an app as an API

2011-05-29 Thread Filipe Dias
situation!? Cheers, Filipe Dias -- 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

[symfony-users] Develop an app as an API

2011-05-29 Thread Filipe Dias
situation!? Cheers, Filipe Dias -- 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

[symfony-users] [Symfony 2] Custom Authentication

2011-05-25 Thread Filipe La Ruina
Hello Guys, Well, looks like my efforts on testing the authentication with users taken from a database will not be used. The scenario has changed. I won't be using databases at all in my application and will by fully using an API. Well, the thing is, I have to authenticate the user doing an xhr t

Re: [symfony-users] Re: [Symfony 2] Login using built-in security bundle

2011-05-16 Thread Filipe La Ruina
Hey, Thanks! Totally forgot about that requirement (it was not in the version I had, like Daniel mentioned) I really got confused with the other version I messed with. Thanks again! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com Y

[symfony-users] Re: [Symfony 2] Login using built-in security bundle

2011-05-16 Thread Filipe La Ruina
Hey Guys, Sorry to bring the post back to life but the problem returned! So, I did some other things in the project and wanted to do the login with an entity. Although I found out I was using an older version so I was having some problems following the docs (and I couldn't do the login steps too

[symfony-users] Re: [Symfony2] Highlighting menu based on controller called

2011-05-13 Thread Filipe La Ruina
I ended up putting a variable in the view indicating the menu that should be highlighted. So now my tests are if (menu == 'foo') Still, I think it is not good, will look for a better way in the future (like knowing in the view the controller that was called?) -- If you want to report a vulnerab

[symfony-users] [Symfony2] Highlighting menu based on controller called

2011-05-12 Thread Filipe La Ruina
Hey guys, I've been searching for a way of getting the controller that was called so I can highlight the menu. I looked in the HTTP Foundation class and it seems that there is no way of doing it. Even searching here I couldn't find anyone that had the same problem. Well, now i'm doing it the fol

[symfony-users] Re: Login using built-in security bundle

2011-05-03 Thread Filipe La Ruina
; $error, )); } It's working just fine. My next step is to use the actual entity to use. Thanks a lot, Filipe La Ruina -- 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 subsc

[symfony-users] [Symfony 2] Login using built-in security bundle

2011-05-02 Thread Filipe La Ruina
Hey Guys, I'm doing a project using Symfony 2 and the project involves '/' as being an login/register page and all the other pages require a logged user (it will be an entity) I'm reading the book but still I think the security part is not really clear for me. I see by the demo that I can have a

Re: [symfony-users] Array Problems

2010-07-28 Thread Filipe Costa
thats will output some like this: so...@yahoo.comsome2@yahoo.com On Wed, Jul 28, 2010 at 4:26 PM, Georg wrote: > ??? > > foreach ($var as $val){ > echo $val['email']; > } > > Am 28.07.2010 17:08, schrieb Andro Fumero: > > hello, > > > > can someone help me how to display the array below l

Re: [symfony-users] Array Problems

2010-07-28 Thread Filipe Costa
$ex = ""; foreach($array as $element){ if(strlen($ex>0){ $ex .=" and "; } $ex .= $element['email']; } something like this On Wed, Jul 28, 2010 at 4:08 PM, Andro Fumero wrote: > hello, > > can someone help me how to display the array below like > > ex. "so...@yahoo.com and

[symfony-users] Re: Error on extending profile for sfguard

2010-02-08 Thread Filipe
same problem here On Feb 8, 7:16 pm, Samuel Morhaim wrote: > What am I doing wrong? I keep getting errors rebuilding and also importing > fixtures.. > > Schema > # config/doctrine/schema.yml > Organization: >   actAs: { Timestampable: ~ } >   columns: >     sf_guard_user_id: { type: integer(5) }

[symfony-users] Re: problem on file download

2009-06-06 Thread Filipe Costa
ata); return sfView::NONE; On Sat, Jun 6, 2009 at 2:05 PM, ctrlming wrote: > > How can I get the MIME Type ? can you show me the codes? > > On Jun 6, 9:00 pm, Filipe Costa wrote: > > Why don't you put the MIME Type on the header? > > > > > >

[symfony-users] Re: problem on file download

2009-06-06 Thread Filipe Costa
Why don't you put the MIME Type on the header? On Sat, Jun 6, 2009 at 1:50 PM, ctrlming wrote: > > Hi, I am coding an action for file download, > in firefox,chrome,opera,safari this action works and no errors. > but I got a problem in IE6 & IE7 > in IE6 the file can be downloaded but it has no f

[symfony-users] Re: Symfony Mac INSTALL

2009-04-24 Thread Filipe Costa
I use MAMP and it's the best solution for mac. On Fri, Apr 24, 2009 at 4:53 PM, Eno wrote: > > On Fri, 24 Apr 2009, Atif Khan wrote: > > > Hello there I am trying to install symfony on my MAC. I wanted to know > how > > can I have PDO-mysql enabled with php.Does anyone have instructions how > t

[symfony-users] Re: Symfony Extension: Sympal

2009-04-20 Thread Filipe Costa
Very nice is this for sf1.2? On Mon, Apr 20, 2009 at 7:14 PM, Jonathan Wage wrote: > Hi, > > Some of you have probably already heard a little bit about Sympal, but I'd > like to formally introduce you to it now. > > Sympal is the product of dozens upon dozens of CMS type > websites/applications

[symfony-users] Re: Multiple Databases doctrine on sf1.2

2009-03-24 Thread Filipe Costa
I already did that and doesn't work. The version i put where was the last i wrote, and the one i think is closer to the correct. filipe On Wed, Mar 25, 2009 at 12:34 AM, Jonathan Wage wrote: > Hmm. I was looking around sfDatabaseManager and I see this: > > public funct

[symfony-users] Re: Multiple Databases doctrine on sf1.2

2009-03-24 Thread Filipe Costa
A client ask for a service that requires a new databse. I create a record in my database, that is configured in the databases.yml. After that, I manually create a new databases for that client.. The list of databases is in the master database. thanks Filipe Costa On Wed, Mar 25, 2009 at 12:14 AM

[symfony-users] Re: Multiple Databases doctrine on sf1.2

2009-03-24 Thread Filipe Costa
they are dynamic, I have N databases. thanks Filipe Costa On Wed, Mar 25, 2009 at 12:03 AM, Jonathan Wage wrote: > Hmm...databases.yml supports multiple databases. Why don't you just specify > them there? > > - Jon > > > On Tue, Mar 24, 2009 at 5:49 PM, bue...@gmail.c

[symfony-users] Re: Best practice for multiple dynamic databases using symfony and Doctrine

2009-03-24 Thread Filipe Costa
I spend the all day with this and nothing, if you can give your igm contact so i can talk abou it i will apreciate cums On Tue, Mar 24, 2009 at 11:59 AM, David Herrmann wrote: > > Filipe Costa wrote: > > see this > > > http://groups.google.com/group/symfony-users

[symfony-users] Re: Best practice for multiple dynamic databases using symfony and Doctrine

2009-03-24 Thread Filipe Costa
I already right the code but it doesn't work on symfony 1.2. will you help me? cumps On Tue, Mar 24, 2009 at 11:59 AM, David Herrmann wrote: > > Filipe Costa wrote: > > see this > > > http://groups.google.com/group/symfony-users/browse_thread/thread/b89bcc66e3b70a59

[symfony-users] Re: Best practice for multiple dynamic databases using symfony and Doctrine

2009-03-24 Thread Filipe Costa
see this http://groups.google.com/group/symfony-users/browse_thread/thread/b89bcc66e3b70a59 On Tue, Mar 24, 2009 at 7:34 AM, David Herrmann wrote: > > Hi Filipe, > > bue...@gmail.com wrote: > > I'm having the same problem, if you already resolve please tell. > > I h