- Posts: 2
- Thank you received: 2
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
The 4.4.4 update stopped limesurvey working.
- ipsych
- Topic Author
- Offline
- New Member
Less
More
3 years 2 months ago - 3 years 2 months ago #211785
by ipsych
The 4.4.4 update stopped limesurvey working. was created by ipsych
After update to 4.4.4 and DB upgrade, the question cannot be saved with below error.
The survey creation, and group creation works find, but whenever add or modify the question, below error shows up.
Possibly related to forums.limesurvey.org/forum/design-issue...ubquestions?start=15
but, still cannot figure out "WHY"....
/Sites/somesite/limesurvey/application/controllers/QuestionAdministrationController.php(2528)
2516 */
2517 private function applyL10n($oQuestion, $dataSet)
2518 {
2519 foreach ($dataSet as $sLanguage => $aI10NBlock) {
2520 $i10N = QuestionL10n::model()->findByAttributes();
2521 if (empty($i10N)) {
2522 throw new Exception('Found no L10n object');
2523 }
2524 $i10N->setAttributes(
2525 [
2526 'question' => $aI10NBlock,
2527 'help' => $aI10NBlock,
2528 'script' => $aI10NBlock,
2529 ],
2530 false
2531 );
2532 if (!$i10N->save()) {
2533 throw new CHttpException(500, gT("Could not store translation"));
2534 }
2535 }
2536
2537 return true;
2538 }
2539
2540 /**
Stack Trace
#0
– /Sites/somesite/limesurvey/application/controllers/QuestionAdministrationController.php(437): QuestionAdministrationController->applyL10n(Question, array("en" => array("question" => "test", "help" => "")))
432 }
433
434 // Apply the changes to general settings, advanced settings and translations
435 $setApplied = [];
436
437 $setApplied = $this->applyL10n($question, $questionData);
438
439 $setApplied = $this->unparseAndSetAdvancedOptions(
440 $question,
441 $questionData
442 );
#1
+ /Sites/somesite/limesurvey/framework/web/actions/CInlineAction.php(49): QuestionAdministrationController->actionSaveQuestionData()
#2
+ /Sites/somesite/limesurvey/framework/web/CController.php(308): CInlineAction->runWithParams(array())
#3
+ /Sites/somesite/limesurvey/framework/web/CController.php(286): CController->runAction(CInlineAction)
#4
+ /Sites/somesite/limesurvey/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array())
#5
– /Sites/somesite/limesurvey/application/controllers/LSBaseController.php(160): CController->run("saveQuestionData")
155 $this->redirect(array('/admin/authentication/sa/login'));
156 }
157 }
158 }
159
160 parent::run($action);
161 }
162
163 /**
164 * Load and set session vars
165 *
#6
+ /Sites/somesite/limesurvey/framework/web/CWebApplication.php(282): LSBaseController->run("saveQuestionData")
#7
+ /Sites/somesite/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("questionAdministration/saveQuestionData")
#8
+ /Sites/somesite/limesurvey/framework/base/CApplication.php(185): CWebApplication->processRequest()
#9
– /Sites/somesite/limesurvey/index.php(182): CApplication->run()
177 require_once APPPATH . 'core/LSYii_Application' . EXT;
178
179 $config = require_once(APPPATH . 'config/internal' . EXT);
180
181 Yii::$enableIncludePath = false;
182 Yii::createApplication('LSYii_Application', $config)->run();
183
184 /* End of file index.php */
185 /* Location: ./index.php */
The survey creation, and group creation works find, but whenever add or modify the question, below error shows up.
Possibly related to forums.limesurvey.org/forum/design-issue...ubquestions?start=15
but, still cannot figure out "WHY"....
/Sites/somesite/limesurvey/application/controllers/QuestionAdministrationController.php(2528)
2516 */
2517 private function applyL10n($oQuestion, $dataSet)
2518 {
2519 foreach ($dataSet as $sLanguage => $aI10NBlock) {
2520 $i10N = QuestionL10n::model()->findByAttributes();
2521 if (empty($i10N)) {
2522 throw new Exception('Found no L10n object');
2523 }
2524 $i10N->setAttributes(
2525 [
2526 'question' => $aI10NBlock,
2527 'help' => $aI10NBlock,
2528 'script' => $aI10NBlock,
2529 ],
2530 false
2531 );
2532 if (!$i10N->save()) {
2533 throw new CHttpException(500, gT("Could not store translation"));
2534 }
2535 }
2536
2537 return true;
2538 }
2539
2540 /**
Stack Trace
#0
– /Sites/somesite/limesurvey/application/controllers/QuestionAdministrationController.php(437): QuestionAdministrationController->applyL10n(Question, array("en" => array("question" => "test", "help" => "")))
432 }
433
434 // Apply the changes to general settings, advanced settings and translations
435 $setApplied = [];
436
437 $setApplied = $this->applyL10n($question, $questionData);
438
439 $setApplied = $this->unparseAndSetAdvancedOptions(
440 $question,
441 $questionData
442 );
#1
+ /Sites/somesite/limesurvey/framework/web/actions/CInlineAction.php(49): QuestionAdministrationController->actionSaveQuestionData()
#2
+ /Sites/somesite/limesurvey/framework/web/CController.php(308): CInlineAction->runWithParams(array())
#3
+ /Sites/somesite/limesurvey/framework/web/CController.php(286): CController->runAction(CInlineAction)
#4
+ /Sites/somesite/limesurvey/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array())
#5
– /Sites/somesite/limesurvey/application/controllers/LSBaseController.php(160): CController->run("saveQuestionData")
155 $this->redirect(array('/admin/authentication/sa/login'));
156 }
157 }
158 }
159
160 parent::run($action);
161 }
162
163 /**
164 * Load and set session vars
165 *
#6
+ /Sites/somesite/limesurvey/framework/web/CWebApplication.php(282): LSBaseController->run("saveQuestionData")
#7
+ /Sites/somesite/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("questionAdministration/saveQuestionData")
#8
+ /Sites/somesite/limesurvey/framework/base/CApplication.php(185): CWebApplication->processRequest()
#9
– /Sites/somesite/limesurvey/index.php(182): CApplication->run()
177 require_once APPPATH . 'core/LSYii_Application' . EXT;
178
179 $config = require_once(APPPATH . 'config/internal' . EXT);
180
181 Yii::$enableIncludePath = false;
182 Yii::createApplication('LSYii_Application', $config)->run();
183
184 /* End of file index.php */
185 /* Location: ./index.php */
Last edit: 3 years 2 months ago by ipsych.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13637
- Thank you received: 2491
3 years 2 months ago #211786
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic The 4.4.4 update stopped limesurvey working.
You activate debug mode ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: ipsych
The topic has been locked.
- zufolo441
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 3
3 years 2 months ago - 3 years 2 months ago #211807
by zufolo441
Replied by zufolo441 on topic The 4.4.4 update stopped limesurvey working.
me too, when I try to edit a question, I obtain:
Undefined index: single_choice_questions (/var/www/html/limesurvey4/application/controllers/QuestionAdministrationController.php:248)
I had to revert to 4.4.1.
Undefined index: single_choice_questions (/var/www/html/limesurvey4/application/controllers/QuestionAdministrationController.php:248)
I had to revert to 4.4.1.
Last edit: 3 years 2 months ago by zufolo441.
The following user(s) said Thank You: ipsych
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13637
- Thank you received: 2491
3 years 2 months ago #211810
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic The 4.4.4 update stopped limesurvey working.
You activate debug mode ?
manual.limesurvey.org/Optional_settings#...opment_and_debugging
Else : an issue not reported is an issue not fixed : community.limesurvey.org/bug-tracker/
manual.limesurvey.org/Optional_settings#...opment_and_debugging
Else : an issue not reported is an issue not fixed : community.limesurvey.org/bug-tracker/
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: ipsych
The topic has been locked.
- ipsych
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 2
3 years 2 months ago #211823
by ipsych
Replied by ipsych on topic The 4.4.4 update stopped limesurvey working.
Yes, it turned out the debug mode issue!
To use iSessionExpirationTime, I accidentally activated debug mode.
commenting debug and debug sql made everything works.
To use iSessionExpirationTime, I accidentally activated debug mode.
commenting debug and debug sql made everything works.
The following user(s) said Thank You: DenisChenu, cdorin
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13637
- Thank you received: 2491
3 years 2 months ago #211826
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic The 4.4.4 update stopped limesurvey working.
@
ipsych
issue reported and fixed :https://bugs.limesurvey.org/view.php?id=17027
@ zufolo441 please : report the issue
@ zufolo441 please : report the issue
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: cdorin
The topic has been locked.
- cdorin
- Offline
- Elite Member
Less
More
- Posts: 234
- Thank you received: 40
3 years 2 months ago #211830
by cdorin
Manual: manual.limesurvey.org/LimeSurvey_Manual
Bugs tracker: bugs.limesurvey.org/my_view_page.php
If you self-host and need help, contact one of our partners: limesurvey.com
Please do not contact me via PM - thank you.
Replied by cdorin on topic The 4.4.4 update stopped limesurvey working.
@zufolo441 , could you please mention also how you upgraded in the bug report? (
bugs.limesurvey.org
- use your limesurvey.org credentials ) . Can't reproduce the issue (debug off )
Manual: manual.limesurvey.org/LimeSurvey_Manual
Bugs tracker: bugs.limesurvey.org/my_view_page.php
If you self-host and need help, contact one of our partners: limesurvey.com
Please do not contact me via PM - thank you.
The topic has been locked.
- zufolo441
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 3
3 years 2 months ago #211845
by zufolo441
Replied by zufolo441 on topic The 4.4.4 update stopped limesurvey working.
Reported, thanks!
The topic has been locked.