View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
10331Bug reportsInstallationpublic2016-02-10 21:02
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.50.x 
Fixed in Version2.50.x 
Summary10331: WHen installing : DB error don't show whole information
Description

When installing with IIS and pdo_sqlsrv : this can show "Unable to connect with DB" even is all is OK.
This can happen if Microsoft ODBC Driver 11 for SQL Server is not installed. ANd only another script can show it

Steps To Reproduce

1: find a IIS server with pdo_sqlsrv without "icrosoft ODBC Driver 11 for SQL Server"
2: try to install

Maybe clean system with another issue show better error too.

Additional Information

I'm sure othe DB can have other issue and show better information too.

See: http://stackoverflow.com/tags/pdo/info

DO NOT use the try..catch operator just to handle an error message. Uncaught exceptions are already excellent for this purpose, ....

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)160207
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2016-02-07 13:55

developer   ~34678

Test with mysql + error in user pass.

DenisChenu

DenisChenu

2016-02-07 14:00

developer   ~34679

https://github.com/LimeSurvey/LimeSurvey/pull/433

DenisChenu

DenisChenu

2016-02-07 15:30

developer   ~34680

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

c_schmitz

c_schmitz

2016-02-10 21:02

administrator   ~34855

2.5 Build 160210 released

Related Changesets

LimeSurvey: master 82fafc14

2016-02-07 12:58:46

DenisChenu

Details Diff
Fixed issue 10331: When installing : DB error don't show whole information
Dev: Yii always return'CDbConnection failed to open the DB connection.' increatePdoInstance
Dev: adding quicly a new dbTest
Dev: this must be done only when installing (public user don't have to see exact error)
Affected Issues
10331
mod - application/controllers/InstallerController.php Diff File

Issue History

Date Modified Username Field Change
2016-02-07 12:20 DenisChenu New Issue
2016-02-07 12:20 DenisChenu Status new => assigned
2016-02-07 12:20 DenisChenu Assigned To => DenisChenu
2016-02-07 13:55 DenisChenu Database & DB-Version mssql (and other ?) => not relevant
2016-02-07 13:55 DenisChenu Operating System (Server) IIS => not relevant
2016-02-07 13:55 DenisChenu Webserver software & version IIS => not relevant
2016-02-07 13:55 DenisChenu PHP Version 5.6 => not relevant
2016-02-07 13:55 DenisChenu Note Added: 34678
2016-02-07 14:00 DenisChenu Note Added: 34679
2016-02-07 15:30 DenisChenu Changeset attached => LimeSurvey master 82fafc14
2016-02-07 15:30 DenisChenu Note Added: 34680
2016-02-07 15:30 DenisChenu Resolution open => fixed
2016-02-07 15:45 DenisChenu Status assigned => resolved
2016-02-07 15:45 DenisChenu Fixed in Version => 2.5
2016-02-10 21:02 c_schmitz Note Added: 34855
2016-02-10 21:02 c_schmitz Status resolved => closed