WordPress.org

Ready to get started?Download WordPress

Forums

BP My Home
[resolved] Oops, error while unzipping! (3 posts)

  1. rcain
    Member
    Posted 2 years ago #

    Hi,
    Thanks for a great looking plugin.
    However, I am having a problem with install - which is unusual.

    BP V1.5.4 on WP 3.3.1.

    Upload your plugin (and widget zips). Activate. no prob.
    Go into BPMH Manager - click to 'Install widgets' (any of them) - gives message:

    "Oops, error while unzipping!"

    - asks me for ftp pwd - which i supply. It then says 'widget activated. though it still appears in list for activation!

    go to front-end BP 'My Home' of logged in user - it says:

    Admin forgot to activate at least 1 widget, if i were you i would contact him to make him move !

    tried repeating for all/any of widgets - same result - no widgets.

    i'm sure its not meant to work like this.

    can you help?

    thanks.

    http://wordpress.org/extend/plugins/bp-my-home/

  2. rcain
    Member
    Posted 2 years ago #

    some further info regarding this problem:

    1) checking what it had and hadn't done:

    - directories:
    /httpdocs/wp-content/uploads/bpmh-widgets
    /httpdocs/wp-content/uploads/bpmh-widgets

    - created ok, BUT have perms only 766 whereas all other subdirs in upload are set at 777.

    this may or may not be a problem.

    2) tracing though the code:

    file: bp-my-home-admin.php,
    function: bpmh_unzip widget

    - last line - return from call to wp unzip_file is:

    error message = "Incompatible Archive"
    error: code = incompatible_archive
    error data = PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file '/var/www/vhosts/mysite.com/httpdocs/wp-content/plugins/bp-my-home/zip-widgets/'

    so it looks like it has some sort of permissions problems copying across zip files into the directory the plugin has created for itself.

    - maybe related to the way my system is set up, but possibly a bug anyway?

  3. imath
    Member
    Plugin Author

    Posted 2 years ago #

    another solution is to unzip the widgets archive locally then use your ftp account to drop them in /uploads/bpmh-widgets

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags