Index: branches/RC/core/install.php =================================================================== diff -u -r10304 -r10509 --- branches/RC/core/install.php (.../install.php) (revision 10304) +++ branches/RC/core/install.php (.../install.php) (revision 10509) @@ -804,7 +804,7 @@ $sqls = str_replace("\r\n", "\n", $sqls); // convert to linux line endings $sqls = preg_replace("/#([^;]*?)\n/", '', $sqls); // remove all comments - $sqls = explode(";\n", $sqls); + $sqls = explode(";\n", $sqls . "\n"); // ensures that last sql won't have ";" in it for ($i=$start_from; $iConn->Query($sql); if ($this->Conn->getErrorCode() != 0) { - $this->errorMessage = 'Error: ('.$this->Conn->getErrorCode().') '.$this->Conn->getErrorMsg().'

Database Query:
'.htmlspecialchars($sql).'
'; - $this->LastQueryNum = $i+1; - return false; - } + $this->errorMessage = 'Error: ('.$this->Conn->getErrorCode().') '.$this->Conn->getErrorMsg().'

Database Query:
'.htmlspecialchars($sql).'
'; + $this->LastQueryNum = $i+1; + return false; + } } return true; }