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/register.php(80): CBaseController->widget("CCaptcha", array("buttonLabel" => "<i class="ico ico-refrest"></i>", "imageOptions" => array("height" => "34px")))
75 //                            'showRefreshButton' => false,
76 //                            'clickableImage' => true,
77                                 'imageOptions' => array(
78                                     'height' => '34px',
79                                 ),
80                             ));
81                             ?>
82                         </span>
83                     </div>
84                     <div>
85                         <?php echo $form->error($model, 'captcha'); ?>
#5
+
 /var/www/gugo.vn/public_html/protected/components/PublicController.php(93): CController->renderPartial("register", array("theme" => Themes, "model" => BuildRegisterForm, "themerelaction" => array(2 => array("theme_id" => "ggwi174", "theme_name" => "Thẩm mỹ viện", "theme_type" => "3", "category_id" => "1", ...), 4 => array("theme_id" => "ggwi147", "theme_name" => "Web dịch vụ sửa chữa", "theme_type" => "3", "category_id" => "1", ...), 5 => array("theme_id" => "ggwi139", "theme_name" => "Web công ty giới thiệu", "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
#6
+
 /var/www/gugo.vn/public_html/protected/modules/site/controllers/BuildController.php(232): PublicController->render("register", array("theme" => Themes, "model" => BuildRegisterForm, "themerelaction" => array(2 => array("theme_id" => "ggwi174", "theme_name" => "Thẩm mỹ viện", "theme_type" => "3", "category_id" => "1", ...), 4 => array("theme_id" => "ggwi147", "theme_name" => "Web dịch vụ sửa chữa", "theme_type" => "3", "category_id" => "1", ...), 5 => array("theme_id" => "ggwi139", "theme_name" => "Web công ty giới thiệu", "theme_type" => "3", "category_id" => "1", ...))))
227         //
228         $this->render('register', array(
229             'theme' => $theme,
230             'model' => $model,
231             'themerelaction' => $theme_relaction,
232         ));
233     }
234 
235     /**
236      * Tự động tạo ra file sql
237      * array("table" => array("id" => array("map"=>"tên biến trong sql")))
2024-03-28 18:29:54 Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips SVN/1.7.14 PHP/7.4.33 Yii Framework/1.1.16