View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 04734 | Bug reports | Installation | public | 2010-11-11 16:16 | 2010-11-17 01:03 |
| Reporter | Assigned To | c_schmitz | |||
| Priority | low | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 1.90+ | ||||
| Fixed in Version | 1.90+ | ||||
| Summary | 04734: Integrity Check fails on PostgreSQL | ||||
| Description | When running 1.90+ on PostgreSQL, the Data Integrity Check will just produce "Couldn't get list of conditions from database" along with the SQL Error. This is caused because PostgreSQL doesn't know the "SHOW TABLES" | ||||
| Steps To Reproduce | Install LimeSurvey on PostgreSQL and try running the data integrity check. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 10 | ||||
| Complete LimeSurvey version number (& build) | 9459 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Firefox 4b6 | ||||
| Database type & version | PostgreSQL 8.4.2 | ||||
| Server OS (if known) | Gentoo 4.3.4p1.0 | ||||
| Webserver software & version (if known) | Apache2 | ||||
| PHP Version | 5.3.3-pl1-gentoo | ||||
|
Solution#1 (works for me): $sQuery = "select * from information_schema.tables where tableschema like '{$dbprefix}survey\%' and table_type='BASE TABLE'"; AND (further down) $sQuery = "select * from information_schema.tables where tableschema like '{$dbprefix}tokens\%' and table_type='BASE TABLE'"; whenever the database type is set to strtolower('postgresql') in config. |
|
|
Fixed in rev. 9477 |
|
|
Fix released in latest 1.90+ version. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-11-11 16:16 |
|
New Issue | |
| 2010-11-11 16:21 |
|
Note Added: 13503 | |
| 2010-11-12 01:56 | c_schmitz | Priority | high => low |
| 2010-11-12 22:32 | c_schmitz | Assigned To | => c_schmitz |
| 2010-11-12 22:32 | c_schmitz | Status | new => assigned |
| 2010-11-12 23:38 | c_schmitz | Note Added: 13515 | |
| 2010-11-12 23:38 | c_schmitz | Status | assigned => resolved |
| 2010-11-12 23:38 | c_schmitz | Fixed in Version | => 1.90+ |
| 2010-11-12 23:38 | c_schmitz | Resolution | open => fixed |
| 2010-11-14 18:24 | c_schmitz | Relationship added | has duplicate 04738 |
| 2010-11-17 01:03 | c_schmitz | Note Added: 13542 | |
| 2010-11-17 01:03 | c_schmitz | Status | resolved => closed |