Captcha Confusion - help me please

No idea why this is happening…

I have my own form that needs Captcha. I looked at the working included contact form. I replicated that. And for some reason NO IMAGE APPEARS on the new form.

Here is what I have:


public $verifyCode;

public function rules()


   return array(

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



public function attributeLabels()


   return array(

      'verifyCode'=>'Verification Code',




public function actions()


   return array(








if(CCaptcha::checkRequirements()): ?>

                    <div class="row">

                        <?php echo $form->labelEx($model,'verifyCode'); ?>


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

                            <?php echo $form->textField($model,'verifyCode'); ?>


                        <div class="hint">

                            Please enter the letters as they are shown in the image above.

                            <br />

                            Letters are not case-sensitive.


                        <?php echo $form->error($model,'verifyCode'); ?>




Am I missing something?? Maybe in the controller? I have no idea why the image isn’t there. The widget seems to work as I do get the “New Code” link and textbox and all that but the image is just a broken image.

Help please… :(

Make sure you don’t messed up the routing rules…

I don’t fully understand what you mean. =\

Where and how would I be doing that. It seems like something that could be happening though… :o

in config/main.php

Well I didn’t change anything in there and I am just using the default PATH format setting. Is there anything I could be overlooking in that regard? Here is what I have in there…









Really need this working… please help if you can. =[

Fixed it…

Be sure to add the captcha action to your accessRules() so the user (groups) can access it.

Not a cool mistake. >:(