/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/CClientScript.php(510): CAssetManager->publish("/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/w...") 505 public function getCoreScriptUrl() 506 { 507 if($this->_baseUrl!==null) 508 return $this->_baseUrl; 509 else 510 return $this->_baseUrl=Yii::app()->getAssetManager()->publish(YII_PATH.'/web/js/source'); 511 } 512 513 /** 514 * Sets the base URL of all core javascript files. 515 * This setter is provided in case when core javascript files are manually published |
#3 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CClientScript.php(547): CClientScript->getCoreScriptUrl() 542 $baseUrl=rtrim($baseUrl,'/'); 543 } 544 elseif(isset($package['basePath'])) 545 $baseUrl=Yii::app()->getAssetManager()->publish(Yii::getPathOfAlias($package['basePath'])); 546 else 547 $baseUrl=$this->getCoreScriptUrl(); 548 549 return $this->coreScripts[$name]['baseUrl']=$baseUrl; 550 } 551 552 /** |
#4 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CClientScript.php(348): CClientScript->getPackageBaseUrl("yiiactiveform") 343 return; 344 $cssFiles=array(); 345 $jsFiles=array(); 346 foreach($this->coreScripts as $name=>$package) 347 { 348 $baseUrl=$this->getPackageBaseUrl($name); 349 if(!empty($package['js'])) 350 { 351 foreach($package['js'] as $js) 352 $jsFiles[$baseUrl.'/'.$js]=$baseUrl.'/'.$js; 353 } |
#5 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CClientScript.php(208): CClientScript->renderCoreScripts() 203 public function render(&$output) 204 { 205 if(!$this->hasScripts) 206 return; 207 208 $this->renderCoreScripts(); 209 210 if(!empty($this->scriptMap)) 211 $this->remapScripts(); 212 213 $this->unifyScripts(); |
#6 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CController.php(334): CClientScript->render("<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"...") 329 * stateful forms in the page. 330 * @param string $output the output generated by the current action 331 * @return string the output that has been processed. 332 */ 333 public function processOutput($output) { 334 Yii::app()->getClientScript()->render($output); 335 336 // if using page caching, we should delay dynamic output replacement 337 if ($this->_dynamicOutput !== null && $this->isCachingStackEmpty()) { 338 $output = $this->processDynamicOutput($output); 339 $this->_dynamicOutput = null; |
#7 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CController.php(738): CController->processOutput("<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"...") 733 if (($layoutFile = $this->getLayoutFile($this->layout)) !== false) 734 $output = $this->renderFile($layoutFile, array('content' => $output), true); 735 736 $this->afterRender($view, $output); 737 738 $output = $this->processOutput($output); 739 740 if ($return) 741 return $output; 742 else 743 echo $output; |
#8 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/protected/controllers/user/ContactController.php(75): CController->render("contact", array("model" => ContactForm)) 70 Yii::app()->user->setFlash('contact', $this->config['feedbacksuccess']); 71 $this->refresh(); 72 } 73 } 74 if (!$this->is_mobile) { 75 $this->render('contact', array('model' => $model)); 76 } else { 77 $this->render('contact_mobile', array('model' => $model)); 78 } 79 } 80 |
#9 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/actions/CInlineAction.php(49): ContactController->actionContact() 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 } |
#10 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CController.php(294): CInlineAction->runWithParams(array()) 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; |
#11 |
+
–
/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; |
#12 |
+
–
/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 } |
#13 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CWebApplication.php(282): CController->run("contact") 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))); |
#14 |
+
–
/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CWebApplication.php(141): CWebApplication->runController("contact/contact") 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. |
#15 |
+
–
/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 /** |
#16 |
+
–
/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 } |
#17 |
unknown(0): WebApplication->runEnd("user")
|
#18 |
+
–
/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}".', |
#19 |
+
–
/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 |
#20 |
+
–
/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 |