CException

GD and FreeType PHP extensions are required.

/home/akclub/akclub.vn/core/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
+
 /home/akclub/akclub.vn/application/modules/frontend/views/user/forgot.php(25): CBaseController->widget("CCaptcha", array("buttonLabel" => "", "buttonType" => "button", "buttonOptions" => array("class" => "btnnewimg"), "imageOptions" => array("class" => "box-capcha")))
20                     </div>
21                 </div> 
22                 <div class="row fix-inline">
23                     <label>&nbsp;</label>
24                     <div class="text-outer">
25                         <?php $this->widget('CCaptcha', array('buttonLabel' => '', 'buttonType' => 'button', 'buttonOptions' => array('class' => 'btnnewimg'), 'imageOptions' => array('class' => 'box-capcha'))); ?>
26                     </div>
27                 </div>
28                 <div class="row fix-inline">
29                     <label>Mã xác minh: <span class="red">(*)</span></label>
30                     <div class="text-outer">
#6
+
 /home/akclub/akclub.vn/application/modules/frontend/controllers/UserController.php(119): CController->render("forgot", array("model" => ForgotForm))
114                         'message' => 'Chúng tôi đã gửi email hướng dẫn lấy lại mật khẩu vào hòm thư của bạn!',
115                     ));
116                 }
117             }
118         }
119         $this->render('forgot', array('model' => $model));
120     }
121 
122     /**
123      * Xác nhận cấp lại mật khẩu
124      */
#10
+
 /home/akclub/akclub.vn/application/modules/frontend/components/Controller.php(90): CFilterChain->run()
85                 } else if ($checkKeyword) {
86                     SearchKeywords::model()->updateByPk($checkKeyword->id, array('hit' => ++$checkKeyword->hit));
87                 }
88             }
89         }
90         $filterChain->run();
91     }
92 
93     public function filters() {
94         $actionId = $this->getId();
95         //$check = array_search($actionId, array('default', 'category', 'seller', 'bcmap', 'scmap', 'about'));
2024-03-28 17:07:00 Apache/2.2.31 (CentOS) Yii Framework/1.1.12