Hwoskar Rentas Vélez
Posts: 0
Joined: Mon Oct 21, 2013 6:19 pm

Uploading files to Appery.io Database Tutorial Problem

Hi Alena

I replace the code I have with this one and I still having the same problem, when I click the select file to upload button the browser don't open

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Uploading files to Appery.io Database Tutorial Problem

Hi,

Please post this code on tab HTML Source (see the image)

Image

Hwoskar Rentas Vélez
Posts: 0
Joined: Mon Oct 21, 2013 6:19 pm

Uploading files to Appery.io Database Tutorial Problem

Hi Alena
I post the code and now the app is running very well, but now I'm having problem when I try to see the photos file on the database. If you could help me with that.

Thanks

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Uploading files to Appery.io Database Tutorial Problem

Hi Hwoskar,

What is the issue?

Hwoskar Rentas Vélez
Posts: 0
Joined: Mon Oct 21, 2013 6:19 pm

Uploading files to Appery.io Database Tutorial Problem

I test the app and click the upload button, but when I verify the Files Data collection on the DB is empty.

Hwoskar Rentas Vélez
Posts: 0
Joined: Mon Oct 21, 2013 6:19 pm

Uploading files to Appery.io Database Tutorial Problem

I share the app with appery.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Uploading files to Appery.io Database Tutorial Problem

Hwoskar,

Please give us credentials for app login.

Hwoskar Rentas Vélez
Posts: 0
Joined: Mon Oct 21, 2013 6:19 pm

Uploading files to Appery.io Database Tutorial Problem

Username: Hwoskar
Password: 1234

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Uploading files to Appery.io Database Tutorial Problem

Hi Hwoskar,

You would need to change a file Upload.js :

1) ReplacepreserverUrl = 'https://api.appery.io/rest/1/db/files/+ file.name'/preWithpreserverUrl = 'https://api.appery.io/rest/1/db/files/' + file.name/pre
2) Replace preFileDB_settings['database.id']/preWithpreFileDB_settings['database_id']/pre

Return to “Issues”