Page 1 of 3

Cant upload files with Upload plugin

Posted: Mon Jan 25, 2016 5:39 am
by Deon

Hi

I use the file upload button all the time without a problem. On this app I am busy with no it does not work.

I have double checked my fileupload settings service. Db_Id and masterkey is 100% correct.

The camera works fine but as soon as I upload i get this error.

An error has occured: Code = 1 + Upload error source file:///storage/emulated/0/Android/data/appery.io.tester/cache/1444454.jpg upload err target https://api.appery.io/rest/1/db/files


Cant upload files with Upload plugin

Posted: Mon Jan 25, 2016 8:48 am
by Illya Stepanov

Hi Deon -

What exact Upload plugin implementation are you using, could you please specify the link to a sample?

Are you testing this on a device? If yes, we need more info about device and platform version.


Cant upload files with Upload plugin

Posted: Mon Jan 25, 2016 12:50 pm
by Deon

Hi Illya

it is your standard "Upload file to database" plugin available in your catelog of Appery.io plugins. I am using the Cordova Fileupload option.

I have now created a new page and it is working 100% on that page in the same app but it will not work on the page I need it to work on. It seems that there is a problem with the page itself causing this failure. Some form of corruption?

I am Testing on both Android and IOS. It seems the error is generated by the fileuploadhelp.js file.


Cant upload files with Upload plugin

Posted: Mon Jan 25, 2016 5:34 pm
by Serhii Kulibaba

Please run this app on the device directly (as a native app) and enable weinre for that. After that please check weinre console for errors.


Cant upload files with Upload plugin

Posted: Tue Jan 26, 2016 2:34 am
by Deon

No errors.

What is strange is that the page that is shipped with the plugin works fine.
I have created a new test page and compared with the cordova upload page and cannot see the difference at all.The cordova upload page that gets installed when installing the plugin works fine but my test page does not.

I use the same services exact same mappings. I changed DestinationType in the camera service to FileURI but still fails.

This is so weird.


Cant upload files with Upload plugin

Posted: Fri Jan 29, 2016 8:42 pm
by Serhii Kulibaba

Please share (http://devcenter.appery.io/documentat...) your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and provide us with the following information:

1) App name
2) Test credentials if login functionality is implemented in your app
3) Detailed steps to reproduce the issue


Cant upload files with Upload plugin

Posted: Tue Feb 02, 2016 9:18 am
by Deon

Hi

It is shared with support

  1. App Name: sendEDDY
  2. No credentials required
  3. You will land on the Cordova Upload Page. (your plugin) This works fine.
    a. Click the button called Details at the top of page.
    b. Scroll down and click the Camera Icon.
    c. take a photo
    d. Click the Submit button in footer to submit. (You can enter other data if you want.) This does not have an effect on the upload of the image.

Cant upload files with Upload plugin

Posted: Wed Feb 03, 2016 7:28 am
by Deon

Any news, please.


Cant upload files with Upload plugin

Posted: Thu Feb 04, 2016 10:35 am
by Serhii Kulibaba

Please use "webupload" page for uploading files from the browser and "cordovaupload" - for uploading files from mobile device. It works fine on our PCs


Cant upload files with Upload plugin

Posted: Fri Feb 05, 2016 6:43 am
by Deon

Hi Segiy

That is NOT a solution to what is clearly a BUG. Please read the problem clearly. I am tired of having to repeat myself.