手机号/邮箱:
该账号已注册,你可以直接登录
密码:
请设置你的登录密码
验证码:
CException

CException

GD with FreeType or ImageMagick PHP extensions are required.

/home/www/muomou_admin/framework/web/widgets/captcha/CCaptcha.php(88)

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

Stack Trace

#1
+
 /home/www/muomou_admin/70game/templates/member/vipregister.php(115): CBaseController->widget("CCaptcha", array("showRefreshButton" => false, "clickableImage" => true, "imageOptions" => array("alt" => "点击换图", "title" => "点击换图", "style" => "cursor:pointer")))
110             </div>
111             <div class="old  yzm">
112                 <span>验证码:</span>
113                 <input type="text" placeholder="验证码" name="captcha">
114                 <div class="yzm-img">
115                     <?php $this->widget('CCaptcha',array('showRefreshButton'=>false,'clickableImage'=>true,'imageOptions'=>array('alt'=>'点击换图','title'=>'点击换图','style'=>'cursor:pointer'))); ?></span>
116                 </div>
117                 <div class="ts-news">
118                     <div class="wrong" style="display:none" id="captcha">验证码不正确</div>
119                 </div>
120             </div>
#4
+
 /home/www/muomou_admin/70game/protected/controllers/MemberController.php(34): CBaseController->renderFile("/home/www/muomou_admin/70game/templates/member/vipregister.php", array())
29         echo $this->processOutput( $this->renderFile( $template, array( )));
30     }
31     public function actionVipRegister(){
32 
33         $template = Yii::app()->params['templates'] . '/member/vipregister.php';
34         echo $this->processOutput( $this->renderFile( $template, array( )));
35     }
36     public function actiondoRegister(){
37 
38         $username = $_POST['username'];
39         if( preg_match("/^1(3|5|8|7)\d{9}$/", $username)){
#12
+
 /home/www/muomou_admin/70game/index.php(12): CApplication->run()
07 // remove the following lines when in production mode
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 require_once($yii);
12 Yii::createWebApplication($config)->run();
13 
14 ?>
2020-07-04 09:44:00 nginx/1.6.2 Yii Framework/1.1.15