The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
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. 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"> |