Pictures disappear on deployed website

08 Jun '14, 10:49 AM
1,905 Views
No Forum Badges

Hello,

I have some problems with pictures on my website that was just deployed.

Blobs are used in the database tables with as storage type "file".
Now when a user is uploading a picture, the picture disappears after some time and gives an 404 error.

How can I fix that?

Thanks in advance.

 
x 0
Follow
Answer Answer at this question and get points!
Forum Hero - Level 9

Hi,

I suppose that you are working with the Comnunity Cloud Platform. In this case as reported in the FAQ section of this page http://www.webratio.com/portal/content/en/pricing, you can generate and test your application in the Cloud while you are modeling (although your application will remain in the Cloud for no more than two hours).

If you choose "file" as Storage type the path of the uploaded images is stored on database but after the 2 hours the files are automatically deleted.

To solve it you have to set "database" as Storage Type. In this way the files will be stored into the database.

 
x 0
Answer at this question and get points!