View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
05512Bug reportsInstallationpublic2012-03-14 21:08
ReporterTMSWhite Assigned Tomagiclko 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00a1 
Fixed in Version2.00a2 
Summary05512: Optional step 6 in installer isn't optional
Description

If you already have LS installed and try to skip this step, (by blanking out the current admin login and password and clicking next), you get returned to step 6 again, so the install never completes.

If you don't blank out the admin login / password, you get the same behavior.

If you enter the current information (e.g. re-enter the username/password, administer name/email, etc.) and click Next, you get this error.

Message: Uncaught exception 'Exception' with message 'Could not create admin user (1062): Duplicate entry 'defaultlang' for key 'PRIMARY'.'

So, you have to skip that step and manually delete tmp/sample_installer_file.txt

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)11169
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql 5.3
Server OS (if known)Windows XP
Webserver software & version (if known)Apache 2
PHP Version5.2

Users monitoring this issue

There are no users monitoring this issue.

Activities

TMSWhite

TMSWhite

2011-10-16 04:49

reporter   ~16431

recent patches create different problem. Now, after step requesting database info, get a page with this message:

"The database you specified is up to date. You'll be redirected in 5 secs. If not, click here"

Which then redirects back to page that says that ../tmp/sample_installer_file.txt is still present and asks that you run installer.

magiclko

magiclko

2011-10-16 11:36

reporter   ~16432

Well, that is the desired behaviour. When your database is up to date, you need not do anything with installer. Just access admin-end(Ofcourse we need to delete sample_installer_file.txt to do that). Isn't it?

TMSWhite

TMSWhite

2011-10-16 14:22

reporter   ~16433

True - as long as the LS installer auto-deletes the sample_installer_file.txt file the "the database you specified is up to date ..." behavior would be fine.

If everything is truly up to date, should we even bother with that message or just take the person straight to the page the user requested without the 5 second delay?

DenisChenu

DenisChenu

2011-10-17 09:40

developer   ~16435

Last edited: 2011-10-17 09:43

If you delete the sample_installer_file.txt manually,

Then config aren't updated.
Message: Undefined property: Index::$db

:)

Oups, ith a new DB too ....

magiclko

magiclko

2011-10-17 16:23

reporter   ~16436

TMSWhite : Yes, we should atleast tell the users about the same.
Shnoulle : I think Tom (mot2) is working on this issue. :)

TMSWhite

TMSWhite

2012-01-20 15:43

reporter   ~16851

This works fine in Yii version

c_schmitz

c_schmitz

2012-03-11 16:32

administrator   ~17868

2.00alpha 2 Build 120212 released

Related Changesets

LimeSurvey: Yii b123b60a

2011-10-15 13:02:45

magiclko

Details Diff
Fixed issue 05512: Optional step 6 in installer isn't optional.
Fixed other minor things.
DEV NOTE: in optional screen, we need not check if user has given any password or not. If not, default password will be used.(User will be notified of the same!)

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@11174 b72ed6b6-b9f8-46b5-92b4-906544132732
Affected Issues
05512
mod - application/controllers/installer.php Diff File
mod - application/views/installer/optconfig_view.php Diff File

Issue History

Date Modified Username Field Change
2011-10-15 04:18 TMSWhite New Issue
2011-10-15 12:17 c_schmitz Assigned To => magiclko
2011-10-15 12:17 c_schmitz Status new => assigned
2011-10-16 04:49 TMSWhite Note Added: 16431
2011-10-16 11:36 magiclko Note Added: 16432
2011-10-16 14:22 TMSWhite Note Added: 16433
2011-10-17 09:40 DenisChenu Note Added: 16435
2011-10-17 09:43 DenisChenu Note Edited: 16435
2011-10-17 16:23 magiclko Note Added: 16436
2012-01-20 15:43 TMSWhite Note Added: 16851
2012-01-20 15:43 TMSWhite Status assigned => resolved
2012-01-20 15:43 TMSWhite Resolution open => fixed
2012-01-24 21:32 c_schmitz Fixed in Version => 2.00a2
2012-03-11 16:32 c_schmitz Note Added: 17868
2012-03-11 16:32 c_schmitz Status resolved => closed
2012-03-14 21:08 magiclko Changeset attached => Import 2012-03-09 13:30:34 Yii b123b60a