onUploadComplete: never done

Hi.
I’m dowloaded the dhtmlxVault std 1.6 and now I’m trying the component.
It didn’t work fine because done the upload but it don’t evidence me the finish of the transmission.
I find the file on my server but the bar continuing to work and I don’t receive any segnalation.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<script  src="codebase/dhtmlxvault.js"></script>        
    <link rel="stylesheet" type="text/css" href="codebase/dhtmlxvault.css">
</head>
<body>
<div id="vaultDiv"></div> 
<script> 
	vault=new dhtmlXVaultObject(); 
	vault.setImagePath("codebase/imgs/"); 
	vault.setServerHandlers("codebase/handlers/php/UploadHandler.php",
                        "codebase/handlers/php/GetInfoHandler.php",
                        "codebase/handlers/php/GetIdHandler.php");
	vault.setFilesLimit(1); 
	vault.onAddFile = function(fileName) { 
      var ext = this.getFileExtension(fileName); 
      if (ext != "jpg" && ext != "jpeg") { 
         alert("You may upload only image files (jpg, jpeg). Please retry."); 
         return false; 
      } 
      else return true; 
   }; 
	vault.onUploadComplete = function(files) { 
      var s=""; 
      for (var i=0; i<files.length; i++) { 
         var file = files[i]; 
         s += ("id:" + file.id + ",name:" + file.name + ",uploaded:" + file.uploaded + ",error:" + file.error)+"\n"; 
      } 
      alert(s); 
   };
	vault.create("vaultDiv"); 

</script> 
</body>
</html>

May you help me?
Thanks.

Hi,
Is it a small or a large file? Is it just one file in a row? Firstly, try to call “codebase/handlers/php/GetInfoHandler.php” from your browser to see if it works.

Hi Fedor.
The file is small (about 80 kByte) and the upload works fine.
I found the file under the folder that is configured in UploadHandler.php

During the upload, if I execute GetInfoHandler.php, It returnes me a value (first -1 then 100), after the upload the bar countinuosly move and the event onUploadComplete don’t rise.

I will retest it, it’s pretty strange bug. Please try in the mean time to upload a larger file, say 1 megabyte.

I tried with a big file (1.5 Mb) and the result was the same.
The upload it was ok, but the bar continuing work …

Hi Fedor.
Any news for me?

No, we cannot replicate this behavior. Value 100 should stop progress indicator. Do you have a public access to your page for me to review?

I’ve sent you in a PM.
'Ve you received it?

Yes. Your php handlers do not work (no any response). Please check it.

Ok, I’ll check.
What php.ini parameters I must verify for the correct funcionality?

Firstly, try to run some simple php script fromthe same folder. It looks like php is not working.

Ok, Fedor.
I understood our incomprehension.

You didn’t saw the response at your link becouse I don’t show the errors ion the server (is also a production server)…
I’ve modified temporarly the ini settings and now the showing errors.
Now, If try to verify you can see the response.

Very simple.
I wait you, thanks.

you got

Call to undefined function uploadprogress_get_info()

you should install uploadprogress module or use php_simple handlers for better.

Ok, Fedor.
With php_simple handlers it done!
Thanks you very much.
Where I can find the uploadprogress madule anyway?

here pecl.php.net/package/uploadprogress