File upload with Remote API

1 year 1 month ago #166565 by programmino
Hello everybody,
I'm implementing a client via the Remote Control API, but I have a problem with the upload_file function which always return a http error 500 from the server.

More precisely, the error is this:
Unexpected character while parsing value: C. Path '', line 0, position 0.

The point where it goes in error is:

$aFieldMap = createFieldMap ($iSurveyID, 'short', false, false, Yii :: app () -> getConfig ('defaultlang')); (Remotecontrol_handle.php)

$prow = $survey-> getAttributes (); (Common_helper.php)

The attributes array is empty.

Can anyone help me

Thank you

Please Log in or Create an account to join the conversation.

LimeSurvey Partners

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!