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