CException

Eigenschaft "SurveyLanguageSetting.surveyls_policy_notice ist nicht definiert.

/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     {

Stack Trace

#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                     );
#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
#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)));
#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 */
2018-06-13 21:28:18 Apache/2.4.7 (Ubuntu) Yii Framework/1.1.17