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



Form Tools
Everything showing up, except uploads - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: Installation (https://forums.formtools.org/forumdisplay.php?fid=4)
+--- Thread: Everything showing up, except uploads (/showthread.php?tid=1107)



Everything showing up, except uploads - stargatesam - Feb 19th, 2011

All my fields are showing up in Step 4, except my uploads.

In my first page:
Code:
<?php
require_once("forms/global/api/api.php");
$fields = ft_api_init_form_page(4, "initialize");
$params = array(
  "submit_button" => "submit",
  "next_page" => "employment2.php",
  "form_data" => $_POST,
  "file_data" => $_FILES
    );
ft_api_process_form($params);
?>

On the page with the uploads:
Code:
<form action="<?php echo $_SERVER["PHP_SELF"]?>" method="post" enctype="multipart/form-data">

and

Code:
<label for="PictureOne">Picture 1:</label>
<input type="file" name="PictureOne" id="PictureOne" />

<label for="PictureTwo">Picture 2:</label>
<input type="file" name="PictureTwo" id="PictureTwo" />

<label for="PictureThree">Picture 3:</label>
<input type="file" name="PictureThree" id="PictureThree" />

I put this code in the header on all the other pages, too, is that the right thing to do? Is it necessary to carry it over?
Code:
"file_data" => $_FILES

This is my second attempt with this form. The strange thing is that it worked the first time. So I don't know what I changed to make it stop working. Sad I'm uploading the same pictures during the Test Submission step as I did before when it worked.



RE: Everything showing up, except uploads - stargatesam - Feb 25th, 2011

Admin,

Can I get some support? I would be willing to donate to your project if I could get this working like it should. Please help. This form cannot proceed without the image uploading. Sad

Thank you!