CraigR & Jason,
My update file appear to be working again. Actually, I'm right back to where I started from before I first encounter the problem with the update file "deleting" the image file. Now the problem is that the update will not 'over-write, or replace' the image file when I modify the item features!
When I was going through the wizard steps to configure the setting I selected 'overwrite' existing files instead of 'changing the name' in increments.
But to verify your instructions on what did make the update file start updating again. It was the instruction you gave to me with the 'code example'! Also I did remove the '/' as well. What is confusing me is that the detail, update, insert & result pages all have the same path set in them, and all of them work with the exception of the update page I suppose... After updating changes to an item, the 'detail.php?ItemID=55' page show all the changes except the image file, and I also notice too that in the item feature the previous file name for both the image & thumbnail is still the same-unchanged.
And there is one other thing I noticed about my code that I saw different with some other members code. My code filename looks like this:
'FileName' => "[FileName]",
Is that the way it should be?
Thank you,
Jw
****PROBLEM FIXED*****
CraigR & Jason,
I've corrected the problem I was having with the details described above. So I'm sharing this bit of information with guys. It might help to cut through the chase the next time you all are confrounted with a similiar problem solving effort.
I came upon the fix by chance. First here's the code in my situation:
<!----
1 <?php
2 WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
3 if($_SERVER["REQUEST_METHOD"] == "POST"){
4 WA_DFP_UploadFiles("WA_UploadResult1", "ItemImage2", "0", "", "false", $WA_UploadResult1_Params);
5 }
6 ?>
7 <?php
8 WA_DFP_SetupUploadStatusStruct("WA_UploadResult2");
9 if($_SERVER["REQUEST_METHOD"] == "POST"){
10 WA_DFP_UploadFiles("WA_UploadResult2", "ItemImage2", "0", "", "true", $WA_UploadResult2_Params);
11 }
12 ?>
---->
On line 4 & 10 the Id Name "ItemImage" where the same. On line 4 it was "ItemImage2", and on line 10 it was "ItemImage2". I changed line 4 to "ItemImage" and now my update page work actually as it was designed to. Whether I modify one field, image file, or all the fields. It update without deleting any unmodifited fields as well.
Thanks for the help
Jw
I'll be back I'm sure :-)