/home/sondages.pro/htdocs/limesurvey_GIT/dev/framework/db/ar/CActiveRecord.php(160)
148 * PHP setter magic method. 149 * This method is overridden so that AR attributes can be accessed like properties. 150 * @param string $name property name 151 * @param mixed $value property value 152 */ 153 public function __set($name,$value) 154 { 155 if($this->setAttribute($name,$value)===false) 156 { 157 if(isset($this->getMetaData()->relations[$name])) 158 $this->_related[$name]=$value; 159 else 160 parent::__set($name,$value); 161 } 162 } 163 164 /** 165 * Checks if a property value is null. 166 * This method overrides the parent implementation by checking 167 * if the named attribute is null or not. 168 * @param string $name the property name or the event name 169 * @return boolean whether the property value is null 170 */ 171 public function __isset($name) 172 {
| #0 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/dev/framework/db/ar/CActiveRecord.php(160): CComponent->__set("class", "List") 155 if($this->setAttribute($name,$value)===false) 156 { 157 if(isset($this->getMetaData()->relations[$name])) 158 $this->_related[$name]=$value; 159 else 160 parent::__set($name,$value); 161 } 162 } 163 164 /** 165 * Checks if a property value is null. |
| #1 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/dev/application/models/Questions.php(232): CActiveRecord->__set("class", "List") 227 */ 228 function insertRecords($data) 229 { 230 $questions = new self; 231 foreach ($data as $k => $v){ 232 $questions->$k = $v; 233 } 234 try 235 { 236 $questions->save(); 237 return $questions->qid; |
| #2 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/dev/application/helpers/admin/import_helper.php(3659): Questions->insertRecords(array("parent_qid" => "0", "sid" => "452179", "gid" => "38", "tid" => "3", ...)) 3654 $insertdata['tid'] = Question_types::model()->findByAttributes(array('class' => $insertdata['class']))->getAttribute('tid'); 3655 unset($insertdata['class']); 3656 } 3657 if ($insertdata) 3658 XSSFilterArray($insertdata); 3659 $newqid = Questions::model()->insertRecords($insertdata) or safeDie($clang->gT("Error").": Failed to insert data [4]<br />"); 3660 if (!isset($aQIDReplacements[$oldqid])) 3661 { 3662 $aQIDReplacements[$oldqid]=$newqid; 3663 $results['questions']++; 3664 } |
| #3 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/dev/application/controllers/admin/surveyadmin.php(956): XMLImportSurvey("", "<?xml version="1.0" encoding="UTF-8"?>
<document>
<LimeSurveyDo...", "sddsqd") 951 $aImportResults=importSurveyFile($sFullFilepath,(isset($_POST['translinksfields']))); 952 if (is_null($aImportResults)) $importerror = true; 953 } 954 elseif ($action == 'copysurvey' && (empty($importerror) || !$importerror)) 955 { 956 $aImportResults = XMLImportSurvey('', $copysurveydata, $sNewSurveyName); 957 if (!isset($exclude['permissions'])) 958 { 959 Survey_permissions::model()->copySurveyPermissions($iSurveyID,$aImportResults['newsid']); 960 } 961 } |
| #4 |
unknown(0): SurveyAdmin->copy()
|
| #5 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/dev/framework/web/actions/CAction.php(107): ReflectionMethod->invokeArgs(SurveyAdmin, array()) 102 else if($param->isDefaultValueAvailable()) 103 $ps[]=$param->getDefaultValue(); 104 else 105 return false; 106 } 107 $method->invokeArgs($object,$ps); 108 return true; 109 } 110 } |
| #6 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/dev/application/core/Survey_Common_Action.php(89): CAction->runWithParamsInternal(SurveyAdmin, ReflectionMethod, array("sa" => "copy")) 84 $oMethod = new ReflectionMethod($this, $sDefault); 85 } 86 87 // We're all good to go, let's execute it 88 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 89 return parent::runWithParamsInternal($this, $oMethod, $params); 90 } 91 92 /** 93 * Some functions have different parameters, which are just an alias of the 94 * usual parameters we're getting in the url. This function just populates |
| #7 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/dev/framework/web/CController.php(309): Survey_Common_Action->runWithParams(array("sa" => "copy")) 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 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/dev/framework/web/CController.php(287): CController->runAction(SurveyAdmin) 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 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/dev/framework/web/CController.php(266): CController->runActionWithFilters(SurveyAdmin, 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 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/dev/application/controllers/AdminController.php(160): CController->run("survey") 155 Yii::app()->session['redirectopage'] = Yii::app()->request->requestUri; 156 157 $this->redirect($this->createUrl('/admin/authentication/sa/login')); 158 } 159 160 return parent::run($sAction); 161 } 162 163 /** 164 * Routes all the actions to their respective places 165 * |
| #11 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/dev/framework/web/CWebApplication.php(283): AdminController->run("survey") 278 { 279 list($controller,$actionID)=$ca; 280 $oldController=$this->_controller; 281 $this->_controller=$controller; 282 $controller->init(); 283 $controller->run($actionID); 284 $this->_controller=$oldController; 285 } 286 else 287 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 288 array('{route}'=>$route===''?$this->defaultController:$route))); |
| #12 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/dev/framework/web/CWebApplication.php(142): CWebApplication->runController("admin/survey/sa/copy") 137 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 138 $_GET[$name]=$value; 139 } 140 else 141 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 142 $this->runController($route); 143 } 144 145 /** 146 * Registers the core application components. 147 * This method overrides the parent implementation by registering additional core components. |
| #13 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/dev/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 /** |
| #14 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/dev/index.php(193): CApplication->run() 188 die (sprintf('%s should be writable by the webserver (755 of 775).', $runtimePath)); 189 } 190 } 191 192 193 Yii::createApplication('LSYii_Application', $config)->run(); 194 195 /* End of file index.php */ 196 /* Location: ./index.php */ |