Forums

Database save error 403

rustyDusty 16 Mar, 2020
I created a form for uploading a video and I need the video saved to DB. When I follow instructions from https://www.youtube.com/watch?v=l4Nd-3FIO6Q

I run into a database error when trying to save database.

What can be done?

Thank you.
healyhatman 16 Mar, 2020
What can be done? Telling us what the error IS would be the best start.
GreyHead 17 Mar, 2020
Hi rustyDusty,

I seriously suggest that you don't save video to a database table. Save it to a folder (for security, preferably above your site root folder) and add the file name (and path?) to the database table.

Bob
healyhatman 17 Mar, 2020
Yes, that too. Databases are not meant for storing stuff like that. They can do it, but just don't.
rustyDusty 18 Mar, 2020
Thanks much for that sound advice. But tell me how do I set an uploaded video to a folder in a Chronoforms form?
GreyHead 19 Mar, 2020
Hi rustyDusty,

I'm not sure I understand your question? You upload a video in the same way as any other file upload and you can set the file name and folder. If you are asking users to upload videos then you may need to check that your server settings allow large uploads.

Bob
rustyDusty 21 Mar, 2020
I'm a little rusty on Chronoforms. Haven't touched it for a few years. I think I am supposed to put in an action which tells the form where to store the upload. Beforehand people would upload a small image and it would come in with the email. I never knew where those images were stored on my server.
GreyHead 25 Mar, 2020
Hi rustyDusty,

You can set the upload path using an Upload Files action in the Submit event of your form. Make sure that is before the Email action if you want to use the links in an email.

Bob
This topic is locked and no more replies can be posted.