The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
File Upload - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: File Upload (/showthread.php?tid=772)



File Upload - zac - Jul 6th, 2010

I created a form and I am using a file upload feature. However, the file upload feature is not getting submitted to my form. Is there something I need create/direct to obtain the file upload image? All of the other information is being retained and submitted correctly.

Any help is very much appreciated.
Thanks


RE: File Upload - michael.ka - Jul 8th, 2010

It might be that you have selected the wrong field type for the respective fields during the setup process. Here is how you can check and change that:
  1. Go to “Edit Form”
  2. Click the “Fields” tab
  3. Look for your file upload field on the list
  4. Check the “Field Type” column, “File” should be selected in the dropdown
  5. Change if not
Your upload folder might also not have the right permissions or you might try to upload files which are too large or the wrong file format. You will have to check your “File” settings:
  1. Go to “Settings”
  2. Go to the “Files” tab
  3. Click “Test Folder Permissions”
  4. If you get an error message you will have to change folder permissions
  5. Check the file size limit and whether you can actually upload the types of files you tried to upload (otherwise the upload will just quietly fail)



RE: File Upload - zac - Jul 8th, 2010

Thanks a lot for the information. It worked beautifully!


RE: File Upload - Ben - Jul 10th, 2010

Nice! Thanks Michael. Smile

- Ben


RE: File Upload - RJGonzalez - Aug 4th, 2011

(Jul 8th, 2010, 12:19 AM)michael.ka Wrote: It might be that you have selected the wrong field type for the respective fields during the setup process. Here is how you can check and change that:
  1. Go to “Edit Form”
  2. Click the “Fields” tab
  3. Look for your file upload field on the list
  4. Check the “Field Type” column, “File” should be selected in the dropdown
  5. Change if not
Your upload folder might also not have the right permissions or you might try to upload files which are too large or the wrong file format. You will have to check your “File” settings:
  1. Go to “Settings”
  2. Go to the “Files” tab
  3. Click “Test Folder Permissions”
  4. If you get an error message you will have to change folder permissions
  5. Check the file size limit and whether you can actually upload the types of files you tried to upload (otherwise the upload will just quietly fail)

How could i raise the file upload size to 3gigs


RE: File Upload - Ben - Aug 5th, 2011

HI RJGonzalez,

For file uploads of that size, you'll need to edit the php.ini setting for the server. But honestly, I've never heard of anyone setting it that large. Users would be waiting for hours to upload a 3 gig file, so it's not terribly realistic.

Still, check out php.net about the php.ini settings.

Good luck!

- Ben



RE: File Upload - RJGonzalez - Aug 5th, 2011

(Aug 5th, 2011, 6:49 PM)Ben Wrote: HI RJGonzalez,

For file uploads of that size, you'll need to edit the php.ini setting for the server. But honestly, I've never heard of anyone setting it that large. Users would be waiting for hours to upload a 3 gig file, so it's not terribly realistic.

Still, check out php.net about the php.ini settings.

Good luck!

- Ben

So it does not has to be set up on the script files just the php.ini. thank you


RE: File Upload [SOLVED] - robidigital - Aug 10th, 2011

I'm experiencing a strange issue similar in nature, only permissions/file-type/file-size don't seem to be the cause.

If I view a submission as an administrator or client I can choose a file, update and the file uploads to the server without any problem.

If I submit a file front the front-end form the file does not upload, but viewing the submission on the back-end shows the filename. The filename links to where the file should be but isn't and I get a file not found error.

I've even tried setting permissions to 777 on upload dir.

I'm using v2.0.0.

Any ideas?

Thanks!
Ryan
Turns out that I needed

Code:
enctype="multipart/form-data"
in my <form> tag


RE: File Upload - Ben - Aug 11th, 2011

Ah! Thanks for posting the fix - glad you got it sorted out. Smile

- Ben