/mnt/data/shnoulle/nginx/www/master/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 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/db/CDbCommand.php(377): CDbCommand->queryInternal("", 0, array()) 372 * @return CDbDataReader the reader object for fetching the query result 373 * @throws CException execution failed 374 */ 375 public function query($params=array()) 376 { 377 return $this->queryInternal('',0,$params); 378 } 379 380 /** 381 * Executes the SQL statement and returns all rows. 382 * @param boolean $fetchAssociative whether each row should be returned as an associated array with |
#1 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/helpers/expressions/em_manager_helper.php(5578): CDbCommand->query() 5573 5574 //If the responses already have been submitted once they are marked as completed already, so they shouldn't be changed. 5575 $oSurveyResponse = SurveyDynamic::model($this->sid)->findByAttributes(['id' => $_SESSION[$this->sessid]['srid']]); 5576 $result = true; 5577 if ($oSurveyResponse->submitdate == null || Survey::model()->findByPk($this->sid)->alloweditaftercompletion == 'Y') { 5578 $result = !Yii::app()->db->createCommand($query)->query(); 5579 //$result = !dbExecuteAssoc($query); 5580 } 5581 5582 if ($result) 5583 { |
#2 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/helpers/expressions/em_manager_helper.php(5303): LimeExpressionManager->_UpdateValuesInDatabase() 5298 continue; 5299 } 5300 else 5301 { 5302 // display new group 5303 $message .= $LEM->_UpdateValuesInDatabase(); 5304 $LEM->runtimeTimings[] = array(__METHOD__,(microtime(true) - $now)); 5305 $LEM->lastMoveResult = array( 5306 'finished'=>false, 5307 'message'=>$message, 5308 'gseq'=>$LEM->currentGroupSeq, |
#3 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/helpers/SurveyRuntimeHelper.php(835): LimeExpressionManager::NavigateForwards() 830 $this->aMoveResult = false; // so display welcome page again 831 } 832 } 833 834 if ($this->sMove == "movenext") { 835 $this->aMoveResult = LimeExpressionManager::NavigateForwards(); 836 } 837 838 if (($this->sMove == 'movesubmit')) { 839 if ($this->sSurveyMode == 'survey') { 840 $this->aMoveResult = LimeExpressionManager::NavigateForwards(); |
#4 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/helpers/SurveyRuntimeHelper.php(534): SurveyRuntimeHelper->setMoveResult() 529 $this->initFirstStep(); // If it's the first time user load this survey, will init session and LEM 530 $this->initTotalAndMaxSteps(); 531 $this->checkIfUseBrowserNav(); // Check if user used browser navigation, or relaoded page 532 if ($this->sMove != 'clearcancel' && $this->sMove != 'confirmquota') { 533 $this->checkPrevStep(); // Check if prev step is set, else set it 534 $this->setMoveResult(); 535 $this->checkClearCancel(); 536 $this->setPrevStep(); 537 $this->checkIfFinished(); 538 $this->setStep(); 539 |
#5 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/helpers/SurveyRuntimeHelper.php(104): SurveyRuntimeHelper->initMove() 099 if (!isset($_SESSION[$this->LEMsessid]['step'])) { 100 $this->showTokenOrCaptchaFormsIfNeeded(); 101 } 102 103 $this->checkForDataSecurityAccepted(); 104 $this->initMove(); // main methods to init session, LEM, moves, errors, etc 105 if (!$this->previewgrp && !$this->previewquestion) { 106 $this->checkQuotas(); // check quotas (then the process will stop here) 107 $this->displayFirstPageIfNeeded(); 108 $this->saveAllIfNeeded(); 109 $this->saveSubmitIfNeeded(); |
#6 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/survey/index.php(591): SurveyRuntimeHelper->run("711522",
array("surveyid" => "711522", "thissurvey" => array("htmlemail"
=> "Y", "format" => "G", "template" => "skelvanilla",
"language" => "en", ...), "thisstep" => "0", "tokensexist" =>
0, ...)) 586 unset($redata); 587 $redata = compact(array_keys(get_defined_vars())); 588 Yii::import('application.helpers.SurveyRuntimeHelper'); 589 $tmp = new SurveyRuntimeHelper(); 590 // try { 591 $tmp->run($surveyid, $redata); 592 // } catch (WrongTemplateVersionException $ex) { 593 // echo $ex->getMessage(); 594 // } 595 } 596 |
#7 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/survey/index.php(24): index->action() 19 public $oTemplate; 20 21 public function run() 22 { 23 useFirebug(); 24 $this->action(); 25 } 26 27 public function action() 28 { 29 global $surveyid; |
#8 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/actions/CAction.php(76): index->run() 71 { 72 $method=new ReflectionMethod($this, 'run'); 73 if($method->getNumberOfParameters()>0) 74 return $this->runWithParamsInternal($this, $method, $params); 75 76 $this->run(); 77 return true; 78 } 79 80 /** 81 * Executes a method of an object with the supplied named parameters. |
#9 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(308): CAction->runWithParams(array("sid" => "711522")) 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; |
#10 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(286): CController->runAction(index) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#11 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(265): CController->runActionWithFilters(index, array()) 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); |
#12 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(282): CController->run("index") 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))); |
#13 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(141): CWebApplication->runController("survey/index/sid/711522") 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. |
#14 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#15 |
+
–
/mnt/data/shnoulle/nginx/www/master/index.php(194): CApplication->run() 189 require_once APPPATH . 'core/LSYii_Application' . EXT; 190 191 $config = require_once(APPPATH . 'config/internal' . EXT); 192 193 Yii::$enableIncludePath = false; 194 Yii::createApplication('LSYii_Application', $config)->run(); 195 196 /* End of file index.php */ 197 /* Location: ./index.php */ |