CException

GD and FreeType PHP extensions are required.

/home2/ieccom/public_html/framework/web/widgets/captcha/CCaptcha.php(89)

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

Stack Trace

#1
+
 /home2/ieccom/public_html/themes/iec/views/site/register.php(286): CBaseController->widget("CCaptcha")
281         </tr>
282         <tr>
283           <td bgcolor="#f1f1f1"><span class="login_boldgray10">*</span> Enter Captcha Code</td>
284           <td bgcolor="#f1f1f1">
285             <?php echo $form->textField($model,'verifyCode'); ?> <br />
286             <?php $this->widget('CCaptcha'); ?>
287     
288     </div>
289     <div class="hint">Please enter the letters as they are shown in the image above.
290     <br/>Letters are not case-sensitive.</div>
291     <?php echo $form->error($model,'verifyCode'); ?>
#6
+
 /home2/ieccom/public_html/protected/controllers/SiteController.php(189): CController->render("register", array("brands" => array(1 => "Canon", 13 => "NEC", 14 => "Ruijie", 15 => "Reyee"), "model" => registerForm))
184             foreach($brandsList as $brand)
185             {
186                 $arBrands[$brand['id']] = $brand['brand_name'];
187             }
188         }
189         $this->render('register', array('brands'=>$arBrands, 'model'=> $model));
190     }
191 
192     public function actionError()
193     {
194         if($error=Yii::app()->errorHandler->error)
#14
+
 /home2/ieccom/public_html/index.php(13): CApplication->run()
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
2022-05-19 11:33:22 Apache/2.4.53 (cPanel) OpenSSL/1.1.1m mod_bwlimited/1.4 Phusion_Passenger/6.0.7 Yii Framework/1.1.10