View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 06217 | Bug reports | Other | public | 2012-06-14 15:56 | 2012-06-22 09:45 |
| Reporter | Assigned To | c_schmitz | |||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | won't fix | ||
| Product Version | 1.92RC2 | ||||
| Summary | 06217: LimeSurvey Installation fails when database doesn’t exist | ||||
| Description | The following error is given on the installation page when no LimeSurevey database has been created: The problem exists within part of the installation process where it tries to check if the database exits before trying to create one. Normal the logic works correctly for non MS SQL database types, where it tries to connect to the database with the database name. If that fails it tries again without specify the database name to confirm a connection can at least be established. However for ODBC MS SQL connections the database name is specified in the JDBC URL: The logic within the ADOdb class is slightly different when it runs the connect command. Currently the connect command without the database name parameter is the same as the connect command with it. Because there is no change between the two connect commands the second command will fail just like the first command. This bug has since been reported to ADOdb here: With the fix now released in the latest version: I suggest Limesurevey update the ADOdb class to the latest version then change one line in the common.php file: By removing the Database Name from the JDBC URL: The ODBC MS SQL then behaves correctly like the other database types. | ||||
| Steps To Reproduce | Fresh install without first creating the LimeSurvey database in a MS SQL 2000 Database. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 2 | ||||
| Complete LimeSurvey version number (& build) | 120613 | ||||
| I will donate to the project if issue is resolved | |||||
| Browser | |||||
| Database type & version | |||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | |||||
| Git branch / Pull Request URL | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-06-14 15:56 |
|
New Issue | |
| 2012-06-14 17:08 |
|
Issue Monitored: user20391 | |
| 2012-06-21 13:28 | c_schmitz | Project | @2@ => Bug reports |
| 2012-06-21 13:28 | c_schmitz | Category | Installation => Other issues |
| 2012-06-22 09:45 | c_schmitz | Note Added: 19453 | |
| 2012-06-22 09:45 | c_schmitz | Status | new => closed |
| 2012-06-22 09:45 | c_schmitz | Assigned To | => c_schmitz |
| 2012-06-22 09:45 | c_schmitz | Resolution | open => won't fix |