If I would not care I would not have replied.
When you think so then further reply from the developer of this component is not wished.

Looking at the ZF example and your code I see one big difference...

The ZF example returns the progress "WHILE" the upload is being done.
And your code uploads the file. After the file has completly been uploaded it tries to get a progress. In my opinion it's logically that in this case 100% is displayed (upload finished = 100% / Done)
But not in yours?

PS: ZendServer is not maintained by the Zend Framework community.

Greetings
Thomas Weidner

----- Original Message ----- From: "kennpetri" <[email protected]>
To: <[email protected]>
Sent: Tuesday, June 15, 2010 11:26 PM
Subject: [fw-general] Re: Progressive upload not working



Tried getting the examples in ZF demos to work.

Results: In ZendServer (on Windows 7), default installation using Apache,
the demos do not run properly. An upload occurs,  but no progress is
reported. The demo Upload.php and ZendForm.php throw an exception at some
point and you get a JavaScript alert.

I thought that perhaps this was a problem with APC. So I then found a
non-thread-safe version of php_uploadprogress.dll (version 1.0.1, available
through the PHP Windows Downloads site). php_uploadprogress installs and
registers as enabled, reporting a proper version number in info().

Running the demos again, the progressbar immediately shows "Done." That is,
there is no reporting of increments, just an immediate finished.

I am using SpeedLimiter to slow down the localhost connection so that I am
absolutely sure the scripts would have time to report progress.

I am (currently) convinced that the problem is with APC and/or
php_uploadprogress in ZendServer on Windows (Win 7, at least). Whatever the case, I'm totally stuck and will probably go with a Flash-assisted solution,
unless someone who cares to be more helpful than Thomas has any ideas.

I recommend that whoever is responsible for the ZF documentation on these
components edit the section that discusses uploadprogress and APC and make
remarks about problems with these components. It may save people many wasted
hours.


--
View this message in context: http://zend-framework-community.634137.n4.nabble.com/Progressive-upload-not-working-tp2252238p2256574.html Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to