close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Trouble with photo upload to database again

Thread began 1/30/2015 3:16 pm by mouse426912 | Last modified 2/02/2015 1:17 pm by Jason Byrnes | 408 views | 5 replies |

mouse426912

Trouble with photo upload to database again

Hi Jason

I know I have had this problem before but I'm back again. I know I'm not understanding something here but I just can't seem to get it.

I am uploading a photo and a thumbnail to the ../Photos/ directory and inserting the file names and a caption into the database. The data connection is working but the upload is not. When I create the insert - neither upload goes to the designated directory, the file name does not appear in the database but the caption does. So the record insert is working but not the upload. I'm attaching the insert and the update file and I know I screwed up on the File Manipulation and the Server Behavior sections. I also suspect that I have not configured this properly for having 2 uploads on one form.

Thanks as always for your help

Sign in to reply to this post

Jason ByrnesWebAssist

There is a code chunk missing on the insert page.

I would go back to the beginning and apply the Upload file server behaviors to the insert page again, the upload code is incomplete.

Sign in to reply to this post

mouse426912

Is this the right tutorial

I am using these instructions for this project - is this the best one? http://www.webassist.com/tutorials/Apply-file-upload-or-download

Thanks
M

Sign in to reply to this post

Jason ByrnesWebAssist

this one is a bit better:
http://www.webassist.com/tutorials/Add-file-fields-to-Data-Bridge-insert-update-pages

Sign in to reply to this post

mouse426912

Thanks - I'll give this a try and let you know.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...