[symfony-users] Class not found even after cleaning the cache

2010-04-07 Thread Javier Garcia

Hi,

im getting this error:

Fatal error: Class 'ValidatorPasswordActual' not found in 
/opt/lampp/htdocs/rs/lib/form/cambiarPasswordForm.class.php on line /21/


This is the line 21:

$this-validatorSchema-setPostValidator(new sfValidatorAnd(array(new 
ValidatorPasswordActual(),


And this is the ValidatorPasswordActual class:

?php

class ValidatorPasswordActual extends sfValidatorString
{

protected function doClean($value){

if($value == $this-getGuardUser()-getPassword()){

die(entro);
}
}
}

I cleaned the cache, but nothing..

Any help?

--
Javi

Ubuntu 8.04

--
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe, reply using remove me as the subject.


Re: [symfony-users] Class not found even after cleaning the cache

2010-04-07 Thread Daniel Lohse
Where did you store that validator class?

Daniel

On 07.04.2010, at 15:41, Javier Garcia wrote:

 Hi,
 
 im getting this error:
 
 Fatal error: Class 'ValidatorPasswordActual' not found in 
 /opt/lampp/htdocs/rs/lib/form/cambiarPasswordForm.class.php on line 21
 
 This is the line 21:
 
 $this-validatorSchema-setPostValidator(new sfValidatorAnd(array(new 
 ValidatorPasswordActual(),
 
 And this is the ValidatorPasswordActual class:
 
 ?php 
 
 class ValidatorPasswordActual extends sfValidatorString
 {
 
 protected function doClean($value){
 
 if($value == $this-getGuardUser()-getPassword()){
 
 die(entro);
 }
 }
 }
 
 I cleaned the cache, but nothing..
 
 Any help?
  -- 
 Javi
 
 Ubuntu 8.04
 
 -- 
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe, reply using remove me as the subject.


Re: [symfony-users] Class not found even after cleaning the cache

2010-04-07 Thread Javier Garcia

Inside a folder that i created called /lib/validator.

Javi


On 04/07/2010 04:01 PM, Daniel Lohse wrote:

Where did you store that validator class?

Daniel

On 07.04.2010, at 15:41, Javier Garcia wrote:


Hi,

im getting this error:

Fatal error: Class 'ValidatorPasswordActual' not found in 
/opt/lampp/htdocs/rs/lib/form/cambiarPasswordForm.class.php on line /21/


This is the line 21:

$this-validatorSchema-setPostValidator(new sfValidatorAnd(array(new 
ValidatorPasswordActual(),


And this is the ValidatorPasswordActual class:

?php

class ValidatorPasswordActual extends sfValidatorString
{

protected function doClean($value){

if($value == $this-getGuardUser()-getPassword()){

die(entro);
}
}
}

I cleaned the cache, but nothing..

Any help?
--
Javi

Ubuntu 8.04

--
If you want to report a vulnerability issue on symfony, please send 
it to security at symfony-project.com http://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 
mailto:symfony-users@googlegroups.com

To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com 
mailto:symfony-users+unsubscr...@googlegroups.com

For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


--
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en



--
Javi

Ubuntu 8.04

--
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe, reply using remove me as the subject.


Re: [symfony-users] Class not found even after cleaning the cache

2010-04-07 Thread Stéphane
The filename must ends with .class.php


Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!


On Wed, Apr 7, 2010 at 5:35 PM, Javier Garcia tirengar...@gmail.com wrote:

  Inside a folder that i created called /lib/validator.

 Javi



 On 04/07/2010 04:01 PM, Daniel Lohse wrote:

 Where did you store that validator class?

  Daniel

  On 07.04.2010, at 15:41, Javier Garcia wrote:

  Hi,

 im getting this error:

 Fatal error: Class 'ValidatorPasswordActual' not found in
 /opt/lampp/htdocs/rs/lib/form/cambiarPasswordForm.class.php on line *21*

 This is the line 21:

 $this-validatorSchema-setPostValidator(new sfValidatorAnd(array(new
 ValidatorPasswordActual(),

 And this is the ValidatorPasswordActual class:

 ?php

 class ValidatorPasswordActual extends sfValidatorString
 {

 protected function doClean($value){

 if($value == $this-getGuardUser()-getPassword()){

 die(entro);
 }
 }
 }

 I cleaned the cache, but nothing..

 Any help?

 --
 Javi

 Ubuntu 8.04


  --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


  --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en



 --
 Javi

 Ubuntu 8.04

  --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe, reply using remove me as the subject.


Re: [symfony-users] Class not found even after cleaning the cache

2010-04-07 Thread Javier Garcia

No problem if i store it inside lib/ folder instead of lib/validator.

Is there any way to store it in lib/validator without problems? I feel 
more comfortable if i store the validators inside a folder called 
'validator'.


Javi

On 04/07/2010 05:46 PM, Stéphane wrote:

The filename must ends with .class.php


Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!


On Wed, Apr 7, 2010 at 5:35 PM, Javier Garcia tirengar...@gmail.com 
mailto:tirengar...@gmail.com wrote:


Inside a folder that i created called /lib/validator.

Javi



On 04/07/2010 04:01 PM, Daniel Lohse wrote:

Where did you store that validator class?

Daniel

On 07.04.2010, at 15:41, Javier Garcia wrote:


Hi,

im getting this error:

Fatal error: Class 'ValidatorPasswordActual' not found in
/opt/lampp/htdocs/rs/lib/form/cambiarPasswordForm.class.php on
line /21/

This is the line 21:

$this-validatorSchema-setPostValidator(new
sfValidatorAnd(array(new ValidatorPasswordActual(),

And this is the ValidatorPasswordActual class:

?php

class ValidatorPasswordActual extends sfValidatorString
{

protected function doClean($value){

if($value == $this-getGuardUser()-getPassword()){

die(entro);
}
}
}

I cleaned the cache, but nothing..

Any help?
-- 
Javi


Ubuntu 8.04

-- 
If you want to report a vulnerability issue on symfony, please

send it to security at symfony-project.com
http://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
mailto:symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
mailto:symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


-- 
If you want to report a vulnerability issue on symfony, please

send it to security at symfony-project.com
http://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
mailto:symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
mailto:symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en



-- 
Javi


Ubuntu 8.04

-- 
If you want to report a vulnerability issue on symfony, please

send it to security at symfony-project.com
http://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 mailto:symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
mailto:symfony-users%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


--
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en



--
Javi

Ubuntu 8.04

--
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe, reply using remove me as the subject.