/home/qualityequipment/public_html/protected/controllers/SiteController.php(267)
255 $this->render('categoryview', array( 256 'dataProvider' => $dataProvider, 257 'listcat' => $listcat, 258 )); 259 } 260 261 262 public function actionViewproduct($id) 263 { 264 265 $model = Product::model()->findByPk($id); 266 267 $category = Category::model()->findByPk($model->product_type); 268 269 $this->render('product', array( 270 'model' => $model, 271 'category' => $category, 272 )); 273 274 } 275 276 public function actionAboutus() 277 { 278 279 $content = Page::model()->findByAttributes(array('seo_url' => 'about-us'));
#0 |
unknown(0): SiteController->actionViewproduct("651")
|
#1 |
+
–
/home/qualityequipment/public_html/yii/framework/web/actions/CAction.php(107): ReflectionMethod->invokeArgs(SiteController, array("651")) 102 else if($param->isDefaultValueAvailable()) 103 $ps[]=$param->getDefaultValue(); 104 else 105 return false; 106 } 107 $method->invokeArgs($object,$ps); 108 return true; 109 } 110 } |
#2 |
+
–
/home/qualityequipment/public_html/yii/framework/web/actions/CInlineAction.php(48): CAction->runWithParamsInternal(SiteController, ReflectionMethod, array("id" => "651")) 43 { 44 $methodName='action'.$this->getId(); 45 $controller=$this->getController(); 46 $method=new ReflectionMethod($controller, $methodName); 47 if($method->getNumberOfParameters()>0) 48 return $this->runWithParamsInternal($controller, $method, $params); 49 else 50 return $controller->$methodName(); 51 } 52 53 } |
#3 |
+
–
/home/qualityequipment/public_html/yii/framework/web/CController.php(309): CInlineAction->runWithParams(array("id" => "651")) 304 { 305 $priorAction=$this->_action; 306 $this->_action=$action; 307 if($this->beforeAction($action)) 308 { 309 if($action->runWithParams($this->getActionParams())===false) 310 $this->invalidActionParams($action); 311 else 312 $this->afterAction($action); 313 } 314 $this->_action=$priorAction; |
#4 |
+
–
/home/qualityequipment/public_html/yii/framework/web/CController.php(287): CController->runAction(CInlineAction) 282 * @see runAction 283 */ 284 public function runActionWithFilters($action,$filters) 285 { 286 if(empty($filters)) 287 $this->runAction($action); 288 else 289 { 290 $priorAction=$this->_action; 291 $this->_action=$action; 292 CFilterChain::create($this,$action,$filters)->run(); |
#5 |
+
–
/home/qualityequipment/public_html/yii/framework/web/CController.php(266): CController->runActionWithFilters(CInlineAction, array()) 261 { 262 if(($parent=$this->getModule())===null) 263 $parent=Yii::app(); 264 if($parent->beforeControllerAction($this,$action)) 265 { 266 $this->runActionWithFilters($action,$this->filters()); 267 $parent->afterControllerAction($this,$action); 268 } 269 } 270 else 271 $this->missingAction($actionID); |
#6 |
+
–
/home/qualityequipment/public_html/yii/framework/web/CWebApplication.php(283): CController->run("viewproduct") 278 { 279 list($controller,$actionID)=$ca; 280 $oldController=$this->_controller; 281 $this->_controller=$controller; 282 $controller->init(); 283 $controller->run($actionID); 284 $this->_controller=$oldController; 285 } 286 else 287 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 288 array('{route}'=>$route===''?$this->defaultController:$route))); |
#7 |
+
–
/home/qualityequipment/public_html/yii/framework/web/CWebApplication.php(142): CWebApplication->runController("site/viewproduct/id/651") 137 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 138 $_GET[$name]=$value; 139 } 140 else 141 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 142 $this->runController($route); 143 } 144 145 /** 146 * Registers the core application components. 147 * This method overrides the parent implementation by registering additional core components. |
#8 |
+
–
/home/qualityequipment/public_html/yii/framework/base/CApplication.php(162): CWebApplication->processRequest() 157 */ 158 public function run() 159 { 160 if($this->hasEventHandler('onBeginRequest')) 161 $this->onBeginRequest(new CEvent($this)); 162 $this->processRequest(); 163 if($this->hasEventHandler('onEndRequest')) 164 $this->onEndRequest(new CEvent($this)); 165 } 166 167 /** |
#9 |
+
–
/home/qualityequipment/public_html/index.php(10): CApplication->run() 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)->run(); |