/var/www/lime3/application/helpers/expressions/em_manager_helper.php(10191)
10179 if(substr($sgq,-5)!='other') 10180 { 10181 if($value=="-oth-") 10182 { 10183 if($qinfo['info']['other']!='Y') 10184 { 10185 $LEM->addValidityString($sgq,$value,gT("%s is an invalid value for this question"),$set); 10186 return false; 10187 } 10188 } 10189 else 10190 { 10191 if(!Answer::model()->getAnswerFromCode($qinfo['info']['qid'],$value,$language)) 10192 { 10193 $LEM->addValidityString($sgq,$value,gT("%s is an invalid value for this question"),$set); 10194 return false; 10195 } 10196 } 10197 } 10198 break; 10199 case 'O': // List with comment 10200 if(substr($sgq,-7)!='comment') 10201 { 10202 if(!Answer::model()->getAnswerFromCode($qinfo['info']['qid'],$value,$language)) 10203 {
#0 |
+
–
/var/www/lime3/application/helpers/expressions/em_manager_helper.php(6942): LimeExpressionManager::checkValidityAnswer("L", "1", "752952X1509X9049", array("relevance" => "(((!is_empty(752952X1506X90387.NAOK) && (752952X1506X90387.NAOK ...", "grelevance" => "", "qid" => 9049, "qseq" => 11, ...), ...) 6937 foreach ($allSQs as $sgqa) 6938 { 6939 if (!isset($_SESSION[$LEM->sessid][$sgqa]) && !is_null($LEM->knownVars[$sgqa]['default'])) { 6940 $_SESSION[$LEM->sessid][$sgqa] = ""; // Fill the $_SESSION to don't do it again a second time, but wait to fill with good value 6941 $defaultValue = $LEM->ProcessString($LEM->knownVars[$sgqa]['default'], $qInfo['qid'], NULL, 1, 1, false, false, true); 6942 if(self::checkValidityAnswer($qInfo['type'],$defaultValue,$sgqa,$qInfo,Permission::model()->hasSurveyPermission($LEM->sid, 'surveycontent', 'update'))) { 6943 $_SESSION[$LEM->sessid][$sgqa] = $defaultValue;// Ok can fill with good value 6944 $LEM->updatedValues[$sgqa] = $updatedValues[$sgqa] = array('type'=>$qInfo['type'],'value'=>$_SESSION[$LEM->sessid][$sgqa]); 6945 } 6946 /* cleanup $LEM->validityString[$sgqa] */ 6947 $validityString = self::getValidityString($sgqa); |
#1 |
+
–
/var/www/lime3/application/helpers/expressions/em_manager_helper.php(6054): LimeExpressionManager->_ValidateQuestion(11, false) 6049 ///////////////////////////////////////////////////////// 6050 // CHECK EACH QUESTION, AND SET GROUP-LEVEL PROPERTIES // 6051 ///////////////////////////////////////////////////////// 6052 for ($i=$groupSeqInfo['qstart'];$i<=$groupSeqInfo['qend']; ++$i) 6053 { 6054 $qStatus = $LEM->_ValidateQuestion($i,$force); 6055 6056 $updatedValues = array_merge($updatedValues,$qStatus['updatedValues']); 6057 6058 if ($gRelInfo['result']==true && $qStatus['relevant']==true) { 6059 $grel = $gRelInfo['result']; // true; // at least one question relevant |
#2 |
+
–
/var/www/lime3/application/helpers/expressions/em_manager_helper.php(5289): LimeExpressionManager->_ValidateGroup(5) 5284 'invalidSQs'=>(isset($result['invalidSQs']) ? $result['invalidSQs'] : ''), 5285 ); 5286 return $LEM->lastMoveResult; 5287 } 5288 5289 $result = $LEM->_ValidateGroup($LEM->currentGroupSeq); 5290 if (is_null($result)) { 5291 continue; // this is an invalid group - skip it 5292 } 5293 $message .= $result['message']; 5294 $updatedValues = array_merge($updatedValues,$result['updatedValues']); |
#3 |
+
–
/var/www/lime3/application/helpers/SurveyRuntimeHelper.php(835): LimeExpressionManager::NavigateForwards() 830 $this->aMoveResult = false; // so display welcome page again 831 } 832 } 833 834 if ($this->sMove == "movenext") { 835 $this->aMoveResult = LimeExpressionManager::NavigateForwards(); 836 } 837 838 if (($this->sMove == 'movesubmit')) { 839 if ($this->sSurveyMode == 'survey') { 840 $this->aMoveResult = LimeExpressionManager::NavigateForwards(); |
#4 |
+
–
/var/www/lime3/application/helpers/SurveyRuntimeHelper.php(534): SurveyRuntimeHelper->setMoveResult() 529 $this->initFirstStep(); // If it's the first time user load this survey, will init session and LEM 530 $this->initTotalAndMaxSteps(); 531 $this->checkIfUseBrowserNav(); // Check if user used browser navigation, or relaoded page 532 if ($this->sMove != 'clearcancel' && $this->sMove != 'confirmquota') { 533 $this->checkPrevStep(); // Check if prev step is set, else set it 534 $this->setMoveResult(); 535 $this->checkClearCancel(); 536 $this->setPrevStep(); 537 $this->checkIfFinished(); 538 $this->setStep(); 539 |
#5 |
+
–
/var/www/lime3/application/helpers/SurveyRuntimeHelper.php(104): SurveyRuntimeHelper->initMove() 099 if (!isset($_SESSION[$this->LEMsessid]['step'])) { 100 $this->showTokenOrCaptchaFormsIfNeeded(); 101 } 102 103 $this->checkForDataSecurityAccepted(); 104 $this->initMove(); // main methods to init session, LEM, moves, errors, etc 105 if (!$this->previewgrp && !$this->previewquestion) { 106 $this->checkQuotas(); // check quotas (then the process will stop here) 107 $this->displayFirstPageIfNeeded(); 108 $this->saveAllIfNeeded(); 109 $this->saveSubmitIfNeeded(); |
#6 |
+
–
/var/www/lime3/application/controllers/survey/index.php(591): SurveyRuntimeHelper->run("752952", array("surveyid" => "752952", "thissurvey" => array("htmlemail" => "Y", "format" => "G", "template" => "fruity_demetra", "language" => "it", ...), "thisstep" => "5", "tokensexist" => 0, ...)) 586 unset($redata); 587 $redata = compact(array_keys(get_defined_vars())); 588 Yii::import('application.helpers.SurveyRuntimeHelper'); 589 $tmp = new SurveyRuntimeHelper(); 590 // try { 591 $tmp->run($surveyid, $redata); 592 // } catch (WrongTemplateVersionException $ex) { 593 // echo $ex->getMessage(); 594 // } 595 } 596 |
#7 |
+
–
/var/www/lime3/application/controllers/survey/index.php(24): index->action() 19 public $oTemplate; 20 21 public function run() 22 { 23 useFirebug(); 24 $this->action(); 25 } 26 27 public function action() 28 { 29 global $surveyid; |
#8 |
+
–
/var/www/lime3/framework/web/actions/CAction.php(76): index->run() 71 { 72 $method=new ReflectionMethod($this, 'run'); 73 if($method->getNumberOfParameters()>0) 74 return $this->runWithParamsInternal($this, $method, $params); 75 76 $this->run(); 77 return true; 78 } 79 80 /** 81 * Executes a method of an object with the supplied named parameters. |
#9 |
+
–
/var/www/lime3/framework/web/CController.php(308): CAction->runWithParams(array("sid" => "752952")) 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; |
#10 |
+
–
/var/www/lime3/framework/web/CController.php(286): CController->runAction(index) 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(); |
#11 |
+
–
/var/www/lime3/framework/web/CController.php(265): CController->runActionWithFilters(index, 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); |
#12 |
+
–
/var/www/lime3/framework/web/CWebApplication.php(282): CController->run("index") 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))); |
#13 |
+
–
/var/www/lime3/framework/web/CWebApplication.php(141): CWebApplication->runController("survey/index/sid/752952") 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. |
#14 |
+
–
/var/www/lime3/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 /** |
#15 |
+
–
/var/www/lime3/index.php(194): CApplication->run() 189 require_once APPPATH . 'core/LSYii_Application' . EXT; 190 191 $config = require_once(APPPATH . 'config/internal' . EXT); 192 193 Yii::$enableIncludePath = false; 194 Yii::createApplication('LSYii_Application', $config)->run(); 195 196 /* End of file index.php */ 197 /* Location: ./index.php */ |