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/emaintenance.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(457): CController->render("emaintenance", array("brands" => array(1 => "Canon", 13 => "NEC", 14 => "Ruijie", 15 => "Reyee"), "model" => registerForm))
452             foreach($brandsList as $brand)
453             {
454                 $arBrands[$brand['id']] = $brand['brand_name'];
455             }
456         }
457         $this->render('emaintenance', array('brands'=>$arBrands, 'model'=> $model));
458     }
459 }
#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 13:10:48 Apache/2.4.53 (cPanel) OpenSSL/1.1.1m mod_bwlimited/1.4 Phusion_Passenger/6.0.7 Yii Framework/1.1.10