This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » legacy support » symfony 1.1 » sfPropelUniqueValidator fatal error
sfPropelUniqueValidator fatal error [message #59219] Thu, 21 August 2008 15:42 Go to next message
sdemch  is currently offline sdemch
Messages: 10
Registered: May 2008
Location: Moscow
Junior Member
Fatal error: Class 'sfValidator' not found in C:\usr\local\www\og1\symfony\lib\plugins\sfPropelPlugin\lib\ propel\validator\sfPropelUniqueValidator.class.php on line 36

Using symfony 1.1 svn checkout

Form validator:
'username' => new sfValidatorAnd( array(
          new sfValidatorString(array(), array('required'=>'Not empty')),
          new sfPropelUniqueValidator(array('model'=>'sfGuardUser','column'=>'username'), array('unique_error'=>'Alrady exisis'))
          )),

[Updated on: Thu, 21 August 2008 15:43]

Re: sfPropelUniqueValidator fatal error [message #64432 is a reply to message #59219 ] Mon, 03 November 2008 10:33 Go to previous message
Sephi77  is currently offline Sephi77
Messages: 109
Registered: January 2007
Location: Switzerland
Senior Member
Same problem here on a 1.1.4 installation. I tried reinstalling but it didn't change anything. The only sfValidator.class.php file that exists on my system is in plugins/sfCompat10Plugin/lib/validator/sfValidator.class.php .

How can I do to use this validator ?
Previous Topic:Admin generator : looking for an advanced ReferenceCard
Next Topic:Displaying errors on the view
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software