[wp-trac] Re: [WordPress Trac] #6236: Platform independence issues with the pclzip class

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 16 23:41:50 GMT 2008


#6236: Platform independence issues with the pclzip class
----------------------+-----------------------------------------------------
 Reporter:  westi     |        Owner:  westi   
     Type:  defect    |       Status:  assigned
 Priority:  normal    |    Milestone:  2.5     
Component:  General   |      Version:  2.5     
 Severity:  blocker   |   Resolution:          
 Keywords:  upstream  |  
----------------------+-----------------------------------------------------
Comment (by DD32):

 > Are the built-in zip functions being used, when available? My system is
 PHP 5.2.1 with the ZIP extension installed.

 Not yet, And probably not in this release, but i'd like it to be used if
 available, but not many people have it enabled.

 >And I still think this either needs to use AJAX, or we should put some
 flush() calls at various key points of the upgrade. There needs to be some
 sort of user feedback for slow updates, or users are going to be punching
 the "stop" button in their browsers, thinking that something has stalled.

 If the webserver has an output buffer running, then theres nothing that
 can force it to flush out the page until its fully loaded, I've come
 accross it on Dreamhost, even adding some flushes didnt help.

 However, On other servers without a forced output buffer, then the
 messages are shown as they happen.

 Ajax wouldnt be possible in this situation, It'd simply make the output
 appear in one hit, rather than in small chunks. Someone suggested using
 HTTP Continues to load the page with one message, then in the same script
 execution, load the next "page" (but its the same page just with extra
 messages), But i've not a clue how to do that.

 > 2) I'm still getting zero-byte files during the unzip stage.
 Looking at the debug output you sent me, and its writing files correctly,
 Or at least the test file is, But aparantly not extracting properly for
 some reason.. i'll send back some small changes and see what that gives.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6236#comment:9>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list