close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

helperphp.php error

Thread began 8/25/2014 12:09 pm by randyrie405335 | Last modified 10/16/2014 2:57 pm by Jason Byrnes | 981 views | 13 replies |

randyrie405335

helperphp.php error

I've made a form that is to insert data into a MySQL database as well as upload a file to my server with one click of a submit button but I get an error:

Notice: Undefined index: FileName in /Library/WebServer/Documents/FDRC/webassist/file_manipulation/helperphp.php on line 72

I am attaching my code. Any help is appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

The File Upload code is after the insert behavior code, move the insert behavior code so it is after the file upload.

Sign in to reply to this post

randyrie405335

helperphp.php error

I've rebuilt the page (see new code attached) and still get the same helperphp.php error. The form updates the database except for the field to hold the upload's filename (remains blank) and the file does NOT upload.

What am I doing wrong??

Sign in to reply to this post

Jason ByrnesWebAssist

The File Upload code is after the insert behavior code, move the insert behavior code so it is after the file upload.

Sign in to reply to this post

randyrie405335

Still get the error

Originally Said By: Jason Byrnes
  The File Upload code is after the insert behavior code, move the insert behavior code so it is after the file upload.  


I've re-positioned the code as suggested. Same error.

Attached Files
attached_code3.txt
Sign in to reply to this post

Jason ByrnesWebAssist

edit the form tag using the property inspector, and set the encoding type to mutipart/Form-Data

Sign in to reply to this post

randyrie405335

GOOD EYE!! That was the problem.

Thank you, Jason.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

randyrie405335

Production Server - Same error - Urgent!

I just uploaded all the new admin (limited access) files to our production (public) server and am now getting the same error:

Parse error: syntax error, unexpected '[' in /var/www/html/webassist/file_manipulation/helperphp.php on line 74

All these pages work perfectly on localhost. What could be causing this error on the public server and where do I trouble shoot?

Sign in to reply to this post

Jason ByrnesWebAssist

attached is an updated copy of the webassist/file_manipulation/helperphp.php file to correct the error.

Attached Files
helperphp.php.zip
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...