openphoto/mobile-android — Issue #37: Auto upload not sending photo data
Author: jmathai
Created: 2012-03-02 06:58:18+00:00
State: open
Labels: Release 1.4

When auto upload is enabled and a photo is taken with the native camera app it processes the upload. However, there's an error on the backend and dumping out the `$_FILES` array shows that the file isn't being sent properly. I believe this is a problem with the app since uploading from within the app works okay.

array (\n 'photo' => \n array (\n 'name' => 'IMAG0345.jpg',\n 'type' => '',\n 'tmp_name' => '',\n 'error' => 3,\n 'size' => 0,\n )

Per the PHP documentation error no. 3 is a partial file upload.

http://php.net/manual/en/features.file-upload.errors.php
UPLOAD_ERR_PARTIAL
Value: 3; The uploaded file was only partially uploaded.