/var/www/limesurvey.2i2l.net/www/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 |
+
–
/var/www/limesurvey.2i2l.net/www/framework/db/ar/CActiveRecord.php(1083): CDbCommand->execute() 1078 { 1079 Yii::trace(get_class($this).'.insert()','system.db.ar.CActiveRecord'); 1080 $builder=$this->getCommandBuilder(); 1081 $table=$this->getTableSchema(); 1082 $command=$builder->createInsertCommand($table,$this->getAttributes($attributes)); 1083 if($command->execute()) 1084 { 1085 $primaryKey=$table->primaryKey; 1086 if($table->sequenceName!==null) 1087 { 1088 if(is_string($primaryKey) && $this->$primaryKey===null) |
#1 |
+
–
/var/www/limesurvey.2i2l.net/www/framework/db/ar/CActiveRecord.php(811): CActiveRecord->insert(null) 806 * @return boolean whether the saving succeeds 807 */ 808 public function save($runValidation=true,$attributes=null) 809 { 810 if(!$runValidation || $this->validate($attributes)) 811 return $this->getIsNewRecord() ? $this->insert($attributes) : $this->update($attributes); 812 else 813 return false; 814 } 815 816 /** |
#2 |
+
–
/var/www/limesurvey.2i2l.net/www/plugins/surveyChaining/surveyChaining.php(727): CActiveRecord->save() 722 $language = App()->getLanguage(); 723 if(!in_array($language,Survey::model()->findByPk($nextSurvey)->getAllLanguages())) { 724 $language = Survey::model()->findByPk($nextSurvey)->language; 725 } 726 $oToken->language = $language; 727 if(!$oToken->save()) { 728 $this->log($this->gT("Unable to create token for $nextSurvey"),\CLogger::LEVEL_ERROR); 729 return null; 730 } 731 return $oToken; 732 } |
#3 |
+
–
/var/www/limesurvey.2i2l.net/www/plugins/surveyChaining/surveyChaining.php(478): surveyChaining->_createToken("842538",
"denis@sondages.pro", array("tid" => "2", "participant_id" =>
null, "firstname" => "", "lastname" => "", ...)) 473 unset($aAttributes['usesleft']); 474 unset($aAttributes['validfrom']); 475 unset($aAttributes['validuntil']); 476 } 477 } 478 $oToken = $this->_createToken($nextSurvey,$sEmail,$aAttributes); 479 } 480 } 481 /* Create response */ 482 if (!$oResponse) { 483 $oResponse = Response::create($nextSurvey); |
#4 |
unknown(0): surveyChaining->afterSurveyComplete()
|
#5 |
+
–
/var/www/limesurvey.2i2l.net/www/application/libraries/PluginManager/PluginManager.php(185): call_user_func(array(surveyChaining, "afterSurveyComplete")) 180 if (isset($this->subscriptions[$eventName])) { 181 foreach ($this->subscriptions[$eventName] as $subscription) { 182 if (!$event->isStopped() 183 && (empty($target) || in_array(get_class($subscription[0]), $target))) { 184 $subscription[0]->setEvent($event); 185 call_user_func($subscription); 186 } 187 } 188 } 189 190 return $event; |
#6 |
+
–
/var/www/limesurvey.2i2l.net/www/application/helpers/SurveyRuntimeHelper.php(1180): LimeSurvey\PluginManager\PluginManager->dispatchEvent(PluginEvent) 1175 $event = new PluginEvent('afterSurveyComplete'); 1176 if ($surveyActive && isset($_SESSION[$this->LEMsessid]['srid'])) { 1177 $event->set('responseId', $_SESSION[$this->LEMsessid]['srid']); 1178 } 1179 $event->set('surveyId', $this->iSurveyid); 1180 App()->getPluginManager()->dispatchEvent($event); 1181 foreach ($event->getAllContent() as $blockData) { 1182 /* @var $blockData PluginEventContent */ 1183 $blocks[] = CHtml::tag('div', array('id' => $blockData->getCssId(), 'class' => $blockData->getCssClass()), $blockData->getContent()); 1184 } 1185 } |
#7 |
+
–
/var/www/limesurvey.2i2l.net/www/application/helpers/SurveyRuntimeHelper.php(115): SurveyRuntimeHelper->moveSubmitIfNeeded() 110 // TODO: move somewhere else 111 $this->setNotAnsweredAndNotValidated(); 112 } else { 113 $this->setPreview(); 114 } 115 $this->moveSubmitIfNeeded(); 116 $this->setGroup(); 117 $this->fixMaxStep(); 118 119 //****************************************************************************************************** 120 //PRESENT SURVEY |
#8 |
+
–
/var/www/limesurvey.2i2l.net/www/application/controllers/survey/index.php(590): SurveyRuntimeHelper->run("418451",
array("surveyid" => "418451", "thissurvey" => array("htmlemail"
=> "Y", "format" => "G", "template" => "fruity", "language"
=> "fr", ...), "thisstep" => "2", "clienttoken" =>
"nigrnarCEGNgg3v", ...)) 585 unset($redata); 586 $redata = compact(array_keys(get_defined_vars())); 587 Yii::import('application.helpers.SurveyRuntimeHelper'); 588 $tmp = new SurveyRuntimeHelper(); 589 // try { 590 $tmp->run($surveyid, $redata); 591 // } catch (WrongTemplateVersionException $ex) { 592 // echo $ex->getMessage(); 593 // } 594 } 595 |
#9 |
+
–
/var/www/limesurvey.2i2l.net/www/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; |
#10 |
+
–
/var/www/limesurvey.2i2l.net/www/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. |
#11 |
+
–
/var/www/limesurvey.2i2l.net/www/framework/web/CController.php(308): CAction->runWithParams(array("sid" => "418451")) 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; |
#12 |
+
–
/var/www/limesurvey.2i2l.net/www/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(); |
#13 |
+
–
/var/www/limesurvey.2i2l.net/www/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); |
#14 |
+
–
/var/www/limesurvey.2i2l.net/www/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))); |
#15 |
+
–
/var/www/limesurvey.2i2l.net/www/framework/web/CWebApplication.php(141): CWebApplication->runController("survey/index/sid/418451") 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. |
#16 |
+
–
/var/www/limesurvey.2i2l.net/www/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 /** |
#17 |
+
–
/var/www/limesurvey.2i2l.net/www/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 */ |