Hi,
When I submit file as following it works well
function formButtonSubmit() {
document.getElementById("upgrade").submit();
}
<form id="upgrade" action="upload.cgi" method="post" enctype="multipart/form-data">
<input type="file" name="file" id="file" style="width: 400px;"/>
<br />
<input type="button" onclick="formButtonSubmit()" value="Upload" />
</form>
But if I use Valums AjaxUploader as following I get "Error while forking cgi process"
<div id="file-uploader-demo1">
</div>
<script>
function createUploader(){
var uploader = new qq.FileUploader({
element: document.getElementById('file-uploader-demo1'),
action: 'upload.cgi',
debug: true
});
}
window.onload = createUploader;
</script>
Hiawatha version: 7.4.1
Operating System: Debian-Linux (kernel: 2.6.32)