/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/db/ar/CActiveRecord.php(2390)
2378 2379 /** 2380 * Constructor. 2381 * @param CActiveRecord $model the model instance 2382 * @throws CDbException if specified table for active record class cannot be found in the database 2383 */ 2384 public function __construct($model) 2385 { 2386 $this->_modelClassName=get_class($model); 2387 2388 $tableName=$model->tableName(); 2389 if(($table=$model->getDbConnection()->getSchema()->getTable($tableName))===null) 2390 throw new CDbException(Yii::t('yii','The table "{table}" for active record class "{class}" cannot be found in the database.', 2391 array('{class}'=>$this->_modelClassName,'{table}'=>$tableName))); 2392 2393 if(($modelPk=$model->primaryKey())!==null || $table->primaryKey===null) 2394 { 2395 $table->primaryKey=$modelPk; 2396 if(is_string($table->primaryKey) && isset($table->columns[$table->primaryKey])) 2397 $table->columns[$table->primaryKey]->isPrimaryKey=true; 2398 elseif(is_array($table->primaryKey)) 2399 { 2400 foreach($table->primaryKey as $name) 2401 { 2402 if(isset($table->columns[$name]))
#0 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/db/ar/CActiveRecord.php(413): CActiveRecordMetaData->__construct(SurveyDynamic) 408 { 409 $className=get_class($this); 410 if(!array_key_exists($className,self::$_md)) 411 { 412 self::$_md[$className]=null; // preventing recursive invokes of {@link getMetaData()} via {@link __get()} 413 self::$_md[$className]=new CActiveRecordMetaData($this); 414 } 415 return self::$_md[$className]; 416 } 417 418 /** |
#1 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/db/ar/CActiveRecord.php(79): CActiveRecord->getMetaData() 74 if($scenario===null) // internally used by populateRecord() and model() 75 return; 76 77 $this->setScenario($scenario); 78 $this->setIsNewRecord(true); 79 $this->_attributes=$this->getMetaData()->attributeDefaults; 80 81 $this->init(); 82 83 $this->attachBehaviors($this->behaviors()); 84 $this->afterConstruct(); |
#2 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/helpers/expressions/em_manager_helper.php(5477):
CActiveRecord->__construct() 5472 $sdata['seed'] = $_SESSION[$this->sessid]['startingValues']['seed']; 5473 } 5474 5475 $sdata = array_filter($sdata); 5476 SurveyDynamic::sid($this->sid); 5477 $oSurvey = new SurveyDynamic; 5478 5479 $iNewID = $oSurvey->insertRecords($sdata); 5480 if ($iNewID) // Checked 5481 { 5482 $srid = $iNewID; |
#3 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/helpers/expressions/em_manager_helper.php(5063):
LimeExpressionManager->_UpdateValuesInDatabase() 5058 $LEM->updatedValues[$knownVar['sgqa']]=array( 5059 'type'=>$knownVar['type'], 5060 'value'=>$value, 5061 ); 5062 } 5063 $LEM->_UpdateValuesInDatabase(); 5064 } 5065 5066 return array( 5067 'hasNext'=>true, 5068 'hasPrevious'=>false, |
#4 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/controllers/admin/database.php(1496): LimeExpressionManager::StartSurvey("879912",
"survey", array("htmlemail" => "Y", "format" => "G", "template"
=> "copievanilla", "language" => "en", ...), true) 1491 private function _resetEM(){ 1492 $oSurvey = Survey::model()->findByPk($this->iSurveyID); 1493 LimeExpressionManager::SetDirtyFlag(); 1494 $oEM =& LimeExpressionManager::singleton(); 1495 LimeExpressionManager::UpgradeConditionsToRelevance($this->iSurveyID); 1496 LimeExpressionManager::StartSurvey($oSurvey->sid,'survey',$oSurvey->attributes,true); 1497 LimeExpressionManager::StartProcessingPage(true,true); 1498 $aGrouplist = QuestionGroup::model()->getGroups($this->iSurveyID); 1499 foreach ($aGrouplist as $iGID => $aGroup) { 1500 LimeExpressionManager::StartProcessingGroup($aGroup['gid'], $oSurvey->anonymized != 'Y', $this->iSurveyID); 1501 LimeExpressionManager::FinishProcessingGroup(); |
#5 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/controllers/admin/database.php(1474): database->_resetEM() 1469 1470 } 1471 1472 LimeExpressionManager::SetDirtyFlag(); 1473 LimeExpressionManager::UpgradeConditionsToRelevance($iSurveyID); 1474 $this->_resetEM(); 1475 Question::model()->updateQuestionOrder($this->iQuestionGroupID, $iSurveyID); 1476 Yii::app()->session['flashmessage'] = gT("Question was successfully added."); 1477 1478 } 1479 |
#6 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/controllers/admin/database.php(127): database->actionInsertCopyQuestion(879912) 122 } 123 if ($sAction == "updatesubquestions" && Permission::model()->hasSurveyPermission($this->iSurveyID, 'surveycontent', 'update')) { 124 $this->actionSubQuestions($this->iSurveyID); 125 } 126 if (in_array($sAction, array('insertquestion', 'copyquestion')) && Permission::model()->hasSurveyPermission($this->iSurveyID, 'surveycontent', 'create')) { 127 $this->actionInsertCopyQuestion($this->iSurveyID); 128 } 129 if ($sAction == "updatequestion" && Permission::model()->hasSurveyPermission($this->iSurveyID, 'surveycontent', 'update')) { 130 $this->actionUpdateQuestion($this->iSurveyID); 131 } 132 if (($sAction == "updatesurveylocalesettings") && (Permission::model()->hasSurveyPermission($this->iSurveyID, 'surveylocale', 'update') || Permission::model()->hasSurveyPermission($iSurveyID, 'surveysettings', 'update'))) { |
#7 |
unknown(0): database->index()
|
#8 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(database, array()) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#9 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(database, ReflectionMethod, array("sa" => "index")) 78 $oMethod = new ReflectionMethod($this, $sDefault); 79 } 80 81 // We're all good to go, let's execute it 82 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 83 return parent::runWithParamsInternal($this, $oMethod, $params); 84 } 85 86 /** 87 * Some functions have different parameters, which are just an alias of the 88 * usual parameters we're getting in the url. This function just populates |
#10 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("sa" => "index")) 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; |
#11 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/web/CController.php(286): CController->runAction(database) 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(); |
#12 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/web/CController.php(265): CController->runActionWithFilters(database, 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); |
#13 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/controllers/AdminController.php(158): CController->run("database") 153 $this->redirect(array('/admin/authentication/sa/login')); 154 } 155 } 156 } 157 158 return parent::run($action); 159 } 160 161 /** 162 * Routes all the actions to their respective places 163 * |
#14 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/web/CWebApplication.php(282): AdminController->run("database") 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 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/database/sa/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. |
#16 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_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 /** |
#17 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_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 */ |