/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/database_helper.php(44)
32 { 33 $dataset=Yii::app()->db->createCommand($sql)->query(); 34 35 } 36 } catch(CDbException $e) { 37 $error = $e->getMessage(); 38 $dataset=false; 39 } 40 41 if (!$dataset && (Yii::app()->getConfig('debug') >0 || !$silent)) 42 { 43 // Exception is better than safeDie, because you can see the backtrace. 44 throw new \Exception('Error executing query in dbExecuteAssoc:'.$error); 45 } 46 return $dataset; 47 } 48 49 50 function dbQueryOrFalse($sql) 51 { 52 try { 53 $dataset=Yii::app()->db->createCommand($sql)->query(); 54 } catch(CDbException $e) { 55 $dataset=false; 56 }
#0 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/expressions/em_manager_helper.php(5500): dbExecuteAssoc("UPDATE {{survey_779847}} SET `lastpage`=0, `779847X2989X57171SQ0...") 5495 5496 if (isset($_SESSION[$this->sessid]['srid']) && $this->surveyOptions['active']) 5497 { 5498 $query .= $_SESSION[$this->sessid]['srid']; 5499 5500 if (!dbExecuteAssoc($query)) 5501 { 5502 // TODO: This kills the session if adminemail is defined, so the queries below won't work. 5503 $message = submitfailed('', $query); // TODO - report SQL error? 5504 5505 if (($this->debugLevel & LEM_DEBUG_VALIDATION_SUMMARY) == LEM_DEBUG_VALIDATION_SUMMARY) { |
#1 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/expressions/em_manager_helper.php(5656): LimeExpressionManager->_UpdateValuesInDatabase(array("779847X2989X57171SQ001" => array("type" => "F", "value" => ""), "779847X2989X57171SQ002" => array("type" => "F", "value" => ""), "779847X2989X57171SQ003" => array("type" => "F", "value" => "A1"), "779847X2989X5717157174" => array("type" => "F", "value" => "A1")), false) 5651 $message .= $result['message']; 5652 $updatedValues = array_merge($updatedValues,$result['updatedValues']); 5653 if (!is_null($result) && ($result['mandViolation'] || !$result['valid'])) 5654 { 5655 // redisplay the current group, showing error 5656 $message .= $LEM->_UpdateValuesInDatabase($updatedValues,false); 5657 $LEM->runtimeTimings[] = array(__METHOD__,(microtime(true) - $now)); 5658 $LEM->lastMoveResult = array( 5659 'finished'=>false, 5660 'message'=>$message, 5661 'gseq'=>$LEM->currentGroupSeq, |
#2 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/SurveyRuntimeHelper.php(583): LimeExpressionManager::JumpTo(2, false) 578 { 579 // may be submitting from the navigation bar, in which case need to process all intervening questions 580 // in order to update equations and ensure there are no intervening relevant mandatory or relevant invalid questions 581 if($thissurvey['questionindex']==2) // Must : save actual page , review whole before set finished to true (see #09906), index==1 seems to don't need it : (don't force move) 582 LimeExpressionManager::StartSurvey($surveyid, $surveyMode, $surveyOptions); 583 $moveResult = LimeExpressionManager::JumpTo($_SESSION[$LEMsessid]['totalsteps'] + 1, false); 584 } 585 } 586 if (isset($move) && $move=='changelang') 587 { 588 // jump to current step using new language, processing POST values |
#3 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/controllers/survey/index.php(611): SurveyRuntimeHelper->run("779847", array("surveyid" => "779847", "thissurvey" => array("template" => "default", "language" => "fr", "sid" => "779847", "owner_id" => "1", ...), "thisstep" => "1", "tokensexist" => 0, ...)) 606 //Send local variables to the appropriate survey type 607 unset($redata); 608 $redata = compact(array_keys(get_defined_vars())); 609 Yii::import('application.helpers.SurveyRuntimeHelper'); 610 $tmp = new SurveyRuntimeHelper(); 611 $tmp->run($surveyid,$redata); 612 613 if (App()->request->getPost('saveall') || isset($flashmessage)) 614 { 615 App()->clientScript->registerScript("saveflashmessage","alert('".gT("Your responses were successfully saved.","js")."');",CClientScript::POS_READY); 616 } |
#4 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/controllers/survey/index.php(70): index->action() 65 App()->getClientScript()->reset(); 66 return $buffer; 67 }); 68 69 ob_implicit_flush(false); 70 $this->action(); 71 ob_flush(); 72 } 73 74 function action() 75 { |
#5 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/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. |
#6 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CController.php(308): CAction->runWithParams(array("sid" => "779847")) 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; |
#7 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/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(); |
#8 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/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); |
#9 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/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))); |
#10 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("survey/index/sid/779847") 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. |
#11 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/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 /** |
#12 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/index.php(214): CApplication->run() 209 die (sprintf('%s should be writable by the webserver (766 or 776).', $sDefaultRuntimePath)); 210 } 211 } 212 213 Yii::$enableIncludePath = false; 214 Yii::createApplication('LSYii_Application', $config)->run(); 215 216 /* End of file index.php */ 217 /* Location: ./index.php */ |