Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas

Contributor Mazi on the Import/Export category

List installation details before automatically running the update script  
Written by Mazi the 14 Jan 10 at 14:17. Related project: 1.x all. Implemented
When having many Limesurvey installations on the same server and you want to add another fresh installation you really have to take care to use the correct settings in config.php. Otherwise you might update an existing installation instead of setting up a new one because when calling /admin/install the update script is called automatically without asking you if you really want to proceed. You might end in having an old installation using old files but being updated to the latest DB scheme which causes lots of problems at this old installation.
1
votes
implemented
Selected solution (#1): List a summary of the installation which should be updated
Written by Mazi the 14 Jan 10 at 14:17.
Prevent the script from being run automatically without asking for the users agreement. List some of the following details first to identify which installation is updated:
- $sitename
- $adminname
- $rooturl

- $databasename
- $databaselocation
- $databaseuser
- $dbprefix

Add a link "Update this installation" to start the update.

See the 1 comments or propose a solution (latest comment the 30 Mar 10 at 07:54) >>