View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
08622 | Bug reports | Installation | public | 2014-01-29 10:12 | 2014-02-04 13:32 |
Reporter | dkep | Assigned To | c_schmitz | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.05+ | ||||
Fixed in Version | 2.05+ | ||||
Summary | 08622: Inputs for username and password not appearing in login mask | ||||
Description | After a clean install of Limesurvey 2.05+, the login screen displays without input fields for username and password. The database log says 2014-01-28 20:31:53 CET ERROR: invalid input syntax for integer: "t" at character 48 This issue seems to be related to ~08614 and ~08606. I think the problem is git commit cb2bf2e "Fixed issue 08519: Error during upgrade vom 2.00 to 2.05 using PostgreSQL It actually made the bug appear that should have been solved. While looking through the plugin code, I noticed inconsistencies with the "active" column in the plugin table. Sometimes it it is treated as boolean and sometimes it is treated as integer (0/1). PHP doesn't really differentiated between those two but it seems that Yii/PDO (at least for pdo_pgsql) mixes them up and thus causing problems. For me the issue was resolved by reverting commit cb2bf2e, but that is only a work around and it probably will reopen issue ~8519. | ||||
Steps To Reproduce | 1) Clean install Limesurvey 2.05+ | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 0048972 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | Postgresql 9.2.4 | ||||
Server OS (if known) | Debian 6.0.8 | ||||
Webserver software & version (if known) | lighttpd 1.5 SVN | ||||
PHP Version | 5.4.15 | ||||
This should be fixed in the latest release 2.05+ build 140131 |
|
I still can't see the username/password input on the admin login screen. The problem is in application/library/PluginManager/PluginManager.php:296 The plugin manager tries to load all active plugins with "findAllByAttributes(array('active'=>true));". But this query doesn't work for PostgreSQL. When I change it to "findAllByAttributes(array('active'=>1));", everything works as expected (but I don't know if it breaks other DBMSs) |
|
You are right. thank you! |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=13836 |
|
Version 2.05+ Build 140204 released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2014-01-29 10:12 | dkep | New Issue | |
2014-02-03 16:24 | c_schmitz | Note Added: 28455 | |
2014-02-03 16:24 | c_schmitz | Assigned To | => c_schmitz |
2014-02-03 16:24 | c_schmitz | Status | new => feedback |
2014-02-03 16:24 | c_schmitz | Note Edited: 28455 | |
2014-02-04 11:57 | dkep | Note Added: 28478 | |
2014-02-04 11:57 | dkep | Status | feedback => assigned |
2014-02-04 12:06 | c_schmitz | Note Added: 28479 | |
2014-02-04 12:07 | c_schmitz | Status | assigned => resolved |
2014-02-04 12:07 | c_schmitz | Fixed in Version | => 2.05+ |
2014-02-04 12:07 | c_schmitz | Resolution | open => fixed |
2014-02-04 12:07 | c_schmitz | Changeset attached | => LimeSurvey master f81409af |
2014-02-04 12:07 | c_schmitz | Note Added: 28481 | |
2014-02-04 13:32 | c_schmitz | Note Added: 28492 | |
2014-02-04 13:32 | c_schmitz | Status | resolved => closed |