[symfony-users] Embedding forms / Objects

2009-07-22 Thread -gary-
Hi, I am trying to do a multiple edit on a database table. Whn I output like this: [code] getStatusObject($key)->getStatusname() ?> [/code] I get this error: [code] Fatal error: Call to a member function getStatusname() on a non- object [/code] When I comment the above out the rest of the field

[symfony-users] Re: Embedding forms / Objects

2009-07-23 Thread -gary-
Apologies for replying to my own post, but does anybody have any idea on this one? I have no idea why I am getting this error. Thanks in advance. On Jul 22, 7:43 pm, -gary- wrote: > Hi, > > I am trying to do a multiple edit on a database table. > > Whn I output lik

[symfony-users] Re: Embedding forms / Objects

2009-07-23 Thread -gary-
In the template? This is a function call though. On Jul 23, 11:22 am, Dirk Hartmann wrote: > getStatusObject[$key]->... Not Round brackets... > > Dirk Hartmann > Schenckstr. 10 > 57074 Siegen > m > > Am 23.07.2009 um 17:12 schrieb -gary- : > > > > >

[symfony-users] Re: Embedding forms / Objects

2009-07-23 Thread -gary-
In the template? This is a function call though. On Jul 23, 11:22 am, Dirk Hartmann wrote: > getStatusObject[$key]->... Not Round brackets... > > Dirk Hartmann > Schenckstr. 10 > 57074 Siegen > m > > Am 23.07.2009 um 17:12 schrieb -gary- : > > > > >

[symfony-users] Re: Embedding forms / Objects

2009-07-23 Thread -gary-
Yes, my: public function getStatusObject($key) { return (isset($this->status_objects[$key])) ? $this- >status_objects [$key] : null; } is not returning an object and that why I'm having problems in the template. Anyone have any idea on this please? I'd appreciate any help at all. Tha

[symfony-users] Re: Embedding forms / Objects

2009-07-24 Thread -gary-
bjects > in a numeric indexed array. > > Therefore make sure that the key that is passed or the actual creation of > $this->status_objects (possibly using a var_dump($this->status_objects) call > on it) was successful. It might get you one step closer to troubleshooting >

[symfony-users] Re: Embedding forms / Objects

2009-07-24 Thread -gary-
On Jul 24, 5:11 am, -gary- wrote: > Thank you for the reply Gareth. > > I am using Propel. > When I: >     foreach( StatusPeer::doSelect(new Criteria()) as $status_object ) > is that incorrect? > > I var_dubped all over the placec and everything seems to have what is >

[symfony-users] Re: Embedding forms / Objects

2009-07-24 Thread -gary-
If I, in the template: I get the whole form and fields. I just need to get these row by row. Is this possible? On Jul 24, 8:35 am, -gary- wrote: > Also, I tried: > > $this->status_objects = StatusPeer::doSelect(new Criteria()); > > and var_dump'd and got the fo

[symfony-users] Re: Embedding forms / Objects

2009-07-24 Thread -gary-
If I, in the template: I get the whole form and fields. I just need to get these row by row. Is this possible? On Jul 24, 8:35 am, -gary- wrote: > Also, I tried: > > $this->status_objects = StatusPeer::doSelect(new Criteria()); > > and var_dump'd and got the fo

[symfony-users] Re: Embedding forms / Objects

2009-07-24 Thread -gary-
If I, in the template: I get the whole form and fields. I just need to get these row by row. Is this possible? On Jul 24, 8:35 am, -gary- wrote: > Also, I tried: > > $this->status_objects = StatusPeer::doSelect(new Criteria()); > > and var_dump'd and got the fo

[symfony-users] Re: Embedding forms / Objects

2009-07-24 Thread -gary-
t; > echo $form['field_name']; > > > ;) > > - Original Message - > From: "-gary-" > To: "symfony users" > Sent: Friday, July 24, 2009 5:02:45 PM GMT +02:00 Harare / Pretoria > Subject: [symfony-users] Re: Embedding forms / Objects > > If I, in th

[symfony-users] Re: Embedding forms / Objects

2009-07-24 Thread -gary-
t; > echo $form['field_name']; > > > ;) > > - Original Message - > From: "-gary-" > To: "symfony users" > Sent: Friday, July 24, 2009 5:02:45 PM GMT +02:00 Harare / Pretoria > Subject: [symfony-users] Re: Embedding forms / Objects > > If I, in th

[symfony-users] Re: Embedding forms / Objects

2009-07-24 Thread -gary-
t; > echo $form['field_name']; > > > ;) > > - Original Message - > From: "-gary-" > To: "symfony users" > Sent: Friday, July 24, 2009 5:02:45 PM GMT +02:00 Harare / Pretoria > Subject: [symfony-users] Re: Embedding forms / Objects > > If I, in th

[symfony-users] Re: Embedding forms / Objects

2009-07-24 Thread -gary-
t; > echo $form['field_name']; > > > ;) > > - Original Message - > From: "-gary-" > To: "symfony users" > Sent: Friday, July 24, 2009 5:02:45 PM GMT +02:00 Harare / Pretoria > Subject: [symfony-users] Re: Embedding forms / Objects > > If I, in th

[symfony-users] Re: Embedding forms / Objects

2009-07-24 Thread -gary-
t; > echo $form['field_name']; > > > ;) > > - Original Message - > From: "-gary-" > To: "symfony users" > Sent: Friday, July 24, 2009 5:02:45 PM GMT +02:00 Harare / Pretoria > Subject: [symfony-users] Re: Embedding forms / Objects > > If I, in th

[symfony-users] Re: Embedding forms / Objects

2009-07-24 Thread -gary-
t; > echo $form['field_name']; > > > ;) > > - Original Message - > From: "-gary-" > To: "symfony users" > Sent: Friday, July 24, 2009 5:02:45 PM GMT +02:00 Harare / Pretoria > Subject: [symfony-users] Re: Embedding forms / Objects > > If I, in th

[symfony-users] Problems with doctrine:data-load

2009-04-22 Thread Gary Rojas
I'm having a problem with my fixture data. This is a part of data/ fixtures/status.yml pltStatus: pltStatus_ina: id: ina name: Inactivo description: El registro ha sido desactivado por alguien que tiene las credenciales para hacerlo pltStatus_pen: id: pen name: Pendiente:

[symfony-users] Re: Problems with doctrine:data-load

2009-04-22 Thread Gary Rojas
usado para definir las ordenes de compra. # The first three records are quoted but it behaves like quotes no exists because the text is trunked how i say before. Thanks in advance On 22 abr, 13:02, Andrei Dziahel wrote: > hi. > > You can also try to enclose descrip

[symfony-users] Re: Problems with doctrine:data-load

2009-04-23 Thread Gary Rojas
all text don't be inserted. Thanks. On 23 abr, 06:45, Eno wrote: > On Wed, 22 Apr 2009, Gary Rojas wrote: > > The first three records are quoted but it behaves like quotes no > > exists because the text is trunked how i say before. > > Is it possible that PHP or yo

[symfony-users] Security doubts on sfDoctrineGuardPlugin

2009-05-06 Thread Gary Rojas
I was reviewing how sfDoctrineGuardPlugin control the sign in and i found that this plugin doesn't make any validation about the status of the user (i think this should be with the is_active field). I realized about this because i have a user with is_active = 0 and this user can sign in without an

[symfony-users] Re: Security doubts on sfDoctrineGuardPlugin

2009-05-07 Thread Gary Rojas
ss PluginsfGuardUserTable extends Doctrine_Table > { >   public static function retrieveByUsername($username, $isActive = > true) >   { >     return Doctrine_Query::create() >             ->from('sfGuardUser u') >             ->where('u.username = ?'

[symfony-users] Doctrine schema file problems with generated forms

2009-05-14 Thread Gary Rojas
I'm working with Symfony 1.2 and Doctrine 1.0 and I'm getting errors with the generated forms Here is part of my schema.yml ## pltProjectModule: tableName: plt_project_module columns: project_id: type: integer(4) prim

[symfony-users] how can i load all my model classes in the proyect configuration class?

2009-06-18 Thread Gary Rojas
Hi everybody, I have troubles, i need to get loaded all the model classes on the ProjectConfiguration class. I hope someone knows how to do this. Thanks so much --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sy

[symfony-users] Re: how can i load all my model classes in the proyect configuration class?

2009-06-18 Thread Gary Rojas
I use Symfony 1.2 and Doctrine 1.0 Sorry for this On 18 jun, 14:22, Gary Rojas wrote: > Hi everybody, I have troubles, i need to get loaded all the model > classes on the ProjectConfiguration class. > > I hope someone knows how to do this. > &

[symfony-users] A question symfony and IIS on XP OS

2009-11-01 Thread gary clark
Hello, I am new to symfony and have taken over a website that ran on windows 2003 that used symfony and was configured using IIS. I have a website installed on my XP OS machine. not windows 2003. Can symfony in conjunction with IIS on an XP machine work together? without apache etc. The proble

[symfony-users] Re: Authentication with email

2009-05-06 Thread Gary Rojas Hilario
orSchema->setPostValidator(new sfGuardValidatorUser()); by: $this->validatorSchema->setPostValidator(new sfGuardUserByEmailValidator ()); Regards, Gary Rojas 2009/5/5 justin_davis : > > Hey all, > > I'm using Symfony 1.2 and Doctrine, with the sfDoctrineGuard plugin. > I