View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
09059Bug reportsRemoteControlpublic2014-09-08 21:18
Reporterrgrela Assigned Toc_schmitz  
PrioritynormalSeverityblock 
Status closedResolutionunable to reproduce 
Product Version2.05+ 
Summary09059: We get "Internal Server Error" with export_responses and list_participants API
Description

We get errors with remote api in the new version 2.05+.
The remote api was working correctly in version 2.00.

Steps To Reproduce

For example:
We get error to export_responses with this code:

$sid = 34798;
$sDocumentType = 'pdf';
$sLanguageCode='es';
$sCompletionStatus='all';
$sHeadingType='full';
$sResponseType='long';
$iFromResponseID=null;
$iToResponseID=null;
$aFields=null;
$result = $client->call('export_responses', array($sessionkey,$sid,$sDocumentType,$sLanguageCode,$sCompletionStatus,$sHeadingType,$sResponseType));

The error:
10.50.31.180 - - [27/May/2014:18:18:51 +0200] "POST /index.php/admin/remotecontrol HTTP/1.1" 500 27793 "-" "Zend_XmlRpc_Client"

And the external application show for example:
Fatal error: Uncaught exception 'Zend_XmlRpc_Client_HttpException' with message 'Internal Server Error' in C:\trabajo\lamp\pruebaslimesurvey\Zend\XmlRpc\Client.php:288 Stack trace: #0 C:\trabajo\lamp\pruebaslimesurvey\Zend\XmlRpc\Client.php(372): Zend_XmlRpc_Client->doRequest(Object(Zend_XmlRpc_Request)) #1 C:\trabajo\lamp\pruebaslimesurvey\zend_desarrollo.php(35): Zend_XmlRpc_Client->call('export_response...', Array) #2 {main} thrown in C:\trabajo\lamp\pruebaslimesurvey\Zend\XmlRpc\Client.php on line 288

Or with this code:
$sid = 34798;
$result = $client->call('export_responses', array($sessionkey,$sid,'csv'));

Or with this code:
$result = $client->call('list_participants', array($sessionkey,34798,0,10,false,false));

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)Versión 2.05+ Build 140520
I will donate to the project if issue is resolvedNo
Browserwith java aplicattion or php aplication with json or zend framework
Database type & versionmysql
Server OS (if known)suse linux
Webserver software & version (if known)apache 2.2.12
PHP Version 5.3.17

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2014-07-24 12:53

administrator   ~30339

I cannot reproduce this at all. In all cases I get proper data back. Please update to the latest version and check again.

If you still have problems activate debug mode in LimeSurvey (config.php) and on your XML-RPC client and see if you get a more detailed error.

Please report back - thank you.

c_schmitz

c_schmitz

2014-09-08 21:18

administrator   ~30495

Closed due to missing feedback.

Issue History

Date Modified Username Field Change
2014-05-28 13:15 rgrela New Issue
2014-07-24 11:09 c_schmitz Assigned To => c_schmitz
2014-07-24 11:09 c_schmitz Status new => assigned
2014-07-24 12:53 c_schmitz Note Added: 30339
2014-07-24 12:53 c_schmitz Status assigned => feedback
2014-09-08 21:18 c_schmitz Note Added: 30495
2014-09-08 21:18 c_schmitz Status feedback => closed
2014-09-08 21:18 c_schmitz Resolution open => unable to reproduce