/Library/WebServer/Documents/limesurvey/framework/db/CDbCommand.php(354)
342 return $n; 343 } 344 catch(Exception $e) 345 { 346 if($this->_connection->enableProfiling) 347 Yii::endProfile('system.db.CDbCommand.execute('.$this->getText().')','system.db.CDbCommand.execute'); 348 $errorInfo = $e instanceof PDOException ? $e->errorInfo : null; 349 $message = $e->getMessage(); 350 Yii::log(Yii::t('yii','CDbCommand::execute() failed: {error}. The SQL statement executed was: {sql}.', 351 array('{error}'=>$message, '{sql}'=>$this->getText().$par)),CLogger::LEVEL_ERROR,'system.db.CDbCommand'); 352 if(YII_DEBUG) 353 $message .= '. The SQL statement executed was: '.$this->getText().$par; 354 throw new CDbException(Yii::t('yii','CDbCommand failed to execute the SQL statement: {error}', 355 array('{error}'=>$message)),(int)$e->getCode(),$errorInfo); 356 } 357 } 358 359 /** 360 * Executes the SQL statement and returns query result. 361 * This method is for executing an SQL query that returns result set. 362 * @param array $params input parameters (name=>value) for the SQL execution. This is an alternative 363 * to {@link bindParam} and {@link bindValue}. If you have multiple input parameters, passing 364 * them in this way can improve the performance. Note that if you pass parameters in this way, 365 * you cannot bind parameters or values using {@link bindParam} or {@link bindValue}, and vice versa. 366 * binding methods and the input parameters this way can improve the performance.
#0 |
+
–
/Library/WebServer/Documents/limesurvey/framework/db/CDbCommand.php(1178): CDbCommand->execute(array(":id" => "3")) 1173 } 1174 } 1175 $sql='INSERT INTO ' . $this->_connection->quoteTableName($table) 1176 . ' (' . implode(', ',$names) . ') VALUES (' 1177 . implode(', ', $placeholders) . ')'; 1178 return $this->setText($sql)->execute($params); 1179 } 1180 1181 /** 1182 * Creates and executes an UPDATE SQL statement. 1183 * The method will properly escape the column names and bind the values to be updated. |
#1 |
+
–
/Library/WebServer/Documents/limesurvey/application/helpers/expressions/em_manager_helper.php(3280): CDbCommand->insert("{{survey_717464_timings}}", array("id" => "3")) 3275 $tdata = array( 3276 'id'=>$srid, 3277 'interviewtime'=>0 3278 ); 3279 $tdata = array_filter($tdata); 3280 if (Yii::app()->db->createCommand()->insert($this->surveyOptions['tablename_timings'],$tdata)) // Checked 3281 { 3282 $trid = Yii::app()->db->getLastInsertID(); 3283 } 3284 else 3285 { |
#2 |
+
–
/Library/WebServer/Documents/limesurvey/application/helpers/expressions/em_manager_helper.php(3206): LimeExpressionManager->_UpdateValuesInDatabase(array("717464X5X45" => array("type" => "L", "value" => null)), false) 3201 continue; 3202 } 3203 else 3204 { 3205 // display new question 3206 $message .= $LEM->_UpdateValuesInDatabase($updatedValues,false); 3207 $LEM->runtimeTimings[] = array(__METHOD__,(microtime(true) - $now)); 3208 $LEM->lastMoveResult = array( 3209 'finished'=>false, 3210 'message'=>$message, 3211 'qseq'=>$LEM->currentQuestionSeq, |
#3 |
+
–
/Library/WebServer/Documents/limesurvey/application/helpers/SurveyRuntimeHelper.php(178): LimeExpressionManager::NavigateForwards() 173 $moveResult = LimeExpressionManager::JumpTo($_SESSION[$LEMsessid]['step'], false, false); // if late in the survey, will re-validate contents, which may be overkill 174 unset($_SESSION[$LEMsessid]['LEMreload']); 175 } 176 else 177 { 178 $moveResult = LimeExpressionManager::NavigateForwards(); 179 } 180 } 181 if (isset($move) && ($move == 'movesubmit')) 182 { 183 if ($surveyMode == 'survey') |
#4 |
+
–
/Library/WebServer/Documents/limesurvey/application/controllers/survey/index.php(664): SurveyRuntimeHelper->run("717464", array("surveyid" => "717464", "thistpl" => "/Library/WebServer/Documents/limesurvey/templates/default", "totalquestions" => null, "thissurvey" => array("surveyls_survey_id" => "717464", "surveyls_language" => "en", "surveyls_title" => "Test survey", "surveyls_description" => "", ...), ...)) 659 //Send local variables to the appropriate survey type 660 unset($redata); 661 $redata = compact(array_keys(get_defined_vars())); 662 Yii::import('application.helpers.SurveyRuntimeHelper'); 663 $tmp = new SurveyRuntimeHelper(); 664 $tmp->run($surveyid,$redata); 665 666 if (isset($_POST['saveall']) || isset($flashmessage)) 667 { 668 echo "<script language='JavaScript'> $(document).ready( function() { alert('".$clang->gT("Your responses were successfully saved.","js")."');}) </script>"; 669 } |
#5 |
+
–
/Library/WebServer/Documents/limesurvey/application/controllers/survey/index.php(20): index->action() 15 16 class index extends CAction { 17 18 public function run() 19 { 20 $this->action(); 21 } 22 23 function action() 24 { 25 global $surveyid, $thistpl, $totalquestions; |
#6 |
+
–
/Library/WebServer/Documents/limesurvey/framework/web/actions/CAction.php(75): index->run() 70 { 71 $method=new ReflectionMethod($this, 'run'); 72 if($method->getNumberOfParameters()>0) 73 return $this->runWithParamsInternal($this, $method, $params); 74 else 75 return $this->run(); 76 } 77 78 /** 79 * Executes a method of an object with the supplied named parameters. 80 * This method is internally used. |
#7 |
+
–
/Library/WebServer/Documents/limesurvey/framework/web/CController.php(309): CAction->runWithParams(array()) 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; |
#8 |
+
–
/Library/WebServer/Documents/limesurvey/framework/web/CController.php(287): CController->runAction(index) 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(); |
#9 |
+
–
/Library/WebServer/Documents/limesurvey/framework/web/CController.php(266): CController->runActionWithFilters(index, 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); |
#10 |
+
–
/Library/WebServer/Documents/limesurvey/framework/web/CWebApplication.php(276): CController->run("index") 271 { 272 list($controller,$actionID)=$ca; 273 $oldController=$this->_controller; 274 $this->_controller=$controller; 275 $controller->init(); 276 $controller->run($actionID); 277 $this->_controller=$oldController; 278 } 279 else 280 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 281 array('{route}'=>$route===''?$this->defaultController:$route))); |
#11 |
+
–
/Library/WebServer/Documents/limesurvey/framework/web/CWebApplication.php(135): CWebApplication->runController("survey/index") 130 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 131 $_GET[$name]=$value; 132 } 133 else 134 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 135 $this->runController($route); 136 } 137 138 /** 139 * Registers the core application components. 140 * This method overrides the parent implementation by registering additional core components. |
#12 |
+
–
/Library/WebServer/Documents/limesurvey/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 /** |
#13 |
+
–
/Library/WebServer/Documents/limesurvey/index.php(171): CApplication->run() 166 * 167 */ 168 require_once BASEPATH . 'yii' . EXT; 169 require_once APPPATH . 'core/LSYii_Application' . EXT; 170 171 Yii::createApplication('LSYii_Application', APPPATH . 'config/config' . EXT)->run(); 172 173 /* End of file index.php */ 174 /* Location: ./index.php */ |