[wp-trac] Re: [WordPress Trac] #5586: Auto installer for themes and
plugins
WordPress Trac
wp-trac at lists.automattic.com
Fri Mar 14 14:21:51 GMT 2008
#5586: Auto installer for themes and plugins
------------------------------------+---------------------------------------
Reporter: lawrencejob | Owner: ryan
Type: enhancement | Status: new
Priority: normal | Milestone: 2.5
Component: Administration | Version: 2.3.1
Severity: blocker | Resolution:
Keywords: installer theme plugin |
------------------------------------+---------------------------------------
Comment (by dougal):
I've seen an issue several times when using the plugin updater where I get
zero-byte files.
The update ''appears'' to work fine, I get normal status messages
(Downloading, Unpacking, Removing old version, Installing the latest
version, Plugin upgraded successfully), but when I check the actual plugin
directory, some files are empty (zero bytes). I haven't seen any pattern
to ''which'' files. But obviously, depending on which file it is, that
will tend to make the plugin unusable.
And, if you didn't deactivate the plugin first, this can immediately kill
your site, forcing you to scramble to do an emergency manual plugin
update. That could probably be mediated by automagically
deactivating/reactivating the plugin as part of the update process.
Anybody else seen this? What debug info can I provide to help add some
error handling?
* PHP 5.2.1
* Apache 1.3.x
* WP SVN revision 7266
* FreeBSD
* libzip 0.7.1
* PHP Zip version 1.9.0
On another note, when doing an upgrade, it's a little disconcerting to
have the page go blank for a long time while it's downloading files and
such. Could we add some flush() calls in there so that the browser updates
along the way, and the user can see progress being made?
--
Ticket URL: <http://trac.wordpress.org/ticket/5586#comment:64>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list