/mnt/data/shnoulle/nginx/www/3LTS/framework/db/CDbCommand.php(358)
346 { 347 if($this->_connection->enableProfiling) 348 Yii::endProfile('system.db.CDbCommand.execute('.$this->getText().$par.')','system.db.CDbCommand.execute'); 349 350 $errorInfo=$e instanceof PDOException ? $e->errorInfo : null; 351 $message=$e->getMessage(); 352 Yii::log(Yii::t('yii','CDbCommand::execute() failed: {error}. The SQL statement executed was: {sql}.', 353 array('{error}'=>$message, '{sql}'=>$this->getText().$par)),CLogger::LEVEL_ERROR,'system.db.CDbCommand'); 354 355 if(YII_DEBUG) 356 $message.='. The SQL statement executed was: '.$this->getText().$par; 357 358 throw new CDbException(Yii::t('yii','CDbCommand failed to execute the SQL statement: {error}', 359 array('{error}'=>$message)),(int)$e->getCode(),$errorInfo); 360 } 361 } 362 363 /** 364 * Executes the SQL statement and returns query result. 365 * This method is for executing an SQL query that returns result set. 366 * @param array $params input parameters (name=>value) for the SQL execution. This is an alternative 367 * to {@link bindParam} and {@link bindValue}. If you have multiple input parameters, passing 368 * them in this way can improve the performance. Note that if you pass parameters in this way, 369 * you cannot bind parameters or values using {@link bindParam} or {@link bindValue}, and vice versa. 370 * Please also note that all values are treated as strings in this case, if you need them to be handled as
#0 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/db/ar/CActiveRecord.php(1756): CDbCommand->execute() 1751 Yii::trace(get_class($this).'.updateByPk()','system.db.ar.CActiveRecord'); 1752 $builder=$this->getCommandBuilder(); 1753 $table=$this->getTableSchema(); 1754 $criteria=$builder->createPkCriteria($table,$pk,$condition,$params); 1755 $command=$builder->createUpdateCommand($table,$attributes,$criteria); 1756 return $command->execute(); 1757 } 1758 1759 /** 1760 * Updates records with the specified condition. 1761 * See {@link find()} for detailed explanation about $condition and $params. |
#1 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/helpers/expressions/em_manager_helper.php(5589): CActiveRecord->updateByPk("2", array("lastpage" => 1, "721221X2043X31723" => "AZDJKQHSUHSU")) 5584 LimeExpressionManager::addFrontendFlashMessage('error', $message, $this->sid); 5585 return; 5586 } 5587 //If the responses already have been submitted once they are marked as completed already, so they shouldn't be changed. 5588 if ($oResponse->submitdate == null || Survey::model()->findByPk($this->sid)->alloweditaftercompletion == 'Y') { 5589 Response::model($this->sid)->updateByPk($oResponse->id,$aResponseAttributes); 5590 /* See https://www.php.net/manual/en/pdostatement.rowcount.php : 5591 * this behaviour is not guaranteed for all databases and should not be relied on for portable applications. 5592 */ 5593 // Action in case its saved with success : to be move in Response::aferSave ? 5594 // Save Timings if needed |
#2 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/helpers/expressions/em_manager_helper.php(5067): LimeExpressionManager->_UpdateValuesInDatabase() 5062 $LEM->updatedValues[$knownVar['sgqa']]=array( 5063 'type'=>$knownVar['type'], 5064 'value'=>$value, 5065 ); 5066 } 5067 $LEM->_UpdateValuesInDatabase(); 5068 } 5069 5070 return array( 5071 'hasNext'=>true, 5072 'hasPrevious'=>false, |
#3 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/helpers/SurveyRuntimeHelper.php(665): LimeExpressionManager::StartSurvey("721221",
"survey", array("active" => true, "allowsave" => true,
"anonymized" => false, "assessments" => false, ...), false, ...)
660 if ($this->iSurveyid != LimeExpressionManager::getLEMsurveyId()) { 661 LimeExpressionManager::SetDirtyFlag(); 662 } 663 664 // Init $LEM states. 665 LimeExpressionManager::StartSurvey($this->iSurveyid, $this->sSurveyMode, $this->aSurveyOptions, false, $this->LEMdebugLevel); 666 $_SESSION[$this->LEMsessid]['step'] = 0; 667 668 // Welcome page. 669 if ($this->sSurveyMode == 'survey') { 670 LimeExpressionManager::JumpTo(1, false, false, true); |
#4 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/helpers/SurveyRuntimeHelper.php(526): SurveyRuntimeHelper->initFirstStep() 521 * + Is the survey finished? 522 * + Are all the answer validated? (like: participant didn't answered to a mandatory question) 523 */ 524 private function initMove() 525 { 526 $this->initFirstStep(); // If it's the first time user load this survey, will init session and LEM 527 $this->initTotalAndMaxSteps(); 528 $this->checkIfUseBrowserNav(); // Check if user used browser navigation, or relaoded page 529 if ($this->sMove != 'clearcancel' && $this->sMove != 'confirmquota') { 530 $this->checkPrevStep(); // Check if prev step is set, else set it 531 $this->setMoveResult(); |
#5 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/helpers/SurveyRuntimeHelper.php(104): SurveyRuntimeHelper->initMove() 099 if (!isset($_SESSION[$this->LEMsessid]['step'])) { 100 $this->showTokenOrCaptchaFormsIfNeeded(); 101 } 102 103 if (!$this->previewgrp && !$this->previewquestion) { 104 $this->initMove(); // main methods to init session, LEM, moves, errors, etc 105 $this->checkForDataSecurityAccepted(); // must be called after initMove to allow LEM to be initialized 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/3LTS/application/controllers/survey/index.php(585): SurveyRuntimeHelper->run("721221",
array("surveyid" => "721221", "thissurvey" => array("htmlemail"
=> "Y", "format" => "A", "template" => "vanilla", "language"
=> "en", ...), "thisstep" => null, "tokensexist" => 0, ...))
580 unset($redata); 581 $redata = compact(array_keys(get_defined_vars())); 582 Yii::import('application.helpers.SurveyRuntimeHelper'); 583 $tmp = new SurveyRuntimeHelper(); 584 // try { 585 $tmp->run($surveyid, $redata); 586 // } catch (WrongTemplateVersionException $ex) { 587 // echo $ex->getMessage(); 588 // } 589 } 590 |
#7 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/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/3LTS/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/3LTS/framework/web/CController.php(308): CAction->runWithParams(array("r" => "survey/index", "sid" => "721221", "Q00" => "AZDJKQHSUHSU", "newtest" => "Y", ...)) 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/3LTS/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/3LTS/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/3LTS/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/3LTS/framework/web/CWebApplication.php(141): CWebApplication->runController("survey/index") 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/3LTS/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/3LTS/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 */ |