While upgrading wordpress from 2.8.1 to 2.8.2 or 2.8.2 to 2.8.3 (or any other versions) i got this error saying:
Upgrade WordPress
Downloading update from https://wordpress.org/wordpress-2.8.2.zip / 2.8.3.zip
Unpacking the update.
Incompatible archive: PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure
Installation Failed
With the release of wordpress 2.8 there is an error while installing some plugins or anything on the wordpress from admin panel. This error was not fixed till wp 2.8.1
The error can be solved by downloading this new http.php file from official WordPress site and over writing it on your current file.
https://core.trac.wordpress.org/export/11450/trunk/wp-includes/http.php
Hope it solves the issue.
Please note, if you have recently upgraded your wordpress and are getting this issue (if you have solved it last time) make sure that you have replaced the http.php file in your wordpress with the above file again.
If you are still facing the pclzip_err_bad_format (invalid archieve structure) error when you upgrade the wordpress, please make the backup of your current wordpress install and do the manual upgrade. You can see the article on manual upgrade in the related articles.
This will solve the issue with upgrade from 2.8.1 wordpress version to 2.8.2 or from 2.8.2 to wordpress version 2.8.3
Is it work? I have same problem
did you try? hopefully it should work if you have 2.x version of WP
I’ve had the same problem upgrading from 2.9.2 to 3.0. Replacing the http.php file does not help.
I believe this can also be caused by a lack of disk space on the server but in my case that’s not a problem as far as I can see.
Manual upgrade seems to be the last resort…
the http.php file was for 2.x versions as the 3.0 one already have the updated code in it.
please let me know if your problem gets solved after manual upgrade.
You can follow instructions here for upgrading your wordpress installation: http://nabtron.com/how-to-upgrade-from-wordpress-2-9-x-to-wp-3-0-manual-automatic-to-latest-version/
if you need assistance in manual upgrade (or other wordpress related stuff) do let me know too!
Actually, I think your instructions on how to upgrade manually could cause problems for people as they don’t mention how to avoid rewriting over the whole wp-content directory. The instructions here spell out what you need to do:
http://codex.wordpress.org/Upgrading_WordPress
it does mention to :
and wp-content of the official download includes updated plugin folder and the updated default theme only which will rewrite the old ones
Great article, i
hope can know much information About it!