View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
06126Bug reportsInstallationpublic2012-05-28 15:12
Reporteruser19960Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00RC1 
Fixed in Version2.00RC2 
Summary06126: Install fails - populate database (mssql 2012 + iis 7.5)
Description

A new database is created but populate fails.

Steps To Reproduce

windows 7 sp1
IIS 7.5
Microsoft SQL Server 2012 - 11.0.2100.60 (Intel X86) Express Edition
PHP Version 5.4.3

http://windows.php.net/downloads/releases/php-5.4.3-Win32-VC9-x86.zip
http://www.microsoft.com/en-us/download/details.aspx?id=20098

sources from git (22/05/2012 5.26 pm)

Additional Information

PHP notice
Array to string conversion
C:\inetpub\wwwroot\limesurvey\framework\web\helpers\CHtml.php(2104)

2104 $html .= ' ' . $name . '="' . $value . '"';

Logs + phpinfo in attach-ment.

TagsNo tags attached.
Attached Files
php info + error desc.zip (115,620 bytes)
config.php (2,403 bytes)
Bug heat4
Complete LimeSurvey version number (& build)120510
I will donate to the project if issue is resolvedNo
Browserfirefox 12
Database type & versionms sql server 2012 express
Server OS (if known)win 7 sp1
Webserver software & version (if known)iis 7.5
PHP Version5.4.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-05-22 17:48

administrator   ~18882

Can you attach your config.php please? Please remove the database password from it first.

user19960

2012-05-22 19:31

  ~18883

Of course. I have uploaded the config.php from inetpub\wwwroot\limesurvey\application\config\

user19960

2012-05-22 19:38

  ~18884

By the way ... populate fails on my computer even if the database server is mssql, mysql or postgreSql (all windows versions with IIS 7.5). I will try to install lime again with all the 3 database engines and see if all crash in the same way.

user19960

2012-05-23 10:16

  ~18887

The bad part:
I have tested with IIS 7.5 + PHP 5.4.3 + mySql and the result is the same - crash at database populate (i haven't have time to retest on posgreSql but as i recall the result is the same: database creation is successful but populate fails).

The good part:
I have tested on another machine with IIS 7 + PHP 5.3.13 + msSql server 2008 and the install works :)

c_schmitz

c_schmitz

2012-05-28 13:33

administrator   ~18938

Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8556

c_schmitz

c_schmitz

2012-05-28 15:12

administrator   ~18946

Version 2.00RC2 released.

Related Changesets

LimeSurvey: Yii 99db3704

2012-05-28 04:31:17

c_schmitz

Details Diff
Fixed issue 06126: Install fails with certain PHP versions after the database was populated Affected Issues
06126
mod - application/views/installer/optconfig_view.php Diff File

Issue History

Date Modified Username Field Change
2012-05-22 16:26 user19960 New Issue
2012-05-22 16:26 user19960 File Added: php info + error desc.zip
2012-05-22 17:48 c_schmitz Note Added: 18882
2012-05-22 17:48 c_schmitz Assigned To => c_schmitz
2012-05-22 17:48 c_schmitz Status new => feedback
2012-05-22 19:30 user19960 File Added: config.php
2012-05-22 19:31 user19960 Note Added: 18883
2012-05-22 19:31 user19960 Status feedback => assigned
2012-05-22 19:38 user19960 Note Added: 18884
2012-05-23 10:16 user19960 Note Added: 18887
2012-05-25 08:30 user19960 Issue Monitored: user19960
2012-05-28 13:31 c_schmitz Status assigned => resolved
2012-05-28 13:31 c_schmitz Fixed in Version => 2.00RC2
2012-05-28 13:31 c_schmitz Resolution open => fixed
2012-05-28 13:33 c_schmitz Changeset attached => LimeSurvey Yii 99db3704
2012-05-28 13:33 c_schmitz Note Added: 18938
2012-05-28 15:12 c_schmitz Note Added: 18946
2012-05-28 15:12 c_schmitz Status resolved => closed