diff --git a/html/install/index.php b/html/install/index.php index 609034fd53..353e645bcb 100644 --- a/html/install/index.php +++ b/html/install/index.php @@ -867,7 +867,11 @@ function lfExecuteSQL($filepath, $arrDsn, $disp_err = true) $dbFactory = SC_DB_DBFactory_Ex::getInstance($arrDsn['phptype']); $val = $dbFactory->sfChangeReservedWords($val); } - $ret = $objDB->query($val); + try { + $ret = $objDB->query($val); + } catch (Exception $e) { + $ret = new MDB2_Error(); + } if (PEAR::isError($ret) && $disp_err) { $arrErr['all'] = '>> ' . $ret->message . '
'; // エラー文を取得する diff --git a/html/install/templates/install_frame.tpl b/html/install/templates/install_frame.tpl index 0e79287b1f..f5e99a6fb4 100644 --- a/html/install/templates/install_frame.tpl +++ b/html/install/templates/install_frame.tpl @@ -26,12 +26,6 @@ - - - -