save - Symfony 1.4 Validation Error Unsigned -
when try save form in symfony 1.4 gives me these errors:
validation failed in class cmscontentelementfile 4 fields had validation errors: * 1 validator failed on title (unsigned) * 1 validator failed on alt (unsigned) * 1 validator failed on link (unsigned) * 2 validators failed on direction (length, unsigned)
what errors mean?
edit:
validators form fields:
$this->setvalidators(array( 'title' => new sfvalidatorstring(), 'alt' => new sfvalidatorstring(), 'link' => new sfvalidatorstring(), 'width' => new sfvalidatorinteger(), 'height' => new sfvalidatorinteger(), 'direction' => new sfvalidatorpass() ));
it works now. problem give field "direction" param "unsigned:1 , varchar. fix problem. hope helps somebody.
Comments
Post a Comment