Hello everyone, everything good?
I’m having a serious problem with my app, which is already live and started recently.
What happens is that when my clients and even I upload some images, after some time (sometimes 24 hours or even less) they “disappear”.
When I open the database it shows the following:
I have already opened several complaints with support but they do not respond to me.
The table you are registering also does not have ANY privacy that could conflict.
Hey @apps8, can you show a screenshot of the workflow where the image reference is saved to the DB?
The file and picture uploaders don’t save anything to the database unless you have auto binding enabled, which it appears you don’t. They simply upload the file to Bubble storage (which uses AWS behind the scenes). You must explicitly save a reference to the DB if you want to access or display that image later.
In short, don’t conflate file storage with database storage. The former holds the contents of uploaded files, while the latter stores a reference (basically the URL) to uploaded files.
Perhaps you realize that already, but I just wanted to cover the bases.
I’m not familiar with that plugin, but I see that you’re explicitly deleting the uploaded file in a couple places in your screenshots. I suggest you carefully examine your logic (perhaps step through it with the debugger) to make sure everything’s working as you intended.