captcha related save() model problem


im wondering why i cant save a user model in my database when i use captcha in my register form. anyone?

here is my controller:

public function actions()


		return array(

			// captcha action renders the CAPTCHA image displayed on the contact page








controller action create







	<?php if(extension_loaded('gd')): ?>

	<div class="row">

		<?php echo CHtml::activeLabelEx($model,'verifyCode'); ?>


		<?php $this->widget('CCaptcha'); ?>

		<?php echo CHtml::activeTextField($model,'verifyCode'); ?>


		<div class="hint">Please enter the letters as they are shown in the image above.

		<br/>Letters are not case-sensitive.</div>


	<?php endif; ?>

in my user model rules


	array('verifyCode', 'captcha', 'allowEmpty'=>!CCaptcha::checkRequirements()),

saving is successfull without captcha, anyone?? thanks in advance :)

Coul dbe that you get some validation errors…

check with errorSummary() if you already dont use it - http://www.yiiframew…rSummary-detail

NOTE: in the view… instead of extension_loaded() use CCaptcha::checkRequirements() like in the rules…