View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
08627 | Bug reports | Installation | public | 2014-01-29 23:19 | 2014-02-27 12:07 |
Reporter | adolfocorreia | Assigned To | c_schmitz | ||
Priority | high | Severity | block | ||
Status | closed | Resolution | unable to reproduce | ||
Product Version | 2.05+ | ||||
Summary | 08627: Installation crashes on Optional settings page | ||||
Description | When running the installation procedure I get the following error when I click "Next" in the "Optional settings" screen (/index.php?r=installer/optional): Could not add optional settings: exception 'CDbException' with message 'The table "{{users}}" for active record class "User" cannot be found in the database.' in E:\Aplicacoes\LimeSurvey\site\framework\db\ar\CActiveRecord.php:2362 The installation procedure is not completed. After this error, when I try to access the application (at http://mydomain.com/limesurvey) I get the error: The table "{{settings_global}}" for active record class "SettingGlobal" cannot be found in the database. And if I try to run the installation procedure again I get the same error as above. I am using Windows Server 2008 R2, IIS 7.5, PHP 5.4.24 and SQL Server 2008 R2. LimeSurvey version: 205plus-build140125. I managed to install the application in version 192plus-build120919, though. Even though the message say that it could not find the table "{{users}}", there is a table "lime_users" in the database. | ||||
Steps To Reproduce | Click "Next" in the Optional settings page during installation. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 16 | ||||
Complete LimeSurvey version number (& build) | build140125 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Internet Explorer 8 | ||||
Database type & version | SQL Server 2008 R2 | ||||
Server OS (if known) | Windows Server 2008 R2 | ||||
Webserver software & version (if known) | IIS 7.5 | ||||
PHP Version | 5.4.24 | ||||
The table "lime_settings_global" also exists in the database. |
|
{{settings_global}} is an alias for lime_settings_global If you say it exists then it would not error out as missing. I think you are mistakenly using the wrong database. |
|
This error happened when I was performing a new installation. The database was clean (no tables) in the beginning. It managed to create all the tables during installation, but in the last step it was not able to find the tables it had just created. When I try to access the application afterwards, it still cannot find the tables. Maybe it is writing the database configuration in the wrong place? |
|
I checked the file /application/config/config.php and the database settings are there. |
|
Maybe a permission issue? Did you login with the particular DB user and checked if the user can see the tables? |
|
The DBA team only gave me one database user, which I used to check if the tables were created on the database. This user has full permissions on the database (including create and drop tables, select etc.). Furthermore, I managed to install LimeSurvey v1.92 using the same machine (Windows Server 2008 R2, IIS 7.5 and PHP 5.4.24) and setup (same IIS web app, same database user and config etc.). |
|
What DB driver is set in config.php in the ConnectionString? I assume sqlsrv? |
|
I am sorry but I cannot reproduce this here using the same configuration. I can only assume it is some server issue. Without having direct access to this system it is impossible for me to tell what's going on. Maybe your database driver is outdated or something. Anyway, I am sure it is not a bug in LimeSurvey. |
|
This may be a database driver problem indeed. Following the installation instructions, I used the driver php_pdo_sqlsrv_54_nts.dll with LS v2.05. Later, when installing LS v1.92, I had to change to the driver php_sqlsrv_54_nts.dll (no PDO). I am not sure, but I think v1.92 is not compatible with the PDO driver. I will try the installation again using different drivers. In the meantime, can you confirm if version 2.05 requires the use of a PDO compatible SQL Server driver? |
|
In v2.05 the connectionString begins with "sqlsrv:" as you assumed. In v1.92 the $databasetype parameter in config.php is 'mssqlnative'. |
|
Yes, LimeSurvey 2.05 needs the PDO driver - I am running the same driver here, works just fine (though I am using php_pdo_sqlsrv_54_ts.dll here). |
|
Version 2.05+ Build 140204 released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2014-01-29 23:19 | adolfocorreia | New Issue | |
2014-01-29 23:19 | adolfocorreia | File Added: bugReport.zip | |
2014-01-29 23:24 | adolfocorreia | Note Added: 28266 | |
2014-01-29 23:25 | adolfocorreia | Issue Monitored: adolfocorreia | |
2014-01-31 13:51 | c_schmitz | Note Added: 28315 | |
2014-01-31 13:51 | c_schmitz | Assigned To | => c_schmitz |
2014-01-31 13:51 | c_schmitz | Status | new => feedback |
2014-01-31 14:47 | adolfocorreia | Note Added: 28324 | |
2014-01-31 14:47 | adolfocorreia | Status | feedback => assigned |
2014-01-31 14:52 | adolfocorreia | Note Added: 28325 | |
2014-01-31 15:19 | c_schmitz | Note Added: 28327 | |
2014-01-31 15:52 | adolfocorreia | Note Added: 28330 | |
2014-02-02 22:50 | c_schmitz | Note Added: 28410 | |
2014-02-03 09:51 | c_schmitz | Note Added: 28428 | |
2014-02-03 09:51 | c_schmitz | Status | assigned => closed |
2014-02-03 09:51 | c_schmitz | Resolution | open => unable to reproduce |
2014-02-03 15:30 | adolfocorreia | Note Added: 28446 | |
2014-02-03 15:30 | adolfocorreia | Status | closed => feedback |
2014-02-03 15:30 | adolfocorreia | Resolution | unable to reproduce => reopened |
2014-02-03 15:35 | adolfocorreia | Note Added: 28447 | |
2014-02-03 15:35 | adolfocorreia | Status | feedback => assigned |
2014-02-03 16:07 | c_schmitz | Note Added: 28451 | |
2014-02-03 16:07 | c_schmitz | Status | assigned => resolved |
2014-02-03 16:07 | c_schmitz | Resolution | reopened => unable to reproduce |
2014-02-04 13:32 | c_schmitz | Note Added: 28497 | |
2014-02-04 13:32 | c_schmitz | Status | resolved => closed |
2014-02-27 12:07 | c_schmitz | Relationship added | has duplicate 08778 |
2021-08-02 23:20 | guest | Bug heat | 12 => 16 |