to trouble shoot, add the following at line 1:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
Then open the Bindings panel, expand the WA Uploaded Files Global Status and add the debug info binding to the page.
Post back the debug info after trying to upload a file.