Files "corrupted" when streamed to file via HTTP API
|Reported by:||samthorne||Owned by:|
The plugin updater reports plugins that are in need of an update and will initiate the automatic update of plugins from behind our proxy server (in other words, the connection through the proxy server is working for most of Wordpress).
During auto update however it fails with
An error occurred while updating Postie: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature.
debug.log in wp-content contains
[13-Dec-2012 11:41:18 UTC] PHP Notice: has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /Users/sam/Dropbox/Work/wordpress/wp-includes/functions.php on line 2908
If I then perform the same update on a different network connection (which does not need to pass through the proxy server) the update installs correctly with no problems.
In this instance I have tested with Postie, but the same applies to other plugins.
Proxy supports HTTP(S), but not FTP.
Server is running Mac OS X 10.7.5, Apache 2.2.22, PHP 5.3.15
Change History (20)
- Component changed from Upgrade/Install to HTTP
- Milestone changed from Awaiting Review to Future Release
- Summary changed from Plugin Updater fails behind HTTP Proxy to Files "corrupted" when streamed to file via HTTP API
- Version changed from 3.5 to 3.2
comment:15 jondaley — 13 months ago
- Cc jondaley added
- Resolution set to fixed
- Status changed from new to closed