View Issue Details

This bug affects 1 person(s).
 12
IDProjectCategoryView StatusLast Update
08834Bug reportsImport/Exportpublic2014-03-11 12:01
Reporterhvalentim Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionunable to reproduce 
Product Version2.05+ 
Summary08834: "The CSRF token could not be verified" while adding long List (Dropdown) question
Description

While trying to add a List (Dropdown)question featuring 256 options (country names) I get the following error:
"Bad Request
The CSRF token could not be verified.
The request could not be understood by the server due to malformed syntax. Please do not repeat the request without modifications.
If you think this is a server error, please contact the webmaster.
2014-03-10 15:27:17 Apache/2.2.22 (Ubuntu) Yii Framework/1.1.14"

In error.log this shows up:
"[Mon Mar 10 14:27:17 2014] [error] [client 81.84.227.238] FastCGI: server "/usr/lib/cgi-bin/php5-fcgi" stderr: PHP message: PHP Notice: ob_clean(): failed to delete buffer zlib output compression in /srv/www/domain.com/public_html/site/framework/base/CErrorHandler.php on line 110, referer: https://domain.com/site/index.php/admin/questions/sa/answeroptions/surveyid/919215/gid/1/qid/1111"

Steps To Reproduce

This happens both:
1) If you try to fill fresh values
2) If you try to import from available label set (it is populated but error above is shown when you try to save)
3) If you export from 2.05+ an working identical questions sucefully created in LS 2.0 prior to upgrade and try to import it

Additional Information

I am attaching a sample problematic question and label set.

TagsNo tags attached.
Attached Files
problem.zip (14,867 bytes)
Bug heat12
Complete LimeSurvey version number (& build)2.05+ Build 140302
I will donate to the project if issue is resolvedNo
BrowserChrome, Firefox
Database type & versionMySQL version 5.5.35
Server OS (if known)Ubuntu 12.04 64bits
Webserver software & version (if known)Apache 2.2.22
PHP Version5.3.10-1ubuntu3.10

Relationships

related to 08100 closedmfaber Cannot add more than 330 answer options (CRSF error) 
has duplicate 08836 closedc_schmitz Bad Request The CSRF token could not be verified. 

Users monitoring this issue

fecae

Activities

hvalentim

hvalentim

2014-03-10 15:50

reporter   ~29164

BTW, this error shows up while trying to import the saved question:

PHP warning

simplexml_load_string(): Entity: line 4689: parser error : Extra content at the end of the document

c_schmitz

c_schmitz

2014-03-11 11:59

administrator   ~29184

This usually happens if your webserver is configured with certain limits.
Check out https://manual.limesurvey.org/Troubleshooting#After_submitting_a_page_you_end_up_at_the_general_index_page_or_you_get_the_message_.27The_CSRF_token_could_not_be_verified.27

If you have further questions please use the forums.

Issue History

Date Modified Username Field Change
2014-03-10 15:42 hvalentim New Issue
2014-03-10 15:42 hvalentim File Added: problem.zip
2014-03-10 15:50 hvalentim Note Added: 29164
2014-03-10 16:58 mfaber Relationship added related to 08100
2014-03-10 18:35 fecae Issue Monitored: fecae
2014-03-11 11:59 c_schmitz Note Added: 29184
2014-03-11 11:59 c_schmitz Status new => closed
2014-03-11 11:59 c_schmitz Assigned To => c_schmitz
2014-03-11 11:59 c_schmitz Resolution open => unable to reproduce
2014-03-11 12:01 c_schmitz Relationship added has duplicate 08836