I want to create a subform where I can select a file from users local machine - give that file a nique name and store original name and unique name in table. In the subform clicking on the unique name should display the file. (files can be document, pdf, html image etc.
Directions on how to start doing this would be greatly appreciated.
Many thanks.
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Upload file
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 448 times
- Contact:
-
- Posts: 114
- Joined: Sun Sep 29, 2019 12:40 pm
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 448 times
- Contact:
-
- Posts: 114
- Joined: Sun Sep 29, 2019 12:40 pm
Re: Upload file
Kevin
The project was postponed due to covid. It has now been re-opened and I have tried your instructions. Nothing happens when I click on upload.
I have checked the the 5 objects and they appear to be as required. I have pressed upload button and nothing happened.
I have not modified any of the pieces of code and had hoped that I would get errors that would let me try to make changes. If there are errors I do not know where to look.
I have no experience of java or php and do have experience of SQL.
Any advice?
Glen
The project was postponed due to covid. It has now been re-opened and I have tried your instructions. Nothing happens when I click on upload.
I have checked the the 5 objects and they appear to be as required. I have pressed upload button and nothing happened.
I have not modified any of the pieces of code and had hoped that I would get errors that would let me try to make changes. If there are errors I do not know where to look.
I have no experience of java or php and do have experience of SQL.
Any advice?
Glen
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 448 times
- Contact:
Re: Upload file
The error could be anywhere - ranging from a missing semicolon to an invalid path. The first things I'd do is take a look at the developer console (F12) for possible error outputs.
Then check the nuBuilder's Debug Result (CTRL+Shift+D) for any PHP errors.
If that doesn't help, you could upload a dump of your database here (zip it first) or here or send it to me via emai and I'll have a look at it.
Remove/replace any confidential data, if there are any.
Export instructions if you're not sure how to do it: https://www.inmotionhosting.com/support ... phpmyadmin
Then check the nuBuilder's Debug Result (CTRL+Shift+D) for any PHP errors.
If that doesn't help, you could upload a dump of your database here (zip it first) or here or send it to me via emai and I'll have a look at it.
Remove/replace any confidential data, if there are any.
Export instructions if you're not sure how to do it: https://www.inmotionhosting.com/support ... phpmyadmin
-
- Posts: 114
- Joined: Sun Sep 29, 2019 12:40 pm
Re: Upload file
Kevin
I don't have yours
Can you drop me a quick email and I will return the database.
Glen
I don't have yours
Can you drop me a quick email and I will return the database.
Glen
Last edited by GlenMcCabe on Mon Aug 24, 2020 10:26 pm, edited 1 time in total.
-
- Posts: 114
- Joined: Sun Sep 29, 2019 12:40 pm