[wp-trac] Re: [WordPress Trac] #6236: Platform independence issues
with the pclzip class
WordPress Trac
wp-trac at lists.automattic.com
Sun Mar 16 14:41:39 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 dougal):
I'm currently getting this (in r7331):
Fatal error: Call to a member function exists() on a non-object in [...my
path...]/wp-admin/includes/class-wp-filesystem-ftpsockets.php on line 110
Declaring the $wp_filesystem variable as a global in the find_base_dir()
method seems to fix that error. But:
1) The update seems to be slow as molasses on my system, and
2) I'm still getting zero-byte files during the unzip stage.
Are the built-in zip functions being used, when available? My system is
PHP 5.2.1 with the ZIP extension installed.
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.
--
Ticket URL: <http://trac.wordpress.org/ticket/6236#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list