/home/hgctoo5/public_html/limesurvey/framework/web/CHttpSession.php(190)
178 session_id($value); 179 } 180 181 /** 182 * Updates the current session id with a newly generated one . 183 * Please refer to {@link http://php.net/session_regenerate_id} for more details. 184 * @param boolean $deleteOldSession Whether to delete the old associated session file or not. 185 * @since 1.1.8 186 */ 187 public function regenerateID($deleteOldSession=false) 188 { 189 if($this->getIsStarted()) 190 session_regenerate_id($deleteOldSession); 191 } 192 193 /** 194 * @return string the current session name 195 */ 196 public function getSessionName() 197 { 198 return session_name(); 199 } 200 201 /** 202 * @param string $value the session name for the current session, must be an alphanumeric string, defaults to PHPSESSID
| #0 |
+
–
/home/hgctoo5/public_html/limesurvey/framework/web/CHttpSession.php(190): session_regenerate_id(true) 185 * @since 1.1.8 186 */ 187 public function regenerateID($deleteOldSession=false) 188 { 189 if($this->getIsStarted()) 190 session_regenerate_id($deleteOldSession); 191 } 192 193 /** 194 * @return string the current session name 195 */ |
| #1 |
+
–
/home/hgctoo5/public_html/limesurvey/application/helpers/frontend_helper.php(1349): CHttpSession->regenerateID(true) 1344 * @param int $surveyid 1345 * @return void 1346 */ 1347 function resetAllSessionVariables($surveyid) 1348 { 1349 Yii:app()->session->regenerateID(true); 1350 unset($_SESSION['survey_'.$surveyid]['grouplist']); 1351 unset($_SESSION['survey_'.$surveyid]['fieldarray']); 1352 unset($_SESSION['survey_'.$surveyid]['insertarray']); 1353 unset($_SESSION['survey_'.$surveyid]['fieldnamesInfo']); 1354 unset($_SESSION['survey_'.$surveyid]['fieldmap-'.$surveyid.'-randMaster']); |
| #2 |
+
–
/home/hgctoo5/public_html/limesurvey/application/helpers/frontend_helper.php(753): resetAllSessionVariables(587138) 748 App()->getController()->sTemplate = $oTemplate->sTemplateName; // It's going to be hard to be sure this is used .... 749 $sTemplateViewPath = $oTemplate->viewPath; 750 751 752 // Reset all the session variables and start again 753 resetAllSessionVariables($surveyid); 754 755 // NOTE: All of this is already done in survey controller. 756 // We keep it here only for Travis Tested thar are still not using Selenium 757 // As soon as the tests are rewrote to use selenium, those lines can be removed 758 $lang = $_SESSION['survey_'.$surveyid]['s_lang']; |
| #3 |
+
–
/home/hgctoo5/public_html/limesurvey/application/helpers/SurveyRuntimeHelper.php(655): buildsurveysession(587138) 650 private function initFirstStep() 651 { 652 // First time the survey is loaded 653 if (!isset($_SESSION[$this->LEMsessid]['step']) ) { 654 // Init session, randomization and filed array 655 buildsurveysession($this->iSurveyid); 656 $fieldmap = randomizationGroupsAndQuestions($this->iSurveyid); 657 initFieldArray($this->iSurveyid, $fieldmap); 658 659 // Check surveyid coherence 660 if ($this->iSurveyid != LimeExpressionManager::getLEMsurveyId()) { |
| #4 |
+
–
/home/hgctoo5/public_html/limesurvey/application/helpers/SurveyRuntimeHelper.php(526): SurveyRuntimeHelper->initFirstStep() 521 * + Is the survey finished? 522 * + Are all the answer validated? (like: participant didn't answered to a mandatory question) 523 */ 524 private function initMove() 525 { 526 $this->initFirstStep(); // If it's the first time user load this survey, will init session and LEM 527 $this->initTotalAndMaxSteps(); 528 $this->checkIfUseBrowserNav(); // Check if user used browser navigation, or relaoded page 529 if ($this->sMove != 'clearcancel' && $this->sMove != 'confirmquota') { 530 $this->checkPrevStep(); // Check if prev step is set, else set it 531 $this->setMoveResult(); |
| #5 |
+
–
/home/hgctoo5/public_html/limesurvey/application/helpers/SurveyRuntimeHelper.php(104): SurveyRuntimeHelper->initMove() 099 if (!isset($_SESSION[$this->LEMsessid]['step'])) { 100 $this->showTokenOrCaptchaFormsIfNeeded(); 101 } 102 103 if (!$this->previewgrp && !$this->previewquestion) { 104 $this->initMove(); // main methods to init session, LEM, moves, errors, etc 105 $this->checkForDataSecurityAccepted(); // must be called after initMove to allow LEM to be initialized 106 $this->checkQuotas(); // check quotas (then the process will stop here) 107 $this->displayFirstPageIfNeeded(); 108 $this->saveAllIfNeeded(); 109 $this->saveSubmitIfNeeded(); |
| #6 |
+
–
/home/hgctoo5/public_html/limesurvey/application/controllers/survey/index.php(590): SurveyRuntimeHelper->run("587138", array("surveyid" => "587138", "thissurvey" => array("htmlemail" => "Y", "format" => "G", "template" => "TrueWiring_Main", "language" => "en", ...), "thisstep" => null, "tokensexist" => 0, ...)) 585 unset($redata); 586 $redata = compact(array_keys(get_defined_vars())); 587 Yii::import('application.helpers.SurveyRuntimeHelper'); 588 $tmp = new SurveyRuntimeHelper(); 589 // try { 590 $tmp->run($surveyid, $redata); 591 // } catch (WrongTemplateVersionException $ex) { 592 // echo $ex->getMessage(); 593 // } 594 } 595 |
| #7 |
+
–
/home/hgctoo5/public_html/limesurvey/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 |
+
–
/home/hgctoo5/public_html/limesurvey/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 |
+
–
/home/hgctoo5/public_html/limesurvey/framework/web/CController.php(308): CAction->runWithParams(array("lang" => "en", "sid" => "587138")) 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 |
+
–
/home/hgctoo5/public_html/limesurvey/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 |
+
–
/home/hgctoo5/public_html/limesurvey/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 |
+
–
/home/hgctoo5/public_html/limesurvey/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 |
+
–
/home/hgctoo5/public_html/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("survey/index/sid/587138") 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 |
+
–
/home/hgctoo5/public_html/limesurvey/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 |
+
–
/home/hgctoo5/public_html/limesurvey/index.php(199): CApplication->run() 194 require_once APPPATH . 'core/LSYii_Application' . EXT; 195 196 $config = require_once(APPPATH . 'config/internal' . EXT); 197 198 Yii::$enableIncludePath = false; 199 Yii::createApplication('LSYii_Application', $config)->run(); 200 201 /* End of file index.php */ 202 /* Location: ./index.php */ |