Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: I crashed the demo survey.

I crashed the demo survey. 1 Jahr 10 Monate her #89443

  • totoro
  • totoros Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 1
  • Karma: 0
Hello, I just came here and was experimenting on the demo survey - then it died. I guess this is an issue, the main thing I was doing which was not standard was trying to add multilingual info. I was making my first question group when I got the below php error dump. After this all of the demo surveys disappeared from the list.


PHP notice

Trying to get property of non-object

application/controllers/admin/questiongroup.php(116)

104 {
105 $surveyid = sanitize_int($surveyid);
106 $aViewUrls = $aData = array();
107
108 if (hasSurveyPermission($surveyid, 'surveycontent', 'read'))
109 {
110 $clang = $this->getController()->lang;
111
112 Yii::app()->session = "create:group:{$surveyid}";
113
114 Yii::app()->loadHelper('admin/htmleditor');
115 Yii::app()->loadHelper('surveytranslator');
116 $grplangs = Survey::model()->findByPk($surveyid)->additionalLanguages;
117 $baselang = Survey::model()->findByPk($surveyid)->language;
118 $grplangs[] = $baselang;
119 $grplangs = array_reverse($grplangs);
120
121 $aData = 'addgroup';
122 $aData = $surveyid;
123 $aData = $aData = 'addgroup';
124 $aData = $grplangs;
125 $aData = $baselang;
126
127 $this->_renderWrappedTemplate('survey/QuestionGroups', 'addGroup_view', $aData);
128 }
Stack Trace
#0
unknown(0): questiongroup->add("382745")
#1

[....]
Letzte Änderung: 1 Jahr 10 Monate her von c_schmitz.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: I crashed the demo survey. 1 Jahr 10 Monate her #89445

  • mdekker
  • mdekkers Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 341
  • Dank erhalten: 68
  • Karma: 38
The demo system is reset daily, you were probably active at the time that happened. If you can do it again (not at the same time of day please to rul eout the possibility of system reset) please file a bug report.
---
Menno Dekker
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.119 Sekunden
Donation Image