to troubleshoot, disable the redirect and write the update SQL to the page by editing line 157:
header("Location: ".$WA_redirectURL);
to:
//header("Location: ".$WA_redirectURL);
and adding the following code in the page body:
<?php if (isset($_POST["Update"]) || isset($_POST["Update_x"])) { ?>
<?php echo("SQL: ". $WA_Sql); ?><br />
<?php echo WA_DFP_AllUploadsDebug(); ?>
<?php } ?>
post back the SQL and debug info that this writes to the screen.