D:\webroot\uulie.com\protected\extensions\EWideImage\WideImage.php(228)
216 $custom_mappers = WideImage_MapperFactory::getCustomMappers(); 217 foreach ($custom_mappers as $mime_type => $mapper_class) 218 { 219 $mapper = WideImage_MapperFactory::selectMapper(null, $mime_type); 220 $handle = $mapper->loadFromString($data); 221 if (self::isValidImageHandle($handle)) 222 break; 223 } 224 } 225 } 226 227 if (!self::isValidImageHandle($handle)) 228 throw new WideImage_InvalidImageSourceException("File '{$uri}' appears to be an invalid image source."); 229 230 return self::loadFromHandle($handle); 231 } 232 233 /** 234 * Create and load an image from a string. Format is auto-detected. 235 * 236 * @param string $string Binary data, i.e. from BLOB field in the database 237 * @return WideImage_Image WideImage_PaletteImage or WideImage_TrueColorImage instance 238 */ 239 static function loadFromString($string) 240 {
#0 |
+
–
D:\webroot\uulie.com\protected\extensions\EWideImage\WideImage.php(186): WideImage::loadFromFile("D:\webroot\uulie.com\protected/../") 181 182 // Otherwise, must be a file or an URL 183 if (!$predictedSourceType) 184 $predictedSourceType = 'File'; 185 186 return call_user_func(array('WideImage', 'loadFrom' . $predictedSourceType), $source); 187 } 188 189 /** 190 * Create and load an image from a file or URL. The image format is auto-detected. 191 * |
#1 |
+
–
D:\webroot\uulie.com\protected\components\DxdUtil.php(184): WideImage::load(array("WideImage", "loadFromFile"), "D:\webroot\uulie.com\protected/../") 179 Yii::import('application.extensions.EWideImage.EWideImage'); 180 $dir = dirname($targetFile); 181 if(!file_exists($dir)){ 182 DxdUtil::createFolders($dir); 183 } 184 EWideImage::load(Yii::app()->basePath."/../".$fileName)->resize($width,$height)->saveToFile($targetFile); 185 return "caches/".$newFileName; 186 } 187 /** 188 * 找出某一图片文件对应的所有缓存文件 189 * Enter description here ... |
#2 |
+
–
D:\webroot\uulie.com\protected\views\u\index.php(5): DxdUtil::xImage("D:\webroot\uulie.com\protected/../") 01 <div class="row"> 02 <div style="border:1px solid #ccc;" class="span12"> 03 <div style="padding:15px"> 04 <div class="pull-left"> 05 <?php echo CHtml::image(Yii::app()->baseUrl."/".DxdUtil::xImage($user->face,120,120),$user->name,array('class'=>'pull-left','style'=>"margin-right:20px"));?> 06 <div class="pull-left"> 07 <h2><?php echo $user->name;?> </h2> 08 <p class="dxd-break-word dxd-self-introduction" style="margin-top:20px;font-size:1.5em;"><?php echo $user->bio;?></p> 09 </div> 10 <div class="clearfix"></div> |
#3 |
+
–
D:\webroot\uulie.com\yii\framework\web\CBaseController.php(126): require("D:\webroot\uulie.com\protected\views\u\index.php") 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#4 |
+
–
D:\webroot\uulie.com\yii\framework\web\CBaseController.php(95): CBaseController->renderInternal(null, 120, 120) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#5 |
+
–
D:\webroot\uulie.com\yii\framework\web\CController.php(869): CBaseController->renderFile("D:\webroot\uulie.com\protected\views\u\index.php", array("user" => null, "courseDataProvider" => CArrayDataProvider), true) 864 */ 865 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 866 { 867 if(($viewFile=$this->getViewFile($view))!==false) 868 { 869 $output=$this->renderFile($viewFile,$data,true); 870 if($processOutput) 871 $output=$this->processOutput($output); 872 if($return) 873 return $output; 874 else |
#6 |
+
–
D:\webroot\uulie.com\yii\framework\web\CController.php(782): CController->renderPartial("D:\webroot\uulie.com\protected\views\u\index.php", array("user" => null, "courseDataProvider" => CArrayDataProvider), true) 777 */ 778 public function render($view,$data=null,$return=false) 779 { 780 if($this->beforeRender($view)) 781 { 782 $output=$this->renderPartial($view,$data,true); 783 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 784 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 785 786 $this->afterRender($view,$output); 787 |
#7 |
+
–
D:\webroot\uulie.com\protected\controllers\UController.php(63): CController->render("index", array("user" => null, "courseDataProvider" => CArrayDataProvider), true) 58 59 $this->render("index",array("user"=>$user, 60 'courseDataProvider'=>$courseDataProvider, 61 // 'questionDataProvider'=>$questionDataProvider, 62 // 'answerDataProvider'=>$answerDataProvider 63 )); 64 } 65 /** 66 * 显示用户名片信息 67 */ 68 public function actionHoverCard(){ |
#8 |
unknown(0): UController->actionIndex("index", array("user" => null, "courseDataProvider" => CArrayDataProvider))
|
#9 |
+
–
D:\webroot\uulie.com\yii\framework\web\actions\CAction.php(108): ReflectionMethod->invokeArgs("608") 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#10 |
+
–
D:\webroot\uulie.com\yii\framework\web\actions\CInlineAction.php(47): CAction->runWithParamsInternal(UController, array("608")) 42 { 43 $methodName='action'.$this->getId(); 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 else 49 return $controller->$methodName(); 50 } 51 52 } |
#11 |
+
–
D:\webroot\uulie.com\yii\framework\web\CController.php(308): CInlineAction->runWithParams(UController, ReflectionMethod, array("r" => "u/index", "id" => "608")) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#12 |
+
–
D:\webroot\uulie.com\yii\framework\web\filters\CFilterChain.php(133): CController->runAction(array("r" => "u/index", "id" => "608")) 128 $filter=$this->itemAt($this->filterIndex++); 129 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 130 $filter->filter($this); 131 } 132 else 133 $this->controller->runAction($this->action); 134 } 135 } |
#13 |
+
–
D:\webroot\uulie.com\yii\framework\web\filters\CFilter.php(40): CFilterChain->run(CInlineAction) 35 */ 36 public function filter($filterChain) 37 { 38 if($this->preFilter($filterChain)) 39 { 40 $filterChain->run(); 41 $this->postFilter($filterChain); 42 } 43 } 44 45 /** |
#14 |
+
–
D:\webroot\uulie.com\yii\framework\web\CController.php(1145): CFilter->filter() 1140 */ 1141 public function filterAccessControl($filterChain) 1142 { 1143 $filter=new CAccessControlFilter; 1144 $filter->setRules($this->accessRules()); 1145 $filter->filter($filterChain); 1146 } 1147 1148 /** 1149 * Returns a persistent page state value. 1150 * A page state is a variable that is persistent across POST requests of the same page. |
#15 |
+
–
D:\webroot\uulie.com\yii\framework\web\filters\CInlineFilter.php(58): CController->filterAccessControl(CFilterChain) 53 * @param CFilterChain $filterChain the filter chain that the filter is on. 54 */ 55 public function filter($filterChain) 56 { 57 $method='filter'.$this->name; 58 $filterChain->controller->$method($filterChain); 59 } 60 } |
#16 |
+
–
D:\webroot\uulie.com\yii\framework\web\filters\CFilterChain.php(130): CInlineFilter->filter(CFilterChain) 125 { 126 if($this->offsetExists($this->filterIndex)) 127 { 128 $filter=$this->itemAt($this->filterIndex++); 129 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 130 $filter->filter($this); 131 } 132 else 133 $this->controller->runAction($this->action); 134 } 135 } |
#17 |
+
–
D:\webroot\uulie.com\yii\framework\web\CController.php(291): CFilterChain->run(CFilterChain) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); 292 $this->_action=$priorAction; 293 } 294 } 295 296 /** |
#18 |
+
–
D:\webroot\uulie.com\yii\framework\web\CController.php(265): CController->runActionWithFilters() 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#19 |
+
–
D:\webroot\uulie.com\yii\framework\web\CWebApplication.php(282): CController->run(CInlineAction, array("accessControl", "postOnly + delete")) 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#20 |
+
–
D:\webroot\uulie.com\yii\framework\web\CWebApplication.php(141): CWebApplication->runController("index") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#21 |
+
–
D:\webroot\uulie.com\yii\framework\base\CApplication.php(180): CWebApplication->processRequest("u/index") 175 public function run() 176 { 177 if($this->hasEventHandler('onBeginRequest')) 178 $this->onBeginRequest(new CEvent($this)); 179 register_shutdown_function(array($this,'end'),0,false); 180 $this->processRequest(); 181 if($this->hasEventHandler('onEndRequest')) 182 $this->onEndRequest(new CEvent($this)); 183 } 184 185 /** |
#22 |
+
–
D:\webroot\uulie.com\index.php(91): CApplication->run() 86 87 88 //define("SETTINGS",include (dirname(__FILE__).'/protected/data/settings.php')); 89 90 $env->runYiiStatics(); // like Yii::setPathOfAlias() 91 Yii::createWebApplication($env->configWeb)->run(); 92 |