diff --git a/application/controllers/InstallerController.php b/application/controllers/InstallerController.php index 6d0f0ebf56e..643c649faf8 100644 --- a/application/controllers/InstallerController.php +++ b/application/controllers/InstallerController.php @@ -238,6 +238,13 @@ private function stepDatabaseConfiguration() $aData['classesForStep'] = array('off','off','off','on','off','off'); $aData['progressValue'] = 40; $aData['model'] = $oModel = new InstallerConfigForm; + if (isset(Yii::app()->session['populateerror'])) + { + $oModel->addError('dblocation',Yii::app()->session['populateerror']); + $oModel->addError('dbpwd',''); + $oModel->addError('dbuser',''); + unset(Yii::app()->session['populateerror']); + } if(isset($_POST['InstallerConfigForm'])) { @@ -576,12 +583,15 @@ function stepPopulateDb() } else { - $sConfirmation = $clang->gT('Database was populated but there were errors:').'