CException

GD with FreeType or ImageMagick PHP extensions are required.

/var/www/html/portal/yii/framework/web/widgets/captcha/CCaptcha.php(91)

079 
080     /**
081      * Renders the widget.
082      */
083     public function run()
084     {
085         if(self::checkRequirements('imagick') || self::checkRequirements('gd'))
086         {
087             $this->renderImage();
088             $this->registerClientScript();
089         }
090         else
091             throw new CException(Yii::t('yii','GD with FreeType or ImageMagick PHP extensions are required.'));
092     }
093 
094     /**
095      * Renders the CAPTCHA image.
096      */
097     protected function renderImage()
098     {
099         if(!isset($this->imageOptions['id']))
100             $this->imageOptions['id']=$this->getId();
101 
102         $url=$this->getController()->createUrl($this->captchaAction,array('v'=>uniqid()));
103         $alt=isset($this->imageOptions['alt'])?$this->imageOptions['alt']:'';

Stack Trace

#1
+
 /var/www/html/portal/protected/views/login/registration.php(148): CBaseController->widget("CCaptcha", array("buttonOptions" => array("id" => "newCaptcha")))
143                             echo $form->checkboxGroup($model, 'is_agree');
144                             
145                             echo $form->textFieldGroup($model_user, 'verifyCode', array('class' => 'form-control mr-lf-5  span3'));
146                             $this->widget('CCaptcha', array(
147                                 // Standard with button / link: set the "button" id to 'newCaptcha'
148                                 'buttonOptions' => array(
149                                     'id' => 'newCaptcha',
150                                 ),
151                             ));
152 
153 //Msg 
#6
+
 /var/www/html/portal/protected/modules/influencer/controllers/InfluencerController.php(166): CController->render("//login/registration", array("model" => Influencer, "model_user" => User))
161             }
162                 
163         }
164 
165         // display the login form
166         $this->render('//login/registration', array('model' => $model, 'model_user' => $model_user));
167     }
168     
169     /**
170      * It will return the model if email id is alraedy exists for Survay taker User.
171      * Issue Id : 90393
#14
+
 /var/www/html/portal/index.php(23): CApplication->run()
18  */
19 
20 $manage_url_path = dirname(__FILE__) . '/protected/components/ManageUrl.php';
21 require_once( $manage_url_path );
22 $create_web_application = new ManageUrl($config);
23 $create_web_application->run();
2024-03-29 05:33:36 nginx/1.14.0 Yii Framework/1.1.20