Skip to:
Content
Pages
Categories
Search
Top
Bottom

error when activating widget

  • Hi. I get following error when trying to activate any of the default widgets:

    Warning: unlink(/is/htdocs/wp10590222_P53XIL1CT1/www/wp-content/plugins/bp-my-home/zip-widgets/) [function.unlink]: Is a directory in /is/htdocs/wp10590222_P53XIL1CT1/www/wp-content/plugins/bp-my-home/includes/bp-my-home-admin.php on line 83

Viewing 1 replies (of 1 total)
  • Avatar of imath
    imath
    Moderator

    @imath

    Hi,
    Well, really hard to figure out where the trouble is !!
    1/ the unlink function at line 83 is fired when first installing the widgets or upgrading it, so it’s very strange it occurs when clicking on the link activate of the widget…
    2/ the unlink function at line 83 is only fired if the zip archive in `/wp-content/plugins/bp-my-home/zip-widgets/nameofthewidget.zip` has been successfully unzipped into `/wp-content/uploads/bpmh-widgets/nameofthewidget` or `/wp-content/blogs.dir/1/files/bpmh-widgets/nameofthewidget` (if you upgraded to WP 3.+ from wpmu).

    Now, are the widgets dir in `/wp-content/uploads/bpmh-widgets/` or `/wp-content/blogs.dir/1/files/bpmh-widgets/` (if you upgraded to WP 3.+ from wpmu) ?
    If you say “activate”, then they must be, because otherwise the link is named “install” or “upgrade”

    Once you clicked on activate, are the widgets working in front-end ?

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.