WordPress.org

Ready to get started?Download WordPress

Forums

WordPress 2.8 Plugin Update Problem (47 posts)

  1. arzlonga
    Member
    Posted 5 years ago #

    Hi there,

    I've just updated my WordPress 2.7.1 to 2.8 via auto update. It finished updating without problems.

    I also wanted to update one of my plugins which was adjusted to the new 2.8 version. But it gave me this error.

    Warning: unpack() [function.unpack]: Type V: not enough input, need 4, have 0 in /home/***/public_html/***/wp-admin/includes/class-pclzip.php on line 4770

    PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure

    So I tried 2 other plugins which have their new versions but getting the same errors. My auto plugin update was working very well before updating my WordPress version. So anyone knows anything about it?

    PS: I can upload media, I can update WordPress but I can't update my plugins. That's my problem.

  2. arzlonga
    Member
    Posted 5 years ago #

    Btw it gives this error while unpacking, not loading.

  3. arzlonga
    Member
    Posted 5 years ago #

    Any idea?

  4. arzlonga
    Member
    Posted 5 years ago #

    Can anyone help me with this situation plz? I reinstalled wp but all same, I cant update my plugins anyhow.

  5. Uthfull
    Member
    Posted 5 years ago #

    I'm having exactly the same problem with my blog. I can't figure out how to upgrade the plugins as I keep getting this error.

    Downloading update from http://downloads.wordpress.org/plugin/adminimize.zip.
    
    Unpacking the update.
    
    Incompatible archive PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure
  6. Uthfull
    Member
    Posted 5 years ago #

    Alright arzlonga, I think I've found the cure. Do you by any chance have the WP Greet Box plugin running on your blog? If you have the "WP Greet Box" plugin running, disable it and then try to upgrade your plugins. I think it somehow messes up with the system. I'm not 100% certain though.

    UPDATE:
    To test out what I had pointed, I specifically installed WP Greet Box on a WP 2.8 blog that did not have it previously. I then tried to upgrade the plugins. It went and finished the operation smoothly. No problems with WP Greet Box. But what I do know is that the error we get is resolved for me by either disabling all the plugins or the greet box plugin and then upgrading the plugins that I want to.

  7. Electric Studio
    Member
    Posted 5 years ago #

    I get this to, but I don't have the WP Greet Box plug installed... Anyone any ideas?

  8. Uthfull
    Member
    Posted 5 years ago #

    WP Greet Box is not causing the error. I apologize for the confusion due to my previous statement. I tried installing a plugin through the plugin browser and I was returned with this error:

    Downloading install package from http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.3.0.5.zip.
    
    Unpacking the package.
    
    Incompatible archive PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure

    and this is when WP Greet Box is disabled as well. I do not think this is a server issue because another blog is installed on the very same server and gives no such errors.

    Another interesting thing that I've noted is that no errors I returned while trying to upgrade a theme or install a new theme via the theme browser. It only happens with the plugins. And this time, even disabling the plugins has not helped. Any help would be appreciated.

  9. arzlonga
    Member
    Posted 5 years ago #

    Yeah, I don't have that plug-in either. In fact I only have 6 plugins that are the most popular ones in WP list. They didn't give any errors while updating since now. Also I didn't have any problems with installing new plugins too. So it seems like new version comes with a weird bug.

  10. Uthfull
    Member
    Posted 5 years ago #

    Weird bug it is. Like I pointed out after further diagnosis that it is infact not related to any of the plugins. While everything works flawlessly on another blog, this blog gives the error when trying to install plugins and upgrading them. Themes work perfectly while upgrading and installing. 2.7 used to work perfectly. Anyone know how to file an official bug report regarding this?

  11. arzlonga
    Member
    Posted 5 years ago #

    I've found lots of unanswered questions in this forum about this subject. I don't think people will notice this post until they have this error.

  12. Uthfull
    Member
    Posted 5 years ago #

    I'll tweet about this. Lets see if I can draw some attention.

    Another thing I've noticed, if you download the plugin ZIP to your PC and then upload it using the upload plugin feature in the dashboard, it installs correctly without any error whatsoever.

  13. Ryan Boren
    WordPress Dev
    Posted 5 years ago #

  14. demetris
    Member
    Posted 5 years ago #

    arzlonga, I opened a ticket earlier today about this same issue:

    http://core.trac.wordpress.org/ticket/10104

    I think we’ll have to wait for 2.8.1. Until then, we can upgrade our plugins manually if an upgrade can’t wait. :-)

    Edit. Ah! Ryan was faster by 43 seconds. :-D

  15. Ryan Boren
    WordPress Dev
    Posted 5 years ago #

    Try this version of http.php. Download that and install it over wp-includes/http.php. Does that help?

  16. weazley
    Member
    Posted 5 years ago #

    Worked great for me! Thanks, Ryan!

  17. Uthfull
    Member
    Posted 5 years ago #

    Brilliant! Thank you so much Ryan. I overwrote http.php and the plugin installs seem to function correctly now.

    Hope you don't mind if I ask a dumb question. Should I replace http.php on another WP 2.8 blog installation that is not showing the bug just as a precaution or is it really not required?

  18. Ryan Boren
    WordPress Dev
    Posted 5 years ago #

    Uthfull, this is dependent on which http transports are available on a given host. If it's working for you, there is no need to replace.

    Thanks go to demetris, who isolated the problem.

  19. demetris
    Member
    Posted 5 years ago #

    Uthfull, no. If the other installation works, you don’t need to do anything.

    It seems this issue depends on the server setup. So, it only appears on some installations.

    Eh! Ryan was faster by 20 seconds this time. I’m catching up.

  20. Uthfull
    Member
    Posted 5 years ago #

    @Ryan : Both blogs are hosted on the same host and the same server but exhibit opposite behaviour with regard to this bug.

    @demetris : Alright. Even though they're both on the same server, I'll let the other installation be the way it is till it starts going crazy on me(if ever).

    Thank you once again, both of you.

  21. Uthfull
    Member
    Posted 5 years ago #

    I thought I'd let you guys know that the other blog on the same server just started giving me the error. That's cool, since I already have a cure. :). demetris is right to say that it is due to some server setups.

  22. GlitterKill
    Member
    Posted 5 years ago #

    The fix posted worked to correct the issue I was having. Thanks!

  23. mikefulton
    Member
    Posted 5 years ago #

    Since I've installed 2.8, I cannot successfully install plugins through the Dashboard interface at all. Every time I try, I get an "ERROR 500" page from my server.

    I've tried both the original HTTP.PHP file from the full download as well as the changed version that Ryan posted a few days ago. Both versions give the same result.

  24. mikefulton
    Member
    Posted 5 years ago #

    Meh... now I see that I'm getting errors upon attempts to ACTIVATE plugins as well.

  25. michealsavoie
    Member
    Posted 5 years ago #

    I am getting the:

    Incompatible archive PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure

    error after changing the http:php file. It was doing this before as well. Not sure what else to do.
    Running php 5.2.9 libxml2 2.7.3 and wordpress 2.8

  26. signupandmakemoney
    Member
    Posted 5 years ago #

    I was able to fix my wp 2.8 problem by deleting all my old inactive plugins. I don't know why this worked, but it did.

  27. jazyfko
    Member
    Posted 5 years ago #

    thanks all for the help with the link to the http.php. It save me a few of my hair I did not have to pull out... :)

  28. dodo
    Member
    Posted 5 years ago #

    The replacement of http.php fixed my issue. Thanks!

  29. Ginchen
    Member
    Posted 5 years ago #

    I also have the problem, even after downloading the new http.php. :(
    What might be interesting, besides the error message that everybody here receives, I also get the following:

    Warning: unlink(/***/***/***/html/blog/wp-content/upgrade/wp-syntax.0.9.8.zip) [function.unlink]: No such file or directory in /***/***/***/html/blog/wp-admin/includes/class-wp-upgrader.php on line 146

    And I watched my upgrade folder closely while trying to auto-update: WordPress DOES download the zip file, but it seems that it deletes it again before unpacking!

  30. StalkerB
    Member
    Posted 5 years ago #

    In case this helps anybody since 2.8 rolled out my error log created a huge file that took up all the available space for my account and then there wasn't enough room to download and upack the upgrade files.

    So everytime I tried to upgrade I got PCLZIP_ERR_BAD_FORMAT (-10)

    I deleted the error log and it all works fine now.

Topic Closed

This topic has been closed to new replies.

About this Topic