View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
18393 | Bug reports | Survey editing | public | 2022-10-03 19:56 | 2022-10-04 16:06 |
Reporter | mhladun | Assigned To | gabrieljenik | ||
Priority | high | Severity | block | ||
Status | closed | Resolution | no change required | ||
Product Version | 5.3.x | ||||
Summary | 18393: Clicking "switch to closed-access mode" on a new survey creates an error when previewing or running the survey | ||||
Description | I originally didn't know the cause of this bug, and filed a misleading issue here: https://bugs.limesurvey.org/view.php?id=18389. The error being raised is the same. From what I can tell, this isn't an issue with any of the surveys using closed-access mode already. Only survey that are being created now. 2022/10/03 17:30:11 [error] [system.db.CDbCommand] CDbCommand::fetch() failed: SQLSTATE[HY000]: General error: 7 message contents do not agree with length in message type "N" | ||||
Steps To Reproduce | Steps to reproduceCreate a new survey Expected resultThe survey runs with no errors. Actual resultThe error, shown in my uploaded screenshot, is raised. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 5.3.32 build 220817 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome | ||||
Database type & version | PostgreSQL 12.9 (EnterpriseDB Advanced Server 12.9.13) on x86_64-pc-linux-gnu, compiled by gcc (SUSE Linux) 4.8.5, 64-bit | ||||
Server OS (if known) | CentOS Linux 8 | ||||
Webserver software & version (if known) | Apache/2.4.37 (centos) OpenSSL/1.1.1k | ||||
PHP Version | 8.0.22 | ||||
related to | 18389 | closed | gabrieljenik | Previewing a survey leads to a SQL error. |
I will test this on 5.4.3 - 220926 |
|
On my test instance running version 5.3.30 build 220808, I am not prompted with "Survey participants have not been initialized for this survey..." and do not receive an error when I go to preview a new survey |
|
This is happening after updating to 5.4.3 as well. Our system configuration: It is after I create a participants table that an error is raised why running a new survey.
The logged error: |
|
Switching to open-access mode allows me to run the survey. |
|
Can you please check config-defaults.php, around line 64. Also, how's that setting in the DB (or the global settings screen)? Thanks |
|
This was the cause of the problem. config-defaults.php hadn't been updated, so there was no |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-10-03 19:56 | mhladun | New Issue | |
2022-10-03 19:56 | mhladun | File Added: Screenshot 2022-10-03 135029.png | |
2022-10-03 20:02 | mhladun | Note Added: 72049 | |
2022-10-03 20:02 | mhladun | Bug heat | 0 => 2 |
2022-10-03 20:09 | mhladun | Note Added: 72050 | |
2022-10-03 21:10 | mhladun | Note Added: 72051 | |
2022-10-03 21:12 | mhladun | Note Added: 72053 | |
2022-10-04 11:16 | ollehar | Priority | none => high |
2022-10-04 14:25 | gabrieljenik | Relationship added | related to 18389 |
2022-10-04 14:28 | gabrieljenik | Note Added: 72072 | |
2022-10-04 14:28 | gabrieljenik | Bug heat | 2 => 4 |
2022-10-04 14:28 | gabrieljenik | Status | new => acknowledged |
2022-10-04 14:30 | gabrieljenik | Note Edited: 72072 | |
2022-10-04 15:41 | mhladun | Note Added: 72091 | |
2022-10-04 16:06 | gabrieljenik | Assigned To | => gabrieljenik |
2022-10-04 16:06 | gabrieljenik | Status | acknowledged => closed |
2022-10-04 16:06 | gabrieljenik | Resolution | open => no change required |