Greetings again and thanks for your input.
However, as before, I am still not able to write the name of the file into the DB. I get a "blank" entry.
When I click on the File Manipulation SB Interface - I get the following error message.
"It appears that one of your server-side values is improperly coded. Please click this interface for inconsistencies."
Attached is the second page screen of the wizard.
Here is my code:
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$InsertQuery = new WA_MySQLi_Query($mysqli2);
$InsertQuery->Action = "insert";
$InsertQuery->Table = "agenda_exhibition";
$InsertQuery->bindColumn("address_id", "i", "".((isset($_POST["address_id"]))?$_POST["address_id"]:"") ."", "WA_DEFAULT");
$InsertQuery->bindColumn("exhibition_image", "s", "".$WA_DFP_UploadStatus["WA_UploadResult1"]["serverFileName"] ."", "WA_DEFAULT");
$InsertQuery->bindColumn("exhibition_title", "s", "".((isset($_POST["exhibition_title"]))?$_POST["exhibition_title"]:"") ."", "WA_DEFAULT");
$InsertQuery->bindColumn("exhibition_url", "s", "".((isset($_POST["exhibition_url"]))?$_POST["exhibition_url"]:"") ."", "WA_DEFAULT");
$InsertQuery->bindColumn("exhibition_lead", "s", "".((isset($_POST["exhibition_lead"]))?$_POST["exhibition_lead"]:"") ."", "WA_DEFAULT");
$InsertQuery->bindColumn("exhibition_init", "t", "".((isset($_POST["exhibition_init"]))?$_POST["exhibition_init"]:"") ."", "WA_DEFAULT");
$InsertQuery->bindColumn("exhibition_exp", "t", "".((isset($_POST["exhibition_end"]))?$_POST["exhibition_end"]:"") ."", "WA_DEFAULT");
$InsertQuery->saveInSession("");
$InsertQuery->execute();
$InsertGoTo = "agenda_admin.php";
if (function_exists("rel2abs")) $InsertGoTo = $InsertGoTo?rel2abs($InsertGoTo,dirname(__FILE__)):"";
$InsertQuery->redirect($InsertGoTo);
}
?>
---
<?php
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "../../exhibitions/",
'FileName' => "". session_id() ."",
'DefaultFileName' => "",
'ResizeType' => "2",
'ResizeWidth' => "205",
'ResizeHeight' => "",
'ResizeFillColor' => "#FFFFFF" );
// WA_UploadResult1_1 End
// WA_UploadResult1 Params End
?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if($_SERVER["REQUEST_METHOD"] == "POST"){
WA_DFP_UploadFiles("WA_UploadResult1", "exhibition_image", "2", "[NewFileName]_[Increment]", "true", $WA_UploadResult1_Params);
}
?>
----
Should I open a server ticket to troubleshoot this?
Best regards