/var/www/application/helpers/expressions/em_manager_helper.php(6114)
6102 6103 if ($groupSeq < 0 || $groupSeq >= $LEM->numGroups) { 6104 return NULL; // TODO - what is desired behavior? 6105 } 6106 $groupSeqInfo = (isset($LEM->groupSeqInfo[$groupSeq]) ? $LEM->groupSeqInfo[$groupSeq] : NULL); 6107 if (is_null($groupSeqInfo)) { 6108 // then there are no questions in this group 6109 return NULL; 6110 } 6111 $qInfo = $LEM->questionSeq2relevance[$groupSeqInfo['qstart']]; 6112 $gseq = $qInfo['gseq']; 6113 $gid = $qInfo['gid']; 6114 $LEM->StartProcessingGroup($gseq, $LEM->surveyOptions['anonymized'], $LEM->sid); // analyze the data we have about this group 6115 6116 $grel=false; // assume irrelevant until find a relevant question 6117 $ghidden=true; // assume hidden until find a non-hidden question. If there are no relevant questions on this page, $ghidden will stay true 6118 $gmandViolation=false; // assume that the group contains no manditory questions that have not been fully answered 6119 $gmandSoft=false; // assume that the group contains no SOFT manditory questions that have not been fully answered 6120 $gmandNonSoft=false; // is there any non SOFT manditory questions that have not been fully answered 6121 $gvalid=true; // assume valid until discover otherwise 6122 $debug_message = ''; 6123 $messages = array(); 6124 $currentQset = array(); 6125 $unansweredSQs = array(); 6126 $invalidSQs = array();
#0 |
+
–
/var/www/application/helpers/expressions/em_manager_helper.php(5342): LimeExpressionManager->_ValidateGroup(0) 5337 'invalidSQs'=>(isset($result['invalidSQs']) ? $result['invalidSQs'] : ''), 5338 ); 5339 return $LEM->lastMoveResult; 5340 } 5341 5342 $result = $LEM->_ValidateGroup($LEM->currentGroupSeq); 5343 if (is_null($result)) { 5344 continue; // this is an invalid group - skip it 5345 } 5346 $message .= $result['message']; 5347 $updatedValues = array_merge($updatedValues,$result['updatedValues']); |
#1 |
+
–
/var/www/application/helpers/SurveyRuntimeHelper.php(944): LimeExpressionManager::NavigateForwards() 939 $this->aMoveResult = false; // so display welcome page again 940 } 941 } 942 943 if ($this->sMove == "movenext") { 944 $this->aMoveResult = LimeExpressionManager::NavigateForwards(); 945 } 946 947 if (($this->sMove == 'movesubmit')) { 948 if ($this->sSurveyMode == 'survey') { 949 $this->aMoveResult = LimeExpressionManager::NavigateForwards(); |
#2 |
+
–
/var/www/application/helpers/SurveyRuntimeHelper.php(647): SurveyRuntimeHelper->setMoveResult() 642 $this->initFirstStep(); // If it's the first time user load this survey, will init session and LEM 643 $this->initTotalAndMaxSteps(); 644 $this->checkIfUseBrowserNav(); // Check if user used browser navigation, or relaoded page 645 if ($this->sMove != 'clearcancel' && $this->sMove != 'confirmquota') { 646 $this->checkPrevStep(); // Check if prev step is set, else set it 647 $this->setMoveResult(); 648 $this->checkClearCancel(); 649 $this->setPrevStep(); 650 $this->checkIfFinished(); 651 $this->setStep(); 652 |
#3 |
+
–
/var/www/application/helpers/SurveyRuntimeHelper.php(204): SurveyRuntimeHelper->initMove() 199 if (!isset($_SESSION[$this->LEMsessid]['step'])) { 200 $this->showTokenOrCaptchaFormsIfNeeded(); 201 } 202 if (!$this->previewgrp && !$this->previewquestion) { 203 $this->checkForDataSecurityAccepted(); 204 $this->initMove(); // main methods to init session, LEM, moves, errors, etc 205 if (EmCacheHelper::useCache()) { 206 $this->aSurveyInfo['emcache'] = true; 207 } 208 $this->checkQuotas(); // check quotas (then the process will stop here) 209 $this->displayFirstPageIfNeeded(); |
#4 |
+
–
/var/www/application/controllers/survey/index.php(604): SurveyRuntimeHelper->run("357372", array("surveyid" => "357372", "thissurvey" => array("htmlemail" => "N", "format" => "G", "tokenencryptionoptions" => "", "template" => "fruity", ...), "thisstep" => "0", "tokensexist" => 0, ...)) 599 unset($redata); 600 $redata = compact(array_keys(get_defined_vars())); 601 Yii::import('application.helpers.SurveyRuntimeHelper'); 602 $tmp = new SurveyRuntimeHelper(); 603 // try { 604 $tmp->run($surveyid, $redata); 605 // } catch (WrongTemplateVersionException $ex) { 606 // echo $ex->getMessage(); 607 // } 608 } 609 |
#5 |
+
–
/var/www/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; |
#6 |
+
–
/var/www/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. |
#7 |
+
–
/var/www/framework/web/CController.php(308): CAction->runWithParams(array("r" => "survey/index", "sid" => "357372")) 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; |
#8 |
+
–
/var/www/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(); |
#9 |
+
–
/var/www/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); |
#10 |
+
–
/var/www/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))); |
#11 |
+
–
/var/www/framework/web/CWebApplication.php(141): CWebApplication->runController("survey/index") 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. |
#12 |
+
–
/var/www/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 /** |
#13 |
+
–
/var/www/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 */ |