/home/snikom2014.del.ac.id/www/app/yii1.1.14/framework/db/CDbCommand.php(543)
531 { 532 if($this->_connection->enableProfiling) 533 Yii::endProfile('system.db.CDbCommand.query('.$this->getText().$par.')','system.db.CDbCommand.query'); 534 535 $errorInfo=$e instanceof PDOException ? $e->errorInfo : null; 536 $message=$e->getMessage(); 537 Yii::log(Yii::t('yii','CDbCommand::{method}() failed: {error}. The SQL statement executed was: {sql}.', 538 array('{method}'=>$method, '{error}'=>$message, '{sql}'=>$this->getText().$par)),CLogger::LEVEL_ERROR,'system.db.CDbCommand'); 539 540 if(YII_DEBUG) 541 $message.='. The SQL statement executed was: '.$this->getText().$par; 542 543 throw new CDbException(Yii::t('yii','CDbCommand failed to execute the SQL statement: {error}', 544 array('{error}'=>$message)),(int)$e->getCode(),$errorInfo); 545 } 546 } 547 548 /** 549 * Builds a SQL SELECT statement from the given query specification. 550 * @param array $query the query specification in name-value pairs. The following 551 * query options are supported: {@link select}, {@link distinct}, {@link from}, 552 * {@link where}, {@link join}, {@link group}, {@link having}, {@link order}, 553 * {@link limit}, {@link offset} and {@link union}. 554 * @throws CDbException if "from" key is not present in given query parameter 555 * @return string the SQL statement
#0 |
+
–
/home/snikom2014.del.ac.id/www/app/yii1.1.14/framework/db/CDbCommand.php(396): CDbCommand->queryInternal("fetchAll", array(2), array()) 391 * An empty array is returned if the query results in nothing. 392 * @throws CException execution failed 393 */ 394 public function queryAll($fetchAssociative=true,$params=array()) 395 { 396 return $this->queryInternal('fetchAll',$fetchAssociative ? $this->_fetchMode : PDO::FETCH_NUM, $params); 397 } 398 399 /** 400 * Executes the SQL statement and returns the first row of the result. 401 * This is a convenient method of {@link query} when only the first row of data is needed. |
#1 |
+
–
/home/snikom2014.del.ac.id/www/app/yii1.1.14/framework/web/auth/CDbAuthManager.php(337): CDbCommand->queryAll() 332 { 333 $rows=$this->db->createCommand() 334 ->select() 335 ->from($this->assignmentTable) 336 ->where('userid=:userid', array(':userid'=>$userId)) 337 ->queryAll(); 338 $assignments=array(); 339 foreach($rows as $row) 340 { 341 if(($data=@unserialize($row['data']))===false) 342 $data=null; |
#2 |
+
–
/home/snikom2014.del.ac.id/www/app/yii1.1.14/framework/web/auth/CDbAuthManager.php(74): CDbAuthManager->getAuthAssignments(null) 69 * Since version 1.1.11 a param with name 'userId' is added to this array, which holds the value of <code>$userId</code>. 70 * @return boolean whether the operations can be performed by the user. 71 */ 72 public function checkAccess($itemName,$userId,$params=array()) 73 { 74 $assignments=$this->getAuthAssignments($userId); 75 return $this->checkAccessRecursive($itemName,$userId,$params,$assignments); 76 } 77 78 /** 79 * Performs access check for the specified user. |
#3 |
+
–
/home/snikom2014.del.ac.id/www/app/protected/components/Controller.php(153): CDbAuthManager->checkAccess("profile.manage", null, array()) 148 //var_dump($_params); 149 //if($_params){ 150 //die; 151 //} 152 //die; 153 return(Yii::app()->authManager->checkAccess($_item, $this->current('email'), $_params)); 154 } 155 156 public function identify($_separator = '.'){ 157 $moduleId = ($this->module)? $this->module->id : NULL; 158 $controllerId = $this->id; |
#4 |
+
–
/home/snikom2014.del.ac.id/www/app/protected/components/Controller.php(56): Controller->isAuthorized("profile.manage") 51 'visible' => Yii::app()->user->isSeminar() 52 ), 53 array( 54 'label' => 'All registered members', 55 'url' => array('profile/manage'), 56 'visible' => $this->isAuthorized('profile.manage') 57 ), 58 ); 59 60 $this->operations = array(); 61 } |
#5 |
+
–
/home/snikom2014.del.ac.id/www/app/yii1.1.14/framework/web/CWebApplication.php(281): Controller->init() 276 if(($ca=$this->createController($route))!==null) 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}".', |
#6 |
+
–
/home/snikom2014.del.ac.id/www/app/yii1.1.14/framework/web/CWebApplication.php(141): CWebApplication->runController("") 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. |
#7 |
+
–
/home/snikom2014.del.ac.id/www/app/yii1.1.14/framework/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 /** |
#8 |
+
–
/home/snikom2014.del.ac.id/www/app/index.php(15): CApplication->run() 10 defined('YII_DEBUG') or define('YII_DEBUG',true); 11 // specify how many levels of call stack should be shown in each log message 12 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 13 14 require_once($yii); 15 Yii::createWebApplication($config)->run(); |