CException

GD with FreeType or ImageMagick PHP extensions are required.

/var/www/gugo.vn/public_html/common/lib/Yii/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/gugo.vn/public_html/protected/modules/site/views/build/request_form.php(75): CBaseController->widget("CCaptcha", array("buttonLabel" => "<i class="ico ico-refrest"></i>", "captchaAction" => "/site/request/captcha", "imageOptions" => array("height" => "34px")))
70                 'buttonLabel' => '<i class="ico ico-refrest"></i>',
71                 'captchaAction' => Yii::app()->createUrl('/site/request/captcha'),
72                 'imageOptions' => array(
73                     'height' => '34px',
74                 ),
75             ));
76             ?>
77         </span>
78     </div>
79     <div>
80         <?php echo $form->error($model, 'captcha', array('hideErrorMessage' => true)); ?>
#5
+
 /var/www/gugo.vn/public_html/protected/modules/site/views/build/order.php(26): CController->renderPartial("request_form", array("model" => Requests))
21             </div>
22             <div class="col-xs-4">
23                 <?php
24                 $this->renderPartial('request_form', array(
25                     'model' => $model,
26                 ));
27                 ?>
28             </div>
29         </div>
30         <?php
31         if ($themerelaction && count($themerelaction)) {
#9
+
 /var/www/gugo.vn/public_html/protected/components/PublicController.php(93): CController->renderPartial("order", array("model" => Requests, "theme" => Themes, "themerelaction" => array(2 => array("theme_id" => "ggwi112", "theme_name" => "Web tập đoàn sơn", "theme_type" => "3", "category_id" => "1", ...), 3 => array("theme_id" => "ggwi113", "theme_name" => "web công ty bất động sản", "theme_type" => "3", "category_id" => "1", ...), 9 => array("theme_id" => "ggwi147", "theme_name" => "Web dịch vụ sửa chữa", "theme_type" => "3", "category_id" => "1", ...))), true)
88     //
89     public function render($view, $data = null, $return = false) {
90         if ($this->beforeRender($view)) {
91             Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/web3nhat.min.js?v=' . VERSION, CClientScript::POS_END);
92             Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . '/css/main.min.css?v=' . VERSION);
93             $output = $this->renderPartial($view, $data, true);
94             $output.= $this->widget('common.widgets.managerwidget.managerwidget', array(), true);
95             $output.= $this->widget('common.widgets.statistic.statistic', array(), true);
96             // widget nhận thông báo
97             $output.= $this->widget('Flashes', array(), true);
98             // add custom style to out put
2024-03-28 22:29:42 Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips SVN/1.7.14 PHP/7.4.33 Yii Framework/1.1.16