Loading...
 
Skip to main content

Install script should detect previous install (install instead of upgrade will wipe your database)

Status
Closed
Subject
Install script should detect previous install (install instead of upgrade will wipe your database)
Version
2.x
Category
  • Usability
Feature
Installer (profiles, upgrades and server-related issues)
Admin Interface (UI)
Resolution status
Fixed or Solved
Submitted by
Marc Laporte
Lastmod by
Marc Laporte
Rating
(0)
Description
Image
Copy to clipboard
(7:48:16 PM) marclaport1: polom (7:48:21 PM) ***marclaport1 has an idea (7:48:31 PM) marclaport1: to make tiki easier to install (7:48:34 PM) marclaport1: and safer (7:50:54 PM) marclaport1: say I point to tiki-install.php (7:51:07 PM) marclaport1: on a tiki which is already in existence (7:51:27 PM) marclaport1: i get a choice of clean install (tiki.sql) with various profiles (7:51:59 PM) marclaport1: or to upgrade (1.8.x_to_1.9.x.sql) (7:52:20 PM) marclaport1: why offer a clean install unless db is empty? (7:53:33 PM) marclaport1: so if tiki-install.php can only can the upgrade sql (which is designed to be run over & over again) tiki becomes safer (7:54:55 PM) marclaport1: if the database exists, there should be a note the admin to use phpmyadmin to go and empty the database of create a new one for tiki (8:00:29 PM) ***marclaport1 feels that must be something wrong with this idea, or else all the smart people in tiki would have though about it. (8:03:38 PM) ***marclaport1 has the impression that most tiki devs don't use the web installer (8:04:21 PM) marclaport1: ...

Solution

Done in 1.10

As you can see here:

Importance
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1620
Created
Monday 10 March, 2008 10:56:32 UTC
by Unknown
LastModif
Monday 05 April, 2010 21:01:59 UTC


Show PHP error messages