/var/www/html/limesurvey/framework/db/ar/CActiveRecord.php(161)
149 * PHP setter magic method. 150 * This method is overridden so that AR attributes can be accessed like properties. 151 * @param string $name property name 152 * @param mixed $value property value 153 */ 154 public function __set($name,$value) 155 { 156 if($this->setAttribute($name,$value)===false) 157 { 158 if(isset($this->getMetaData()->relations[$name])) 159 $this->_related[$name]=$value; 160 else 161 parent::__set($name,$value); 162 } 163 } 164 165 /** 166 * Checks if a property value is null. 167 * This method overrides the parent implementation by checking 168 * if the named attribute is null or not. 169 * @param string $name the property name or the event name 170 * @return boolean whether the property value is null 171 */ 172 public function __isset($name) 173 {
#0 |
+
–
/var/www/html/limesurvey/framework/db/ar/CActiveRecord.php(161): CComponent->__set("surveyls_policy_notice", "") 156 if($this->setAttribute($name,$value)===false) 157 { 158 if(isset($this->getMetaData()->relations[$name])) 159 $this->_related[$name]=$value; 160 else 161 parent::__set($name,$value); 162 } 163 } 164 165 /** 166 * Checks if a property value is null. |
#1 |
+
–
/var/www/html/limesurvey/application/models/SurveyLanguageSetting.php(262): CActiveRecord->__set("surveyls_policy_notice", "") 257 258 function insertSomeRecords($data) 259 { 260 $lang = new self; 261 foreach ($data as $k => $v) 262 $lang->$k = $v; 263 return $lang->save(); 264 } 265 } |
#2 |
+
–
/var/www/html/limesurvey/application/models/SurveyLanguageSetting.php(234): SurveyLanguageSetting->insertSomeRecords(array("surveyls_survey_id" => "119782", "surveyls_language" => "de", "surveyls_title" => "[3rd party] Selbstreguliertes Lernen (TEST)", "surveyls_description" => "", ...)) 229 return $this->db->query($query, array($sid, $sid, $lcode)); 230 } 231 232 function insertNewSurvey($data) 233 { 234 return $this->insertSomeRecords($data); 235 } 236 237 /** 238 * Updates a single record identified by $condition with the 239 * key/value pairs in the $data array. |
#3 |
+
–
/var/www/html/limesurvey/application/helpers/admin/import_helper.php(985): SurveyLanguageSetting->insertNewSurvey(array("surveyls_survey_id" => "119782", "surveyls_language" => "de", "surveyls_title" => "[3rd party] Selbstreguliertes Lernen (TEST)", "surveyls_description" => "", ...)) 980 unset($insertdata['surveyls_attributecaptions']); 981 } 982 983 984 985 $result = SurveyLanguageSetting::model()->insertNewSurvey($insertdata) or safeDie(gT("Error").": Failed to insert data [2]<br />"); 986 } 987 988 989 // Import groups table =================================================================================== 990 |
#4 |
+
–
/var/www/html/limesurvey/application/helpers/admin/import_helper.php(735): XMLImportSurvey("/var/www/html/limesurvey/tmp/vmxe2s2m684brnaecv2rbtejm3qvp2.lss", null, null, null, ...) 730 { 731 $sExtension = ""; 732 } 733 if ($sExtension == 'lss') 734 { 735 return XMLImportSurvey($sFullFilePath, null, $sNewSurveyName, $DestSurveyID, $bTranslateLinksFields); 736 } 737 elseif ($sExtension == 'txt' || $sExtension == 'tsv') 738 { 739 return TSVImportSurvey($sFullFilePath); 740 } |
#5 |
+
–
/var/www/html/limesurvey/application/controllers/admin/surveyadmin.php(1001): importSurveyFile("/var/www/html/limesurvey/tmp/vmxe2s2m684brnaecv2rbtejm3qvp2.lss", false) 0996 // Now, we have the survey : start importing 0997 Yii::app()->loadHelper('admin/import'); 0998 0999 if ($action == 'importsurvey' && !$aData['bFailed']) 1000 { 1001 $aImportResults=importSurveyFile($sFullFilepath,(Yii::app()->request->getPost('translinksfields')=='1')); 1002 if (is_null($aImportResults)) 1003 { 1004 $aImportResults=array( 1005 'error'=>gT("Unknown error while reading the file, no survey created.") 1006 ); |
#6 |
unknown(0): SurveyAdmin->copy()
|
#7 |
+
–
/var/www/html/limesurvey/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(SurveyAdmin, 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 } |
#8 |
+
–
/var/www/html/limesurvey/application/core/Survey_Common_Action.php(96): CAction->runWithParamsInternal(SurveyAdmin, ReflectionMethod, array("sa" => "copy")) 091 $oMethod = new ReflectionMethod($this, $sDefault); 092 } 093 094 // We're all good to go, let's execute it 095 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 096 return parent::runWithParamsInternal($this, $oMethod, $params); 097 } 098 099 /** 100 * Some functions have different parameters, which are just an alias of the 101 * usual parameters we're getting in the url. This function just populates |
#9 |
+
–
/var/www/html/limesurvey/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("sa" => "copy")) 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; |
#10 |
+
–
/var/www/html/limesurvey/framework/web/CController.php(286): CController->runAction(SurveyAdmin) 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(); |
#11 |
+
–
/var/www/html/limesurvey/framework/web/CController.php(265): CController->runActionWithFilters(SurveyAdmin, 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); |
#12 |
+
–
/var/www/html/limesurvey/application/controllers/AdminController.php(177): CController->run("survey") 172 $this->redirect(array('/admin/authentication/sa/login')); 173 } 174 175 } 176 177 return parent::run($action); 178 } 179 180 /** 181 * Routes all the actions to their respective places 182 * |
#13 |
+
–
/var/www/html/limesurvey/framework/web/CWebApplication.php(282): AdminController->run("survey") 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))); |
#14 |
+
–
/var/www/html/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/survey/sa/copy") 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. |
#15 |
+
–
/var/www/html/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 /** |
#16 |
+
–
/var/www/html/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 */ |