File upload with Remote API

More
6 months 2 weeks ago #166565 by programmino
programmino created the topic: File upload with Remote API
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
Stefano

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

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!