diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-05-13 00:32:19 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-13 00:32:19 +0000 |
commit | 7008bfb5c3b0654d7d25b2e0d0d53d09e4431c0c (patch) | |
tree | 80574dc1c08ef447cb24f31bcc511ae07f6f4cf1 /installer/views | |
parent | 847de449968dfc815066eac719ddacf60639206c (diff) |
Warn the user if they're attemping to reinstall into a database that
already has Gallery 3 tables. Otherwise, permit it to continue.
We key this off of the existence of the g3_items table. Theoretically
it's possible that the g3_items table is gone but other tables are
still there, which could mess things up. I'm not going to worry about
that for now.
Fixes ticket #175
Diffstat (limited to 'installer/views')
-rw-r--r-- | installer/views/db_not_empty.html.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/installer/views/db_not_empty.html.php b/installer/views/db_not_empty.html.php index 7125a0b6..bc45458d 100644 --- a/installer/views/db_not_empty.html.php +++ b/installer/views/db_not_empty.html.php @@ -1,7 +1,8 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <h1> Uh oh! </h1> <p class="error"> - The database you provided already has other tables in it. - Continuing with the install might overwrite an existing Gallery - install. Please go back and choose a different database. + The database you provided already has Gallery 3 tables in it. + Continuing with the install would overwrite your existing install. + Please either use a different database, delete the old tables, + or choose a different table prefix. </p> |