Further tests also failed:
test 2: define default var outside the upload function:
$default_file = $row_rstblinventory['InvImage'];
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "../InvtryImages/",
'FileName' => "[FileName]",
'DefaultFileName' => "[default_file]",
'ResizeType' => "2",
'ResizeWidth' => "650",
'ResizeHeight' => "120",
'ResizeFillColor' => "#FFFFFF" );
// WA_UploadResult1_1 End
test 3 : test simple test string
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "../InvtryImages/",
'FileName' => "[FileName]",
'DefaultFileName' => "test",
'ResizeType' => "2",
'ResizeWidth' => "650",
'ResizeHeight' => "120",
'ResizeFillColor' => "#FFFFFF" );
// WA_UploadResult1_1 End
Both these failed so I have to wonder if the DefaultFileName parameter needs some further review in how it is executed in the HelperPHP.php file?
Reference:
PHP Version 5.2.9-2
MySQL 5.1.30