/var/www/html/limesurvey/application/controllers/InstallerController.php(692)
680 $permission->permission='superadmin'; 681 $permission->read_p=1; 682 $permission->save(); 683 // Save global settings 684 $this->connection->createCommand()->insert("{{settings_global}}", array('stg_name' => 'SessionName', 'stg_value' => self::_getRandomString())); 685 $this->connection->createCommand()->insert("{{settings_global}}", array('stg_name' => 'sitename', 'stg_value' => $sSiteName)); 686 $this->connection->createCommand()->insert("{{settings_global}}", array('stg_name' => 'siteadminname', 'stg_value' => $sAdminRealName)); 687 $this->connection->createCommand()->insert("{{settings_global}}", array('stg_name' => 'siteadminemail', 'stg_value' => $sAdminEmail)); 688 $this->connection->createCommand()->insert("{{settings_global}}", array('stg_name' => 'siteadminbounce', 'stg_value' => $sAdminEmail)); 689 $this->connection->createCommand()->insert("{{settings_global}}", array('stg_name' => 'defaultlang', 'stg_value' => $sSiteLanguage)); 690 // only continue if we're error free otherwise setup is broken. 691 } catch (Exception $e) { 692 throw new Exception(sprintf('Could not add optional settings: %s.', $e)); 693 } 694 695 Yii::app()->session['deletedirectories'] = true; 696 697 $aData['title'] = gT("Success!"); 698 $aData['descp'] = gT("LimeSurvey has been installed successfully."); 699 $aData['classesForStep'] = array('off','off','off','off','off','off'); 700 $aData['progressValue'] = 100; 701 $aData['user'] = $sAdminUserName; 702 if($sDefaultAdminPassword==$sAdminPassword){ 703 $aData['pwd'] = $sAdminPassword; 704 }else{
| #0 |
+
–
/var/www/html/limesurvey/application/controllers/InstallerController.php(83): InstallerController->stepOptionalConfiguration() 78 case 'populatedb': 79 $this->stepPopulateDb(); 80 break; 81 82 case 'optional': 83 $this->stepOptionalConfiguration(); 84 break; 85 86 case 'index' : 87 default : 88 $this->redirect(array('installer/welcome')); |
| #1 |
+
–
/var/www/html/limesurvey/framework/web/CWebApplication.php(282): InstallerController->run("optional") 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))); |
| #2 |
+
–
/var/www/html/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("installer/optional") 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. |
| #3 |
+
–
/var/www/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 /** |
| #4 |
+
–
/var/www/html/limesurvey/index.php(214): CApplication->run() 209 die (sprintf('%s should be writable by the webserver (766 or 776).', $sDefaultRuntimePath)); 210 } 211 } 212 213 Yii::$enableIncludePath = false; 214 Yii::createApplication('LSYii_Application', $config)->run(); 215 216 /* End of file index.php */ 217 /* Location: ./index.php */ |