View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
11203Bug reportsResponse browsingpublic2016-05-18 08:44
Reporterwimpie3 Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionduplicate 
Product Version2.50.x 
Fixed in Version2.50.x 
Summary11203: PHP errors in JSON response
Description

List of responses not always showing (screen shows LOADING but no responses are displayed on the screen while there ARE responses in the database). This happens on only one of my forms, the rest works fine.

Steps To Reproduce

Opening http://xxx.xxx.xxx.xxx/index.php?r=admin/responses&sa=getResponses_json&surveyid=293457&browselang=fr

returns the following error:

<br />
<b>Notice</b>: Undefined property: stdClass::$title in <b>C:\inetpub\wwwroot\forms\application\helpers\common_helper.php</b> on line <b>1563</b><br />
<br />
<b>Notice</b>: Undefined property: stdClass::$comment in <b>C:\inetpub\wwwroot\forms\application\helpers\common_helper.php</b> on line <b>1564</b><br />
<br />
<b>Notice</b>: Undefined index: title in <b>C:\inetpub\wwwroot\forms\application\controllers\admin\responses.php</b> on line <b>870</b><br />
<br />
<b>Notice</b>: Undefined index: comment in <b>C:\inetpub\wwwroot\forms\application\controllers\admin\responses.php</b> on line <b>871</b><br />
<br />
<b>Notice</b>: Undefined property: stdClass::$title in <b>C:\inetpub\wwwroot\forms\application\helpers\common_helper.php</b> on line <b>1563</b><br />
<br />
<b>Notice</b>: Undefined property: stdClass::$comment in <b>C:\inetpub\wwwroot\forms\application\helpers\common_helper.php</b> on line <b>1564</b><br />
<br />
<b>Notice</b>: Undefined index: title in <b>C:\inetpub\wwwroot\forms\application\controllers\admin\responses.php</b> on line <b>870</b><br />
<br />
<b>Notice</b>: Undefined index: comment in <b>C:\inetpub\wwwroot\forms\application\controllers\admin\responses.php</b> on line <b>871</b><br />

followed by the correct JSON response. Because of the wrong format, Limesurvey does not show the JSON response on the screen.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)160516
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL
Server OS (if known)Windows 2013
Webserver software & version (if known)IIS
PHP Version-

Relationships

duplicate of 11144 closedollehar Response View - Title/Colums shifted 

Users monitoring this issue

There are no users monitoring this issue.

Activities

wimpie3

wimpie3

2016-05-18 08:38

reporter   ~38657

This is not a duplicate. The duplicate issue talks about shifted columns in the layout, a VISUAL problem. This issue reports a bug where the JSON interface returns an ERROR in the response stream.

c_schmitz

c_schmitz

2016-05-18 08:44

administrator   ~38658

If you deactivate your debug mode and/or server notices then you will see the same behaviour as described in the other bug.

It is a duplicate because it originates from the same bug.

Issue History

Date Modified Username Field Change
2016-05-17 15:22 wimpie3 New Issue
2016-05-17 15:40 c_schmitz Relationship added duplicate of 11144
2016-05-17 15:40 c_schmitz Status new => closed
2016-05-17 15:40 c_schmitz Assigned To => c_schmitz
2016-05-17 15:40 c_schmitz Resolution open => duplicate
2016-05-17 15:40 c_schmitz Fixed in Version => 2.5
2016-05-18 08:38 wimpie3 Note Added: 38657
2016-05-18 08:38 wimpie3 Status closed => feedback
2016-05-18 08:38 wimpie3 Resolution duplicate => reopened
2016-05-18 08:44 c_schmitz Note Added: 38658
2016-05-18 08:44 c_schmitz Status feedback => closed
2016-05-18 08:44 c_schmitz Resolution reopened => duplicate