diff --git a/installer/config.php b/installer/config.php
index 9845bb3f3..dc85faa6c 100644
--- a/installer/config.php
+++ b/installer/config.php
@@ -26,7 +26,8 @@ $_SESSION['allowinstaller'] = true;
if (!empty($_POST['submit'])) {
echo '
Copy the following configurations and save them in two files (names above the text box)';
- echo ' within the config/ directory of your RoundCube installation.
';
+ echo ' within the config/ directory of your RoundCube installation.
';
+ echo ' Make sure that there are no characters outside the <?php ?> brackets when saving the files.';
$textbox = new textarea(array('rows' => 16, 'cols' => 60, 'class' => "configfile"));
diff --git a/installer/rcube_install.php b/installer/rcube_install.php
index 07a9922b7..12cd5c10d 100644
--- a/installer/rcube_install.php
+++ b/installer/rcube_install.php
@@ -305,6 +305,8 @@ class rcube_install
if (eregi(';$', trim($line))) {
$DB->query($buff);
$buff = '';
+ if ($this->get_error())
+ break;
}
}
}