/home/sondages.pro/htdocs/limesurvey_GIT/205/application/controllers/InstallerController.php(660)
648 $permission->permission='superadmin'; 649 $permission->read_p=1; 650 $permission->save(); 651 // Save global settings 652 $this->connection->createCommand()->insert("{{settings_global}}", array('stg_name' => 'SessionName', 'stg_value' => self::_getRandomString())); 653 $this->connection->createCommand()->insert("{{settings_global}}", array('stg_name' => 'sitename', 'stg_value' => $sDefaultSiteName)); 654 $this->connection->createCommand()->insert("{{settings_global}}", array('stg_name' => 'siteadminname', 'stg_value' => $sDefaultAdminRealName)); 655 $this->connection->createCommand()->insert("{{settings_global}}", array('stg_name' => 'siteadminemail', 'stg_value' => $sDefaultAdminEmail)); 656 $this->connection->createCommand()->insert("{{settings_global}}", array('stg_name' => 'siteadminbounce', 'stg_value' => $sDefaultAdminEmail)); 657 $this->connection->createCommand()->insert("{{settings_global}}", array('stg_name' => 'defaultlang', 'stg_value' => $sDefaultSiteLanguage)); 658 // only continue if we're error free otherwise setup is broken. 659 } catch (Exception $e) { 660 throw new Exception(sprintf('Could not add optional settings: %s.', $e)); 661 } 662 663 Yii::app()->session['deletedirectories'] = true; 664 665 $aData['title'] = $clang->gT("Success!"); 666 $aData['descp'] = $clang->gT("LimeSurvey has been installed successfully."); 667 $aData['classesForStep'] = array('off','off','off','off','off','off'); 668 $aData['progressValue'] = 100; 669 $aData['user'] = $sDefaultAdminUserName; 670 $aData['pwd'] = $sDefaultAdminPassword; 671 672 $this->render('/installer/success_view', $aData);
#0 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/205/application/controllers/InstallerController.php(82): InstallerController->stepOptionalConfiguration() 77 case 'populatedb': 78 $this->stepPopulateDb(); 79 break; 80 81 case 'optional': 82 $this->stepOptionalConfiguration(); 83 break; 84 85 case 'index' : 86 default : 87 $this->redirect(array('installer/welcome')); |
#1 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/205/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 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/205/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 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/205/framework/base/CApplication.php(180): CWebApplication->processRequest() 175 public function run() 176 { 177 if($this->hasEventHandler('onBeginRequest')) 178 $this->onBeginRequest(new CEvent($this)); 179 register_shutdown_function(array($this,'end'),0,false); 180 $this->processRequest(); 181 if($this->hasEventHandler('onEndRequest')) 182 $this->onEndRequest(new CEvent($this)); 183 } 184 185 /** |
#4 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/205/index.php(200): CApplication->run() 195 die (sprintf('%s should be writable by the webserver (755 or 775).', $runtimePath)); 196 } 197 } 198 199 200 Yii::createApplication('LSYii_Application', $config)->run(); 201 202 /* End of file index.php */ 203 /* Location: ./index.php */ |