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

File Upload

Thread began 6/02/2015 12:46 am by wyncole | Last modified 6/24/2015 12:30 pm by Ray Borduin | 1331 views | 9 replies |

wyncole

File Upload

Have attempted to follow "Apply file upload and download" tutorial but keep getting the following error message.
Notice: Undefined index: fileField in /Applications/XAMPP/xamppfiles/htdocs/File Upload/webassist/file_manipulation/helperphp.php on line 72

Notice: Undefined index: upload in /Applications/XAMPP/xamppfiles/htdocs/File Upload/webassist/file_manipulation/helperphp.php on line 72

Notice: Undefined index: upload in /Applications/XAMPP/xamppfiles/htdocs/File Upload/webassist/file_manipulation/helperphp.php on line 72

As you can see I get it three times. Please advise.

Sign in to reply to this post

Ray BorduinWebAssist

Please attach a copy of your file upload form page and I'll take a look.

Sign in to reply to this post

wyncole

Upload File

This was done on a Mac.

Thanks Ray,

Attached Files
Untitled-1.php
Sign in to reply to this post

Ray BorduinWebAssist

This is because your submit button is in a separate form than your file upload field. They have to be both contained in the same <form> tag.

Sign in to reply to this post

wyncole

Ray,

That doesn't seem to work either. I went through the process again using only one form tag and I get the same results with the exception that I only get the error message once. I'll attach the new file (same name) again.

Thanks,
Wyn

Attached Files
Untitled-2.php
Sign in to reply to this post

Ray BorduinWebAssist

Your file field setting in the Server Behavior is set to "upload", but the actual field name is "fileField"... you need to edit the server behavior and choose the correct name from the list to match the file upload field name.

Sign in to reply to this post

wyncole

Got it,

Thanks,
Wyn

Sign in to reply to this post

wyncole

Ray,

I know we went through this before and I was able to get it to work. I created a new file and attempted to recreate the page but now it does not work.

I don't see where I made a mistake. Can you take a quick look and see what I missed?

Thanks,

Attached Files
imageUpload.php
Sign in to reply to this post

Ray BorduinWebAssist

Add method="post" to your form.

Sign in to reply to this post

wyncole

Thanks Ray,

I had used your plugins to create the page. After getting your reply I deleted the cache file and the plugins worked as they normally would. It seems the cache file causes a lot of errors. I'll try to think of the cache file before I contact you again about anomalies like this.

Thanks,

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