Welcome, Guest
Username: Password: Remember me

TOPIC: I crashed the demo survey.

I crashed the demo survey. 1 year 10 months ago #89443

  • totoro
  • totoro's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 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

[....]
Last Edit: 1 year 10 months ago by c_schmitz.
The administrator has disabled public write access.

Re: I crashed the demo survey. 1 year 10 months ago #89445

  • mdekker
  • mdekker's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 341
  • Thank you received: 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
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.097 seconds
Donation Image