WordPress.org

Ready to get started?Download WordPress

Forums

JW Player for Flash & HTML5 Video
[Plugin: JW Player Plugin for WordPress] Automatic update to 1.20 = failed (36 posts)

  1. thibotus01
    Member
    Posted 4 years ago #

    Hi,

    I got this message when tried to update automatically.

    PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure

    You should review your archive...

    http://wordpress.org/extend/plugins/jw-player-plugin-for-wordpress/

  2. thibotus01
    Member
    Posted 4 years ago #

    And if uploaded manually. I got this error message:

    Warning: opendir(/home/clients/client0/web39/web/wordpress/wp-content/uploads/jw-player-plugin-for-wordpress/configs) [function.opendir]: failed to open dir: No such file or directory in /home/clients/client0/web39/web/wordpress/wp-content/plugins/jw-player-plugin-for-wordpress/framework/LongTailFramework.php on line 158

    wp-content/uploads/jw-player-plugin-for-wordpress/configs is wrong. should be the folder "player" at the end.

    damn I have to downgrade :/

  3. thibotus01
    Member
    Posted 4 years ago #

    there are other problems... It's totally bugged :s hurry up! :s :s

  4. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    @thibotus01,

    We are aware of the issues and are investigating. I'll keep you updated with what I find.

    So when you said you tried to update automatically you are referring to the automatic update of the player or the plugin?

    Thanks.

  5. thibotus01
    Member
    Posted 4 years ago #

    Great! thanks

    It's via the update of the plugin...

  6. thibotus01
    Member
    Posted 4 years ago #

    del this message.

  7. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    Actually, what OS is your server running on?

  8. tachyontv
    Member
    Posted 4 years ago #

    I too am having a massive problem with this plugin upgrade. I too got the same PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure yesterday but since the videos on my blog still worked I ignored it.

    I tried it again today and the upgrade appeared to work fine.

    BUT I can no longer create custom players - all my videos are tiny - there's no reference to the custom players I created in the past and now when I do attempt to create one I get:

    Warning: opendir(/home/neilperryman/whofix.net/wp-content/uploads/jw-player-plugin-for-wordpress/configs) [function.opendir]: failed to open dir: No such file or directory in /home/neilperryman/whofix.net/wp-content/plugins/jw-player-plugin-for-wordpress/framework/LongTailFramework.php on line 158

    Warning: readdir(): supplied argument is not a valid Directory resource in /home/neilperryman/whofix.net/wp-content/plugins/jw-player-plugin-for-wordpress/framework/LongTailFramework.php on line 160

    Warning: closedir(): supplied argument is not a valid Directory resource in /home/neilperryman/whofix.net/wp-content/plugins/jw-player-plugin-for-wordpress/framework/LongTailFramework.php on line 165

    I can't even delete the plugin in an attempt to begin again.

    Any ideas?

    Neil

  9. thibotus01
    Member
    Posted 4 years ago #

    It's on Linux - Debian Lenny.

    I got all the same problem that tachyontv has

  10. tachyontv
    Member
    Posted 4 years ago #

    Is there any way for me to downgrade until this is sorted? I can't seem to delete it from the wordpress panel...

  11. thibotus01
    Member
    Posted 4 years ago #

    nope, you have to delete it from FTP, and restore your backup :)

  12. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    Just to give you guys an update.

    I've checked in an update to the plugin which should be picked up by the WordPress packager and be made available soon. This should hopefully address the permission issues when you perform the plugin upgrade.

    I apologize for the inconvenience this has caused. The number of WordPress configurations in the wild can make it difficult to test to say the least.

    If there are any more problems just let me know.

    Thanks.

  13. tachyontv
    Member
    Posted 4 years ago #

    Hi still having the same problem with the lastest update - first of all it would't work with this error - PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure

    Then, on the third attempt it said it installed.

    However, if I attempt to create a custom player it claims to have saved it but it doesn't appear under the manage players options. The top of my dashboard is also filled with code such as:

    Warning: fopen(/home/neilperryman/whofix.net/wp-content/uploads/jw-player-plugin-for-wordpress/configs/Tachyon TV.xml) [function.fopen]: failed to open stream: No such file or directory in /home/neilperryman/whofix.net/wp-content/plugins/jw-player-plugin-for-wordpress/framework/LongTailFramework.php on line 87

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/neilperryman/whofix.net/wp-content/plugins/jw-player-plugin-for-wordpress/framework/LongTailFramework.php on line 88

    Warning: fclose(): supplied argument is not a valid stream resource in /home/neilperryman/whofix.net/wp-content/plugins/jw-player-plugin-for-wordpress/framework/LongTailFramework.php on line 89

    Warning: opendir(/home/neilperryman/whofix.net/wp-content/uploads/jw-player-plugin-for-wordpress/configs) [function.opendir]: failed to open dir: No such file or directory in /home/neilperryman/whofix.net/wp-content/plugins/jw-player-plugin-for-wordpress/framework/LongTailFramework.php on line 158

    Warning: readdir(): supplied argument is not a valid Directory resource in /home/neilperryman/whofix.net/wp-content/plugins/jw-player-plugin-for-wordpress/framework/LongTailFramework.php on line 160

    Warning: closedir(): supplied argument is not a valid Directory resource in /home/neilperryman/whofix.net/wp-content/plugins/jw-player-plugin-for-wordpress/framework/LongTailFramework.php on line 165

    Warning: opendir(/home/neilperryman/whofix.net/wp-content/uploads/jw-player-plugin-for-wordpress/configs) [function.opendir]: failed to open dir: No such file or directory in /home/neilperryman/whofix.net/wp-content/plugins/jw-player-plugin-for-wordpress/framework/LongTailFramework.php on line 158

    Warning: readdir(): supplied argument is not a valid Directory resource in /home/neilperryman/whofix.net/wp-content/plugins/jw-player-plugin-for-wordpress/framework/LongTailFramework.php on line 160

    Warning: closedir(): supplied argument is not a valid Directory resource in /home/neilperryman/whofix.net/wp-content/plugins/jw-player-plugin-for-wordpress/framework/LongTailFramework.php on line 165

  14. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    Alright, looks like I may need to loosen the permissions even further which makes me a little uncomfortable. Its working correctly on my Ubuntu VM so there must be something different about the permissions available to your WordPress install.

    I'll investigate further this evening and see what I can do.

    If you can poke around your server, you should be able to see if the following directory was created:

    /home/neilperryman/whofix.net/wp-content/uploads/jw-player-plugin-for-wordpress/configs

    As for the unzip error I'm not sure what I can do about that on my end. The archive is being built by WordPress' automated packing system so that is outside of my control. I'm guessing you don't have any issues with updating other plugins automatically?

    Doing a bit of research it seems like it could either be a memory issue or something particular to your WordPress install. What version of WordPress are you running?

    Thanks for bearing with me.

  15. BusterKat
    Member
    Posted 4 years ago #

    1.2.0 to 1.2.2

    same as thibotus01

  16. thibotus01
    Member
    Posted 4 years ago #

    I don't have any problem with updating other plugins. First time I got the "invalid archive structure".
    I'm on 3.0.1
    My server is using SuEXEC, so I don't have to manage permissions.

    EDIT : looks like the last update 1.2.2 works properly on my server... No error.

    EDIT2: but still buggy... If I edit the dimensions (or other any options) of a player, it lose the plugins I checked.

  17. tachyontv
    Member
    Posted 4 years ago #

    I am using the latest version of WordPress on a Dreamhost package - no other problems with other plugins...

  18. tachyontv
    Member
    Posted 4 years ago #

    I had a look on my server and I do not have this:

    /home/neilperryman/whofix.net/wp-content/uploads/jw-player-plugin-for-wordpress/configs

    I only have this:

    /home/neilperryman/whofix.net/wp-content/uploads/jw-player-plugin-for-wordpress/

    There is no config folder, just a player folder which contains the swf files...

    Does that help?

  19. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    @thibotus01,

    Glad it finally installed correctly for you. I will investigate the plugin saving issue today.

    @tachyontv,

    Since you have two of the folders you need, could you try creating a configs folder in the uploads/jw-player-plugin-for-wordpress directory? Make sure both player and configs directories are writable. This should hopefully fix your problem without needing a new patch.

    If anything else comes up just let me know.

  20. tachyontv
    Member
    Posted 4 years ago #

    Thanks - this appears to have worked!

  21. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    @tachyontv,

    Glad to hear it's working for you. Thanks for bearing with me on this.

  22. thibotus01
    Member
    Posted 4 years ago #

    And bis repetita... for the 1.2.3 via the automatic update of the plugin I got : PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure

  23. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    Do you get the same error when uploading the update instead of using the automatic download?

  24. thibotus01
    Member
    Posted 4 years ago #

    I got "The file couldn't be move to wordpress/wp-content/uploads/2010/08"

  25. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    This issue seems very odd to me. The zip you're downloading as part of the update process is built automatically by WordPress. It's not something that I have control over. The only substantial change to the structure of my files is the fact that I switched to the included skins to zip based ones as opposed to swf skins.

    I've been researching this issue since I can't seem to reproduce it on my own WordPress install (either in Windows or Linux). There are other people who have encountered it though.

    It seems unlikely, but could you check your php.ini file and see if mbstring.func_overload = X is commented out? Commenting this out seems to have worked for other people with this issue.

  26. thibotus01
    Member
    Posted 4 years ago #

    It's commented. But I don't know why I should uncomment this just to work out with your plugin. I have no problem with others, so the problem comes only from your .zip
    Try to do not include .zip (skins) in the .zip. Only the files in folders.

  27. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    I agree it is unreasonable to have to change your php.ini to get this plugin to work. However, it was the only lead I had so I figured I would get you to check.

    Removing the .zip skins is not something we want to do as going forward the JW Player will be using .zip skins and we would like to include them as part of the plugin. In addition, the majority of our users do not have an issue with the installation process.

    I will continue to investigate this issue in the meantime.

  28. JW Player
    Member
    Plugin Author

    Posted 3 years ago #

    So after some more investigation:

    It appears that WordPress uses two zip libraries. The first is ZipArchive which is a PHP module and is not necessarily activated on every server. It seems to be able to handle the update correctly.

    If ZipArchive is not activated, which I think is the case with your setup, WordPress uses PCLZIP to unzip the downloaded plugin zip. As far as I can tell it errors because the plugin zip contains .zip skins for the JW Player. I'm trying to contact the author of PCLZIP to see if this is a limitation.

    In the meantime you can check to see if you can activate the ZipArchive, or you can unzip and ftp the plugin up to your site.

    Thanks.

  29. wethead
    Member
    Posted 3 years ago #

    @longtail.

    I was having the issues above and then I had to upgrade manually FTP,

    But now I keep getting a message that says,

    To complete installation of the JW Player Plugin for WordPress, please click install ( BUTTON HERE )

    and then when I try, I get:

    Not able to install JW Player. Please grant write access to the jw-player-plugin-for-wordpress/player directory and visit the upgrade page.

    I have checked all my directories and have them 777,

    What am I missing? can you tell me what I am doing wrong,

    Also - When I try to edit the default player or add another one it won't save the info,

    I am running the latest version of wordpress.

    Thanks so much in advance,

    Joseph

  30. JW Player
    Member
    Plugin Author

    Posted 3 years ago #

    @wethead,

    Just to confirm, which directories did you check? The following directories need to be writable:

    wp-content/uploads/jw-player-plugin-for-wordpress/
    wp-content/uploads/jw-player-plugin-for-wordpress/configs
    wp-content/uploads/jw-player-plugin-for-wordpress/player

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic