/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CAssetManager.php(138)
126 } 127 128 /** 129 * Sets the root directory storing published asset files. 130 * @param string $value the root directory storing published asset files 131 * @throws CException if the base path is invalid 132 */ 133 public function setBasePath($value) 134 { 135 if(($basePath=realpath($value))!==false && is_dir($basePath) && is_writable($basePath)) 136 $this->_basePath=$basePath; 137 else 138 throw new CException(Yii::t('yii','CAssetManager.basePath "{path}" is invalid. Please make sure the directory exists and is writable by the Web server process.', 139 array('{path}'=>$value))); 140 } 141 142 /** 143 * @return string the base url that the published asset files can be accessed. 144 * Note, the ending slashes are stripped off. Defaults to '/AppBaseUrl/assets'. 145 */ 146 public function getBaseUrl() 147 { 148 if($this->_baseUrl===null) 149 { 150 $request=Yii::app()->getRequest();
#0 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CAssetManager.php(123): CAssetManager->setBasePath("/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/asset...") 118 public function getBasePath() 119 { 120 if($this->_basePath===null) 121 { 122 $request=Yii::app()->getRequest(); 123 $this->setBasePath(dirname($request->getScriptFile()).DIRECTORY_SEPARATOR.self::DEFAULT_BASEPATH); 124 } 125 return $this->_basePath; 126 } 127 128 /** |
#1 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CAssetManager.php(217): CAssetManager->getBasePath() 212 if(isset($this->_published[$path])) 213 return $this->_published[$path]; 214 elseif(($src=realpath($path))!==false) 215 { 216 $dir=$this->generatePath($src,$hashByName); 217 $dstDir=$this->getBasePath().DIRECTORY_SEPARATOR.$dir; 218 if(is_file($src)) 219 { 220 $fileName=basename($src); 221 $dstFile=$dstDir.DIRECTORY_SEPARATOR.$fileName; 222 |
#2 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/helpers/CHtml.php(1295): CAssetManager->publish("/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/w...", false) 1290 * different extensions. 1291 * @return string the asset URL 1292 */ 1293 public static function asset($path,$hashByName=false) 1294 { 1295 return Yii::app()->getAssetManager()->publish($path,$hashByName); 1296 } 1297 1298 /** 1299 * Normalizes the input parameter to be a valid URL. 1300 * |
#3 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/widgets/pagers/CLinkPager.php(233): CHtml::asset("/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/w...") 228 * Registers the needed CSS file. 229 * @param string $url the CSS URL. If null, a default CSS URL will be used. 230 */ 231 public static function registerCssFile($url = null) { 232 if ($url === null) 233 $url = CHtml::asset(Yii::getPathOfAlias('system.web.widgets.pagers.pager') . '.css'); 234 Yii::app()->getClientScript()->registerCssFile($url); 235 } 236 237 } |
#4 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/widgets/pagers/CLinkPager.php(224): CLinkPager::registerCssFile(null) 219 /** 220 * Registers the needed client scripts (mainly CSS file). 221 */ 222 public function registerClientScript() { 223 if ($this->cssFile !== false) 224 self::registerCssFile($this->cssFile); 225 } 226 227 /** 228 * Registers the needed CSS file. 229 * @param string $url the CSS URL. If null, a default CSS URL will be used. |
#5 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/widgets/pagers/CLinkPager.php(144): CLinkPager->registerClientScript() 139 /** 140 * Executes the widget. 141 * This overrides the parent implementation by displaying the generated page buttons. 142 */ 143 public function run() { 144 $this->registerClientScript(); 145 $buttons = $this->createPageButtons(); 146 if (empty($buttons)) 147 return; 148 echo $this->header; 149 echo CHtml::tag('ul', $this->htmlOptions, implode("\n", $buttons)); |
#6 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CBaseController.php(173): CLinkPager->run() 168 return ob_get_clean(); 169 } 170 else 171 { 172 $widget=$this->createWidget($className,$properties); 173 $widget->run(); 174 return $widget; 175 } 176 } 177 178 /** |
#7 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/protected/views/user/post/postcat.php(53): CBaseController->widget("CLinkPager", array("currentPage" => 0, "itemCount" => "9", "pageSize" => 8, "maxButtonCount" => 5, ...)) 48 'itemCount' => $pages->getItemCount(), 49 'pageSize' => $pages->getPageSize(), 50 'maxButtonCount' => 5, 51 'header' => '', 52 'htmlOptions' => array('class' => 'phantrang list-inline pull-right'), 53 )); 54 ?> 55 </div> 56 </div> 57 <div class="clr"></div> 58 </div><!--end overHide--> |
#8 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CBaseController.php(126): require("/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/prote...") 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 } |
#9 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CBaseController.php(95): CBaseController->renderInternal("/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/prote...", array("model" => array("id" => "14", "parent" => "0", "name_vi" => "DỊCH VỤ", "name_en" => "", ...), "models" => array(array("id" => "33", "parent" => "17", "product_id" => null, "name_vi" => "xe cẩu kato 25T", ...), array("id" => "34", "parent" => "17", "product_id" => null, "name_vi" => "Xe cẩu kato 20T", ...), array("id" => "35", "parent" => "17", "product_id" => null, "name_vi" => "xe cẩu kato 30T", ...), array("id" => "36", "parent" => "17", "product_id" => null, "name_vi" => "xe cẩu kato 50T", ...), ...), "pages" => CPagination), true) 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); |
#10 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CController.php(815): CBaseController->renderFile("/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/prote...", array("model" => array("id" => "14", "parent" => "0", "name_vi" => "DỊCH VỤ", "name_en" => "", ...), "models" => array(array("id" => "33", "parent" => "17", "product_id" => null, "name_vi" => "xe cẩu kato 25T", ...), array("id" => "34", "parent" => "17", "product_id" => null, "name_vi" => "Xe cẩu kato 20T", ...), array("id" => "35", "parent" => "17", "product_id" => null, "name_vi" => "xe cẩu kato 30T", ...), array("id" => "36", "parent" => "17", "product_id" => null, "name_vi" => "xe cẩu kato 50T", ...), ...), "pages" => CPagination), true) 810 * @see processOutput 811 * @see render 812 */ 813 public function renderPartial($view, $data = null, $return = false, $processOutput = false) { 814 if (($viewFile = $this->getViewFile($view)) !== false) { 815 $output = $this->renderFile($viewFile, $data, true); 816 if ($processOutput) 817 $output = $this->processOutput($output); 818 if ($return) 819 return $output; 820 else |
#11 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CController.php(732): CController->renderPartial("postcat", array("model" => array("id" => "14", "parent" => "0", "name_vi" => "DỊCH VỤ", "name_en" => "", ...), "models" => array(array("id" => "33", "parent" => "17", "product_id" => null, "name_vi" => "xe cẩu kato 25T", ...), array("id" => "34", "parent" => "17", "product_id" => null, "name_vi" => "Xe cẩu kato 20T", ...), array("id" => "35", "parent" => "17", "product_id" => null, "name_vi" => "xe cẩu kato 30T", ...), array("id" => "36", "parent" => "17", "product_id" => null, "name_vi" => "xe cẩu kato 50T", ...), ...), "pages" => CPagination), true) 727 * @see renderPartial 728 * @see getLayoutFile 729 */ 730 public function render($view, $data = null, $return = false) { 731 if ($this->beforeRender($view)) { 732 $output = $this->renderPartial($view, $data, true); 733 if (($layoutFile = $this->getLayoutFile($this->layout)) !== false) 734 $output = $this->renderFile($layoutFile, array('content' => $output), true); 735 736 $this->afterRender($view, $output); 737 |
#12 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/protected/controllers/user/PostController.php(91): CController->render("postcat", array("model" => array("id" => "14", "parent" => "0", "name_vi" => "DỊCH VỤ", "name_en" => "", ...), "models" => array(array("id" => "33", "parent" => "17", "product_id" => null, "name_vi" => "xe cẩu kato 25T", ...), array("id" => "34", "parent" => "17", "product_id" => null, "name_vi" => "Xe cẩu kato 20T", ...), array("id" => "35", "parent" => "17", "product_id" => null, "name_vi" => "xe cẩu kato 30T", ...), array("id" => "36", "parent" => "17", "product_id" => null, "name_vi" => "xe cẩu kato 50T", ...), ...), "pages" => CPagination)) 86 $count = Yii::app()->db->createCommand('select COUNT(`id`) as `count` from `' . MNews::model()->tableName() . '` where `status` = 1 and `parent` in (' . $inCondition . ')')->queryScalar(); 87 $pages = new CPagination($count); 88 $pages->setPageSize($this->limitPost); 89 90 if (!$this->is_mobile) { 91 $this->render('postcat', array('model' => $model, 'models' => $models, 'pages' => $pages)); 92 } else { 93 $this->render('postcat_mobile', array('model' => $model, 'models' => $models, 'pages' => $pages)); 94 } 95 96 else: |
#13 |
unknown(0): PostController->actionPostCat("dich-vu")
|
#14 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(PostController, array("dich-vu")) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#15 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(PostController, ReflectionMethod, array("slug" => "dich-vu")) 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 } |
#16 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CController.php(294): CInlineAction->runWithParams(array("slug" => "dich-vu")) 289 */ 290 public function runAction($action) { 291 $priorAction = $this->_action; 292 $this->_action = $action; 293 if ($this->beforeAction($action)) { 294 if ($action->runWithParams($this->getActionParams()) === false) 295 $this->invalidActionParams($action); 296 else 297 $this->afterAction($action); 298 } 299 $this->_action = $priorAction; |
#17 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CController.php(275): CController->runAction(CInlineAction) 270 * @see createAction 271 * @see runAction 272 */ 273 public function runActionWithFilters($action, $filters) { 274 if (empty($filters)) 275 $this->runAction($action); 276 else { 277 $priorAction = $this->_action; 278 $this->_action = $action; 279 CFilterChain::create($this, $action, $filters)->run(); 280 $this->_action = $priorAction; |
#18 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CController.php(256): CController->runActionWithFilters(CInlineAction, array()) 251 public function run($actionID) { 252 if (($action = $this->createAction($actionID)) !== null) { 253 if (($parent = $this->getModule()) === null) 254 $parent = Yii::app(); 255 if ($parent->beforeControllerAction($this, $action)) { 256 $this->runActionWithFilters($action, $this->filters()); 257 $parent->afterControllerAction($this, $action); 258 } 259 } else 260 $this->missingAction($actionID); 261 } |
#19 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CWebApplication.php(282): CController->run("postcat") 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 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CWebApplication.php(141): CWebApplication->runController("post/postcat") 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 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/base/CApplication.php(180): CWebApplication->processRequest() 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 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/protected/components/WebApplication.php(18): CApplication->run() 13 14 public function runEnd($name) { 15 $this->__name = $name; 16 $this->onRunEnd = array(&$this, 'changePath'); 17 $this->onRunEnd(new CEvent($this->owner)); 18 $this->owner->run(); 19 } 20 21 public function onRunEnd(CEvent $event) { 22 $this->raiseEvent('onRunEnd', $event); 23 } |
#23 |
unknown(0): WebApplication->runEnd("user")
|
#24 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/base/CComponent.php(261): call_user_func_array(array(WebApplication, "runEnd"), array("user")) 256 if($this->_m!==null) 257 { 258 foreach($this->_m as $object) 259 { 260 if($object->getEnabled() && method_exists($object,$name)) 261 return call_user_func_array(array($object,$name),$parameters); 262 } 263 } 264 if(class_exists('Closure', false) && $this->canGetProperty($name) && $this->$name instanceof Closure) 265 return call_user_func_array($this->$name, $parameters); 266 throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".', |
#25 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/index.php(10): CComponent->__call("runEnd", array("user")) 05 // remove the following lines when in production mode 06 defined('YII_DEBUG') or define('YII_DEBUG', true); 07 // specify how many levels of call stack should be shown in each log message 08 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3); 09 require_once($yii); 10 Yii::createWebApplication($config)->runEnd('user'); 11 |
#26 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/index.php(10): CWebApplication->runEnd("user") 05 // remove the following lines when in production mode 06 defined('YII_DEBUG') or define('YII_DEBUG', true); 07 // specify how many levels of call stack should be shown in each log message 08 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3); 09 require_once($yii); 10 Yii::createWebApplication($config)->runEnd('user'); 11 |