#0 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(2173): array_sum(array("", "", ""))
2168 /* function with any number of params */
2169 $result = call_user_func_array('sprintf', $params);
2170 break;
2171 default:
2172 /* function with array as param*/
2173 $result = call_user_func($funcName, $params);
2174 break;
2175 }
2176 }
2177 // Call function with the params passed
2178 } elseif (in_array($argsPassed, $numArgsAllowed)) {
|
#1 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(881): ExpressionManager-> RDP_RunFunction(array("sum", 2, "WORD"), array("", "", ""))
876 }
877 }
878 }
879 if ($token3[2] == 'RP') {
880 ++$this->RDP_pos; // consume the token so can process next clause
881 return $this->RDP_RunFunction($funcNameToken, $params);
882 } else {
883 if ($this->RDP_EvaluateExpression()) {
884 $value = $this->RDP_StackPop();
885 if (is_null($value)) {
886 return false;
|
#2 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(689): ExpressionManager-> RDP_EvaluateFunction()
684 return true;
685 // NB: No break needed
686 case 'WORD':
687 case 'SGQA':
688 if (($this->RDP_pos + 1) < $this->RDP_count and $this->RDP_tokens[($this->RDP_pos + 1)][2] == 'LP') {
689 return $this->RDP_EvaluateFunction();
690 } else {
691 if ($this->RDP_isValidVariable($token[0])) {
692 $this->varsUsed[] = $token[0]; // add this variable to list of those used in this equation
693 if (preg_match("/\.(" . $this->getRegexpStaticValidAttributes() . ")$/", (string) $token[0])) {
694 $relStatus = 1; // static, so always relevant
|
#3 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(1026): ExpressionManager-> RDP_EvaluateConstantVarOrFunction()
1021 $this->RDP_AddError(self::gT("Expected right parentheses"), $token);
1022 return false;
1023 }
1024 } else {
1025 --$this->RDP_pos;
1026 return $this->RDP_EvaluateConstantVarOrFunction();
1027 }
1028 }
1029
1030 /**
1031 * Process "a op b" where op in (lt, gt, le, ge, <, >, <=, >=)
|
#4 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(1096): ExpressionManager-> RDP_EvaluatePrimaryExpression()
1091 --$this->RDP_pos;
1092 return $this->RDP_EvaluatePrimaryExpression();
1093 }
1094 } else {
1095 --$this->RDP_pos;
1096 return $this->RDP_EvaluatePrimaryExpression();
1097 }
1098 }
1099
1100 /**
1101 * Returns array of all JavaScript-equivalent variable names used when parsing a string via sProcessStringContainingExpressions
|
#5 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(970): ExpressionManager-> RDP_EvaluateUnaryExpression()
965 * @return boolean - true if success, false if any error occurred
966 */
967
968 private function RDP_EvaluateMultiplicativeExpression()
969 {
970 if (!$this->RDP_EvaluateUnaryExpression()) {
971 return false;
972 }
973 while (($this->RDP_pos + 1) < $this->RDP_count) {
974 $token = $this->RDP_tokens[++$this->RDP_pos];
975 if ($token[2] == 'BINARYOP') {
|
#6 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(637): ExpressionManager-> RDP_EvaluateMultiplicativeExpression()
632 * Process "a op b" where op in (+,-,concatenate)
633 * @return boolean - true if success, false if any error occurred
634 */
635 private function RDP_EvaluateAdditiveExpression()
636 {
637 if (!$this->RDP_EvaluateMultiplicativeExpression()) {
638 return false;
639 }
640 while (($this->RDP_pos + 1) < $this->RDP_count) {
641 $token = $this->RDP_tokens[++$this->RDP_pos];
642 if ($token[2] == 'BINARYOP') {
|
#7 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(1036): ExpressionManager-> RDP_EvaluateAdditiveExpression()
1031 * Process "a op b" where op in (lt, gt, le, ge, <, >, <=, >=)
1032 * @return boolean - true if success, false if any error occurred
1033 */
1034 private function RDP_EvaluateRelationExpression()
1035 {
1036 if (!$this->RDP_EvaluateAdditiveExpression()) {
1037 return false;
1038 }
1039 while (($this->RDP_pos + 1) < $this->RDP_count) {
1040 $token = $this->RDP_tokens[++$this->RDP_pos];
1041 switch (strtolower((string) $token[0])) {
|
#8 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(729): ExpressionManager-> RDP_EvaluateRelationExpression()
724 * Process "a == b", "a eq b", "a != b", "a ne b"
725 * @return boolean - true if success, false if any error occurred
726 */
727 private function RDP_EvaluateEqualityExpression()
728 {
729 if (!$this->RDP_EvaluateRelationExpression()) {
730 return false;
731 }
732 while (($this->RDP_pos + 1) < $this->RDP_count) {
733 $token = $this->RDP_tokens[++$this->RDP_pos];
734 switch (strtolower((string) $token[0])) {
|
#9 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(904): ExpressionManager-> RDP_EvaluateEqualityExpression()
899 * @return boolean - true if success, false if any error occurred
900 */
901
902 private function RDP_EvaluateLogicalAndExpression()
903 {
904 if (!$this->RDP_EvaluateEqualityExpression()) {
905 return false;
906 }
907 while (($this->RDP_pos + 1) < $this->RDP_count) {
908 $token = $this->RDP_tokens[++$this->RDP_pos];
909 switch (strtolower((string) $token[0])) {
|
#10 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(935): ExpressionManager-> RDP_EvaluateLogicalAndExpression()
930 * Process "a || b" or "a or b"
931 * @return boolean - true if success, false if any error occurred
932 */
933 private function RDP_EvaluateLogicalOrExpression()
934 {
935 if (!$this->RDP_EvaluateLogicalAndExpression()) {
936 return false;
937 }
938 while (($this->RDP_pos + 1) < $this->RDP_count) {
939 $token = $this->RDP_tokens[++$this->RDP_pos];
940 switch (strtolower((string) $token[0])) {
|
#11 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(795): ExpressionManager-> RDP_EvaluateLogicalOrExpression()
790 return false;
791 }
792 } else {
793 // not an assignment expression, so try something else
794 $this->RDP_pos -= 2;
795 return $this->RDP_EvaluateLogicalOrExpression();
796 }
797 } else {
798 return $this->RDP_EvaluateLogicalOrExpression();
799 }
800 }
|
#12 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(809): ExpressionManager-> RDP_EvaluateExpression()
804 * @return boolean - true if success, false if any error occurred
805 */
806
807 private function RDP_EvaluateExpressions()
808 {
809 $evalStatus = $this->RDP_EvaluateExpression();
810 if (!$evalStatus) {
811 return false;
812 }
813 while (++$this->RDP_pos < $this->RDP_count) {
814 $token = $this->RDP_tokens[$this->RDP_pos];
|
#13 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(1014): ExpressionManager-> RDP_EvaluateExpressions()
1009 $this->RDP_AddError(self::gT("Poorly terminated expression - expected a constant or variable"), null);
1010 return false;
1011 }
1012 $token = $this->RDP_tokens[++$this->RDP_pos];
1013 if ($token[2] == 'LP') {
1014 if (!$this->RDP_EvaluateExpressions()) {
1015 return false;
1016 }
1017 $token = $this->RDP_tokens[$this->RDP_pos];
1018 if ($token[2] == 'RP') {
1019 return true;
|
#14 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(1096): ExpressionManager-> RDP_EvaluatePrimaryExpression()
1091 --$this->RDP_pos;
1092 return $this->RDP_EvaluatePrimaryExpression();
1093 }
1094 } else {
1095 --$this->RDP_pos;
1096 return $this->RDP_EvaluatePrimaryExpression();
1097 }
1098 }
1099
1100 /**
1101 * Returns array of all JavaScript-equivalent variable names used when parsing a string via sProcessStringContainingExpressions
|
#15 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(970): ExpressionManager-> RDP_EvaluateUnaryExpression()
965 * @return boolean - true if success, false if any error occurred
966 */
967
968 private function RDP_EvaluateMultiplicativeExpression()
969 {
970 if (!$this->RDP_EvaluateUnaryExpression()) {
971 return false;
972 }
973 while (($this->RDP_pos + 1) < $this->RDP_count) {
974 $token = $this->RDP_tokens[++$this->RDP_pos];
975 if ($token[2] == 'BINARYOP') {
|
#16 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(637): ExpressionManager-> RDP_EvaluateMultiplicativeExpression()
632 * Process "a op b" where op in (+,-,concatenate)
633 * @return boolean - true if success, false if any error occurred
634 */
635 private function RDP_EvaluateAdditiveExpression()
636 {
637 if (!$this->RDP_EvaluateMultiplicativeExpression()) {
638 return false;
639 }
640 while (($this->RDP_pos + 1) < $this->RDP_count) {
641 $token = $this->RDP_tokens[++$this->RDP_pos];
642 if ($token[2] == 'BINARYOP') {
|
#17 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(1036): ExpressionManager-> RDP_EvaluateAdditiveExpression()
1031 * Process "a op b" where op in (lt, gt, le, ge, <, >, <=, >=)
1032 * @return boolean - true if success, false if any error occurred
1033 */
1034 private function RDP_EvaluateRelationExpression()
1035 {
1036 if (!$this->RDP_EvaluateAdditiveExpression()) {
1037 return false;
1038 }
1039 while (($this->RDP_pos + 1) < $this->RDP_count) {
1040 $token = $this->RDP_tokens[++$this->RDP_pos];
1041 switch (strtolower((string) $token[0])) {
|
#18 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(729): ExpressionManager-> RDP_EvaluateRelationExpression()
724 * Process "a == b", "a eq b", "a != b", "a ne b"
725 * @return boolean - true if success, false if any error occurred
726 */
727 private function RDP_EvaluateEqualityExpression()
728 {
729 if (!$this->RDP_EvaluateRelationExpression()) {
730 return false;
731 }
732 while (($this->RDP_pos + 1) < $this->RDP_count) {
733 $token = $this->RDP_tokens[++$this->RDP_pos];
734 switch (strtolower((string) $token[0])) {
|
#19 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(904): ExpressionManager-> RDP_EvaluateEqualityExpression()
899 * @return boolean - true if success, false if any error occurred
900 */
901
902 private function RDP_EvaluateLogicalAndExpression()
903 {
904 if (!$this->RDP_EvaluateEqualityExpression()) {
905 return false;
906 }
907 while (($this->RDP_pos + 1) < $this->RDP_count) {
908 $token = $this->RDP_tokens[++$this->RDP_pos];
909 switch (strtolower((string) $token[0])) {
|
#20 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(935): ExpressionManager-> RDP_EvaluateLogicalAndExpression()
930 * Process "a || b" or "a or b"
931 * @return boolean - true if success, false if any error occurred
932 */
933 private function RDP_EvaluateLogicalOrExpression()
934 {
935 if (!$this->RDP_EvaluateLogicalAndExpression()) {
936 return false;
937 }
938 while (($this->RDP_pos + 1) < $this->RDP_count) {
939 $token = $this->RDP_tokens[++$this->RDP_pos];
940 switch (strtolower((string) $token[0])) {
|
#21 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(795): ExpressionManager-> RDP_EvaluateLogicalOrExpression()
790 return false;
791 }
792 } else {
793 // not an assignment expression, so try something else
794 $this->RDP_pos -= 2;
795 return $this->RDP_EvaluateLogicalOrExpression();
796 }
797 } else {
798 return $this->RDP_EvaluateLogicalOrExpression();
799 }
800 }
|
#22 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(809): ExpressionManager-> RDP_EvaluateExpression()
804 * @return boolean - true if success, false if any error occurred
805 */
806
807 private function RDP_EvaluateExpressions()
808 {
809 $evalStatus = $this->RDP_EvaluateExpression();
810 if (!$evalStatus) {
811 return false;
812 }
813 while (++$this->RDP_pos < $this->RDP_count) {
814 $token = $this->RDP_tokens[$this->RDP_pos];
|
#23 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(1014): ExpressionManager-> RDP_EvaluateExpressions()
1009 $this->RDP_AddError(self::gT("Poorly terminated expression - expected a constant or variable"), null);
1010 return false;
1011 }
1012 $token = $this->RDP_tokens[++$this->RDP_pos];
1013 if ($token[2] == 'LP') {
1014 if (!$this->RDP_EvaluateExpressions()) {
1015 return false;
1016 }
1017 $token = $this->RDP_tokens[$this->RDP_pos];
1018 if ($token[2] == 'RP') {
1019 return true;
|
#24 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(1096): ExpressionManager-> RDP_EvaluatePrimaryExpression()
1091 --$this->RDP_pos;
1092 return $this->RDP_EvaluatePrimaryExpression();
1093 }
1094 } else {
1095 --$this->RDP_pos;
1096 return $this->RDP_EvaluatePrimaryExpression();
1097 }
1098 }
1099
1100 /**
1101 * Returns array of all JavaScript-equivalent variable names used when parsing a string via sProcessStringContainingExpressions
|
#25 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(970): ExpressionManager-> RDP_EvaluateUnaryExpression()
965 * @return boolean - true if success, false if any error occurred
966 */
967
968 private function RDP_EvaluateMultiplicativeExpression()
969 {
970 if (!$this->RDP_EvaluateUnaryExpression()) {
971 return false;
972 }
973 while (($this->RDP_pos + 1) < $this->RDP_count) {
974 $token = $this->RDP_tokens[++$this->RDP_pos];
975 if ($token[2] == 'BINARYOP') {
|
#26 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(637): ExpressionManager-> RDP_EvaluateMultiplicativeExpression()
632 * Process "a op b" where op in (+,-,concatenate)
633 * @return boolean - true if success, false if any error occurred
634 */
635 private function RDP_EvaluateAdditiveExpression()
636 {
637 if (!$this->RDP_EvaluateMultiplicativeExpression()) {
638 return false;
639 }
640 while (($this->RDP_pos + 1) < $this->RDP_count) {
641 $token = $this->RDP_tokens[++$this->RDP_pos];
642 if ($token[2] == 'BINARYOP') {
|
#27 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(1036): ExpressionManager-> RDP_EvaluateAdditiveExpression()
1031 * Process "a op b" where op in (lt, gt, le, ge, <, >, <=, >=)
1032 * @return boolean - true if success, false if any error occurred
1033 */
1034 private function RDP_EvaluateRelationExpression()
1035 {
1036 if (!$this->RDP_EvaluateAdditiveExpression()) {
1037 return false;
1038 }
1039 while (($this->RDP_pos + 1) < $this->RDP_count) {
1040 $token = $this->RDP_tokens[++$this->RDP_pos];
1041 switch (strtolower((string) $token[0])) {
|
#28 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(729): ExpressionManager-> RDP_EvaluateRelationExpression()
724 * Process "a == b", "a eq b", "a != b", "a ne b"
725 * @return boolean - true if success, false if any error occurred
726 */
727 private function RDP_EvaluateEqualityExpression()
728 {
729 if (!$this->RDP_EvaluateRelationExpression()) {
730 return false;
731 }
732 while (($this->RDP_pos + 1) < $this->RDP_count) {
733 $token = $this->RDP_tokens[++$this->RDP_pos];
734 switch (strtolower((string) $token[0])) {
|
#29 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(904): ExpressionManager-> RDP_EvaluateEqualityExpression()
899 * @return boolean - true if success, false if any error occurred
900 */
901
902 private function RDP_EvaluateLogicalAndExpression()
903 {
904 if (!$this->RDP_EvaluateEqualityExpression()) {
905 return false;
906 }
907 while (($this->RDP_pos + 1) < $this->RDP_count) {
908 $token = $this->RDP_tokens[++$this->RDP_pos];
909 switch (strtolower((string) $token[0])) {
|
#30 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(935): ExpressionManager-> RDP_EvaluateLogicalAndExpression()
930 * Process "a || b" or "a or b"
931 * @return boolean - true if success, false if any error occurred
932 */
933 private function RDP_EvaluateLogicalOrExpression()
934 {
935 if (!$this->RDP_EvaluateLogicalAndExpression()) {
936 return false;
937 }
938 while (($this->RDP_pos + 1) < $this->RDP_count) {
939 $token = $this->RDP_tokens[++$this->RDP_pos];
940 switch (strtolower((string) $token[0])) {
|
#31 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(795): ExpressionManager-> RDP_EvaluateLogicalOrExpression()
790 return false;
791 }
792 } else {
793 // not an assignment expression, so try something else
794 $this->RDP_pos -= 2;
795 return $this->RDP_EvaluateLogicalOrExpression();
796 }
797 } else {
798 return $this->RDP_EvaluateLogicalOrExpression();
799 }
800 }
|
#32 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(809): ExpressionManager-> RDP_EvaluateExpression()
804 * @return boolean - true if success, false if any error occurred
805 */
806
807 private function RDP_EvaluateExpressions()
808 {
809 $evalStatus = $this->RDP_EvaluateExpression();
810 if (!$evalStatus) {
811 return false;
812 }
813 while (++$this->RDP_pos < $this->RDP_count) {
814 $token = $this->RDP_tokens[$this->RDP_pos];
|
#33 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(608): ExpressionManager-> RDP_EvaluateExpressions()
603 $this->varsUsed = array();
604 $this->jsExpression = null;
605
606 if ($this->HasSyntaxErrors()) {
607 return false;
608 } elseif ($this->RDP_EvaluateExpressions()) {
609 if ($this->RDP_pos < $this->RDP_count) {
610 $this->RDP_AddError(self::gT("Extra tokens found"), $this->RDP_tokens[$this->RDP_pos]);
611 return false;
612 }
613 $this->RDP_result = $this->RDP_StackPop();
|
#34 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_core_helper.php(1906): ExpressionManager-> RDP_Evaluate("((sum(282267X2X11SQ001.NAOK, 282267X2X11SQ002.NAOK, 282267X2X11S...")
1901 {
1902 $this->groupSeq = $groupSeq;
1903 $this->questionSeq = $questionSeq;
1904
1905 $expr = $this->ExpandThisVar($expr);
1906 $status = $this->RDP_Evaluate($expr);
1907 if (!$status) {
1908 return false; // if there are errors in the expression, hide it?
1909 }
1910 $result = $this->GetResult();
1911 if (is_null($result)) {
|
#35 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_manager_helper.php(7285): ExpressionManager-> ProcessBooleanExpression("((sum(282267X2X11SQ001.NAOK, 282267X2X11SQ002.NAOK, 282267X2X11S...", 1, 11)
7280 foreach ($validationEqns as $vclass => $validationEqn) {
7281 if ($validationEqn == '') {
7282 continue;
7283 }
7284 $relQuestionSeq = isset($LEM->questionId2questionSeq[$arg['qid']]) ? $LEM->questionId2questionSeq[$arg['qid']] : null;
7285 $LEM->em->ProcessBooleanExpression($validationEqn, $arg['gseq'], $relQuestionSeq);
7286 $_vars = $LEM->em->GetJSVarsUsed();
7287 $allJsVarsUsed = array_merge($allJsVarsUsed, $_vars);
7288 $valJsVarsUsed = array_merge($valJsVarsUsed, $_vars);
7289 $_validationJS = $LEM->em->GetJavaScriptEquivalentOfExpression();
7290 if ($_validationJS != '') {
|
#36 |
+
–
/home/limesurvey.shnoulle.net/www/application/helpers/expressions/em_manager_helper.php(6959): LimeExpressionManager:: GetRelevanceAndTailoringJavaScript(true)
6954 $sHiddenInputs = implode('', $aScriptsAndHiddenInputs['inputs']);
6955 $LEM->FinishProcessingPage();
6956 return $sHiddenInputs;
6957 } elseif ($applyJavaScriptAnyway && !self::isInitialized()) {
6958 $LEM =& LimeExpressionManager::singleton();
6959 $aScriptsAndHiddenInputs = self::GetRelevanceAndTailoringJavaScript(true);
6960 $sScripts = implode('', $aScriptsAndHiddenInputs['scripts']);
6961 Yii::app()->clientScript->registerScript('lemscripts', $sScripts, LSYii_ClientScript::POS_BEGIN, ['id' => 'lemscripts']);
6962
6963 Yii::app()->clientScript->registerScript('triggerEmRelevance', "triggerEmRelevance();", LSYii_ClientScript::POS_END);
6964 Yii::app()->clientScript->registerScript('updateMandatoryErrorClass', "updateMandatoryErrorClass();", LSYii_ClientScript::POS_POSTSCRIPT); /* Maybe only if we have mandatory error ?*/
|
#37 |
+
–
/home/limesurvey.shnoulle.net/www/application/core/LSETwigViewRenderer.php(73): LimeExpressionManager:: FinishProcessPublicPage(true)
68 $oTemplate = Template::getLastInstance();
69 $oLayoutTemplate = $this->getTemplateForView($sLayout, $oTemplate);
70 if ($oLayoutTemplate) {
71 $line = file_get_contents($oLayoutTemplate->viewPath . $sLayout);
72 $sHtml = $this->convertTwigToHtml($line, $aData, $oTemplate);
73 $sEmHiddenInputs = LimeExpressionManager::FinishProcessPublicPage(true);
74 if ($sEmHiddenInputs) {
75 $sHtml = str_replace(
76 "<!-- emScriptsAndHiddenInputs -->",
77 "<!-- emScriptsAndHiddenInputs updated -->\n" .
78 $sEmHiddenInputs,
|
#38 |
+
–
/home/limesurvey.shnoulle.net/www/application/controllers/SurveysController.php(63): LSETwigViewRenderer-> renderTemplateFromFile("layout_survey_list.twig",
array("aSurveyInfo" => array("publicSurveys" => array(),
"futureSurveys" => array(), "oTemplate" => TemplateConfiguration,
"sSiteName" => "LimeSurvey LDAP testing", ...)), false)
58 // maintenance mode
59 $sMaintenanceMode = getGlobalSetting('maintenancemode');
60 if ($sMaintenanceMode == 'hard' || $sMaintenanceMode == 'soft') {
61 Yii::app()->twigRenderer->renderTemplateFromFile("layout_maintenance.twig", array('aSurveyInfo' => $aData), false);
62 } else {
63 Yii::app()->twigRenderer->renderTemplateFromFile("layout_survey_list.twig", array('aSurveyInfo' => $aData), false);
64 }
65 }
66
67 /**
68 * System error : only 404 error are managed here (2016-11-29)
|
#39 |
unknown(0): SurveysController->actionPublicList("fr")
|
#40 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/actions/CAction.php(114): ReflectionMethod-> invokeArgs(SurveysController, array(null))
109 elseif($param->isDefaultValueAvailable())
110 $ps[]=$param->getDefaultValue();
111 else
112 return false;
113 }
114 $method->invokeArgs($object,$ps);
115 return true;
116 }
117 }
|
#41 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(47): CAction-> runWithParamsInternal(SurveysController, ReflectionMethod, array())
42 {
43 $methodName='action'.$this->getId();
44 $controller=$this->getController();
45 $method=new ReflectionMethod($controller, $methodName);
46 if($method->getNumberOfParameters()>0)
47 return $this->runWithParamsInternal($controller, $method, $params);
48
49 $controller->$methodName();
50 return true;
51 }
52 }
|
#42 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CController.php(308): CInlineAction-> runWithParams(array())
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;
|
#43 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CController.php(286): CController-> runAction(CInlineAction)
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();
|
#44 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CController.php(265): CController-> runActionWithFilters(CInlineAction, 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);
|
#45 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): CController-> run("")
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)));
|
#46 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication-> runController("")
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.
|
#47 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/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 /**
|
#48 |
+
–
/home/limesurvey.shnoulle.net/www/index.php(161): CApplication-> run()
156 require_once APPPATH . 'core/LSYii_Application' . EXT;
157
158 $config = require_once(APPPATH . 'config/internal' . EXT);
159
160 Yii::$enableIncludePath = false;
161 Yii::createApplication('LSYii_Application', $config)->run();
162
163 /* End of file index.php */
164 /* Location: ./index.php */
|