close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

File Upload / DataAssist

Thread began 11/10/2009 6:39 pm by tn228553 | Last modified 11/17/2009 7:06 pm by Dani Chankhour | 3155 views | 9 replies |

tn228553

File Upload / DataAssist

I followed the documentation of adding file upload to a Data Assist insert record. I believe I have followed the steps but for some reason the record inserts but it does not record the file name in the data field or upload the file. I tried changing the UploadFolder path to a full path instead of the relative path. Attached is the insert page for review.

Thanks in advance for your help.

Attached Files
map_Advertisers_Insert.zip
Sign in to reply to this post

anonymous

Your code looks o.k. I can tell you, though, that if the file is not being uploaded, it will not get the file name into the database so we need to figure out the first part which is why the file is not actually getting uploaded.

My first question whenever I see this problem is have you checked the permissions of the upload folder on the server. If the folder has not had the correct CHMOD command applied, it will not work. Most servers require this to be 0777 but some prefer 0755.

Best regards,

Brian

Sign in to reply to this post

Dani Chankhour

Have you checked the permissions on your upload folder?

Sign in to reply to this post

tn228553

Perms

Yes, it was the perms. Thanks for the help

Sign in to reply to this post

LWag48648773

permissions?

I'm guessing that is my problem too so can someone tell me how/where I check my permissions? I'm sure that's a dumb question and I probably have checked them before but I surely can't think of how to do it now.

Thank you,
Laura

Sign in to reply to this post

Dani Chankhour

You need to check the permission of the folder that you upload your image to. Make sure to set the permission to read/write on that folder. Usually you could tell your hosting provider to change the permission on a folder or if you use an ftp client you can right click the folder and set the permissions there.

Sign in to reply to this post

LWag48648773

permissions?

Just after I wrote, I tried changing the permissions for the folder in Dreamweaver but they didn't seem to stick and it still didn't work. I called GoDaddy and they told me how to change them. But it still didn't work so I went back to my form. I've tried every which way of setting this thing up. Do you have some other documentation you can send me to? It's probably just some little thing I'm missing. Or any common errors you see that might get me straightened out?

Thank you,
Laura

I just read on another post about adding the debug binding so I did that. Here is my page. I think I was further ahead 4 hours ago and now I have this page so messed up. Hopefully you can understand it.
Members_Insert.php

Thank you for you time.

Sign in to reply to this post

Dani Chankhour

It looks like it is a size issue. Try using a very small images (no more than 5k) and see if you get better results.

Sign in to reply to this post

LWag48648773

No - < 3 KB didn't work either. At one point I had files showing up in the folder on the server and now I don't even have that. I probably have several things goofed up now.
thank you

Sign in to reply to this post

Dani Chankhour

Hi, I just ran a quick test on the link you have provided:

Members_Insert.php

and i was able to upload successfully. I have attached the image that is used in the upload.

Please try testing with different size image. If we can determine that the issue is the size of the image, we can change a setting in the php.ini file to fix it.

Sign in to reply to this post
loading

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...