The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.28 (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.28 (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.28 (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.28 (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.28 (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.28 (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.28 (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.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (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=2963)



File Upload - theallseeingi - Mar 22nd, 2014

Hi All,
I have a form that uploads resumes (doc,docx,pdf). But when I attach the resume, it doesnt show up in the form.
I have installed FT 2.2.6 through cPanel --> Installatron
Under Settings - Files :
Upload Folder Path : This folder has the correct permissions.
Upload Folder URL : The folder and URL appear to correctly match.
But when I go through file manager, I cannot see the uploaded file. Its a .doc file and is enabled under Permitted File Types. Also the file size is less than what is allowed.
Where am I going wrong?
Please let me know if you need more information.
Thanks in advance.
EDIT : "file_data" => $_FILES, is included.
EDIT : When I upload the file using Form Tools, it works fine. So from the website to Form Tools is the problem....
In which case, this is my HTML
<div class="form-group">
<label for="upload" class="col-sm-3 control-label">Upload Resume doc, docx, pdf *</label>
<div class="col-sm-6">
<input type="file" name="upload" id="exampleInputFile" required />
</div>
</div>
And my Field details are
Display Text : Upload
Form Field : upload
Field Type : File
Data Type : String
DB Column: upload
Followed by Default file settings

I must mention that this field was manually added since it wasnt automatically detected during Form Submission.

Oh, Im using a API. Smile




RE: File Upload - theallseeingi - Mar 23rd, 2014

I resolved it.
I had not updated the form tag in the html/php.
<form ... enctype="multipart/form-data">