C:\WAMP\apps\limesurvey\application\helpers\SurveyRuntimeHelper.php(627)
615 //****************************************************************************************************** 616 617 $okToShowErrors = (!$previewgrp && (isset($invalidLastPage) || $_SESSION[$LEMsessid]['prevstep'] == $_SESSION[$LEMsessid]['step'])); 618 619 Yii::app()->getController()->loadHelper('qanda'); 620 setNoAnswerMode($thissurvey); 621 622 //Iterate through the questions about to be displayed: 623 $inputnames = array(); 624 625 foreach ($_SESSION[$LEMsessid]['grouplist'] as $gl) 626 { 627 $gid = $gl[0]; 628 $qnumber = 0; 629 630 if ($surveyMode != 'survey') 631 { 632 $onlyThisGID = $stepInfo['gid']; 633 if ($onlyThisGID != $gid) 634 { 635 continue; 636 } 637 } 638 639 // TMSW - could iterate through LEM::currentQset instead
#0 |
+
–
C:\WAMP\apps\limesurvey\application\controllers\survey\index.php(664): SurveyRuntimeHelper->run("394685", array("surveyid" => "394685", "thistpl" => "C:\WAMP\apps\limesurvey\templates/default", "totalquestions" => null, "thissurvey" => array("surveyls_survey_id" => "394685", "surveyls_language" => "en", "surveyls_title" => "testy", "surveyls_description" => "test survey", ...), ...)) 659 //Send local variables to the appropriate survey type 660 unset($redata); 661 $redata = compact(array_keys(get_defined_vars())); 662 Yii::import('application.helpers.SurveyRuntimeHelper'); 663 $tmp = new SurveyRuntimeHelper(); 664 $tmp->run($surveyid,$redata); 665 666 if (isset($_POST['saveall']) || isset($flashmessage)) 667 { 668 echo "<script language='JavaScript'> $(document).ready( function() { alert('".$clang->gT("Your responses were successfully saved.","js")."');}) </script>"; 669 } |
#1 |
+
–
C:\WAMP\apps\limesurvey\application\controllers\survey\index.php(20): index->action() 15 16 class index extends CAction { 17 18 public function run() 19 { 20 $this->action(); 21 } 22 23 function action() 24 { 25 global $surveyid, $thistpl, $totalquestions; |
#2 |
+
–
C:\WAMP\apps\limesurvey\framework\web\actions\CAction.php(75): index->run() 70 { 71 $method=new ReflectionMethod($this, 'run'); 72 if($method->getNumberOfParameters()>0) 73 return $this->runWithParamsInternal($this, $method, $params); 74 else 75 return $this->run(); 76 } 77 78 /** 79 * Executes a method of an object with the supplied named parameters. 80 * This method is internally used. |
#3 |
+
–
C:\WAMP\apps\limesurvey\framework\web\CController.php(309): CAction->runWithParams(array()) 304 { 305 $priorAction=$this->_action; 306 $this->_action=$action; 307 if($this->beforeAction($action)) 308 { 309 if($action->runWithParams($this->getActionParams())===false) 310 $this->invalidActionParams($action); 311 else 312 $this->afterAction($action); 313 } 314 $this->_action=$priorAction; |
#4 |
+
–
C:\WAMP\apps\limesurvey\framework\web\CController.php(287): CController->runAction(index) 282 * @see runAction 283 */ 284 public function runActionWithFilters($action,$filters) 285 { 286 if(empty($filters)) 287 $this->runAction($action); 288 else 289 { 290 $priorAction=$this->_action; 291 $this->_action=$action; 292 CFilterChain::create($this,$action,$filters)->run(); |
#5 |
+
–
C:\WAMP\apps\limesurvey\framework\web\CController.php(266): CController->runActionWithFilters(index, array()) 261 { 262 if(($parent=$this->getModule())===null) 263 $parent=Yii::app(); 264 if($parent->beforeControllerAction($this,$action)) 265 { 266 $this->runActionWithFilters($action,$this->filters()); 267 $parent->afterControllerAction($this,$action); 268 } 269 } 270 else 271 $this->missingAction($actionID); |
#6 |
+
–
C:\WAMP\apps\limesurvey\framework\web\CWebApplication.php(276): CController->run("index") 271 { 272 list($controller,$actionID)=$ca; 273 $oldController=$this->_controller; 274 $this->_controller=$controller; 275 $controller->init(); 276 $controller->run($actionID); 277 $this->_controller=$oldController; 278 } 279 else 280 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 281 array('{route}'=>$route===''?$this->defaultController:$route))); |
#7 |
+
–
C:\WAMP\apps\limesurvey\framework\web\CWebApplication.php(135): CWebApplication->runController("survey/index") 130 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 131 $_GET[$name]=$value; 132 } 133 else 134 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 135 $this->runController($route); 136 } 137 138 /** 139 * Registers the core application components. 140 * This method overrides the parent implementation by registering additional core components. |
#8 |
+
–
C:\WAMP\apps\limesurvey\framework\base\CApplication.php(162): CWebApplication->processRequest() 157 */ 158 public function run() 159 { 160 if($this->hasEventHandler('onBeginRequest')) 161 $this->onBeginRequest(new CEvent($this)); 162 $this->processRequest(); 163 if($this->hasEventHandler('onEndRequest')) 164 $this->onEndRequest(new CEvent($this)); 165 } 166 167 /** |
#9 |
+
–
C:\WAMP\apps\limesurvey\index.php(171): CApplication->run() 166 * 167 */ 168 require_once BASEPATH . 'yii' . EXT; 169 require_once APPPATH . 'core/LSYii_Application' . EXT; 170 171 Yii::createApplication('LSYii_Application', APPPATH . 'config/config' . EXT)->run(); 172 173 /* End of file index.php */ 174 /* Location: ./index.php */ |