Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

File upload with Remote API

  • programmino
  • programmino's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 2 weeks ago #166565 by programmino
File upload with Remote API was created 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
Stefano
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose