diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2003-02-27 23:37:02 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2003-02-27 23:37:02 +0000 |
| commit | a2889a6c5fe54f2e19cafe02357d822a2e2e3095 (patch) | |
| tree | d9b810ee1c0dad2a9a64cc57ab3bb64af532f7c9 /phpBB/install/install.php | |
| parent | d4884b0c02cb0024ed5467d8d0230a5290610546 (diff) | |
| download | forums-a2889a6c5fe54f2e19cafe02357d822a2e2e3095.tar forums-a2889a6c5fe54f2e19cafe02357d822a2e2e3095.tar.gz forums-a2889a6c5fe54f2e19cafe02357d822a2e2e3095.tar.bz2 forums-a2889a6c5fe54f2e19cafe02357d822a2e2e3095.tar.xz forums-a2889a6c5fe54f2e19cafe02357d822a2e2e3095.zip | |
ok, a slightly modified posting.php, some fixes too. topic-review and polls will re-appear shortly. Posting is a little bit screwed up now... will get fixed soon too. posting new topics/reply/quote/preview and edit works partially (the post get stored. ;)) This commit is to show the other developers the changes. ;)
git-svn-id: file:///svn/phpbb/trunk@3572 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/install.php')
| -rw-r--r-- | phpBB/install/install.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/phpBB/install/install.php b/phpBB/install/install.php index 1b458d278d..7542338804 100644 --- a/phpBB/install/install.php +++ b/phpBB/install/install.php @@ -622,10 +622,16 @@ else $sql_query = split_sql_file($sql_query, $delimiter); $sql_count = count($sql_query); + // NOTE: trigger_error does not work here. + $db->return_on_error = true; for($i = 0; $i < $sql_count; $i++) { - $db->sql_query($sql_query[$i]); + if (!$db->sql_query($sql_query[$i])) + { + $error = $db->sql_error($sql_query[$i]); + echo "<br />ERROR: " . $error['message'] . "<br />"; + } } // |
