Skip to:
Content
Pages
Categories
Search
Top
Bottom

Error with avatars

  • @sharq219

    Member

    Hi all.

    I recently followed these steps (http://wpmututorials.com/news/new-features/multiple-buddypress-social-networks/) to use multiple distinct buddypress networks. It essentially installs buddypress on individual wordpress subnetworks that were created using WP Multi Network plugin.

    This all works fine but for one problem (that seems to be purely aesthetic but rather disruptive on the page). On the dashboard for the wordpress subnetwork with buddypress activated, and on the actual pages themselves, I get the following error:

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/avatars/1) is not within the allowed path(s): (/f5/mysite/:/nfsn/apps/php53/lib/php/:/nfsn/apps/php5/lib/php/:/nfsn/apps/php/lib/php/) in /f5/mysite/public/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 195

    So again, this is displayed on the dashboard and on the pages (anywhere where there is an avatar).

    I also just added some groups, and I get the same error when a page displays the avatar for the group, with the exception that the file “not allowed within the allowed path” is File(/group-avatars/1).

    I can’t for the life of me figure out how to make this go away. The user avatars load fine, so I don’t know why there is an error anyway. I deactivated an uninstalled buddypress and re-installed/activated it again, but the problem persists.

    Any help would be greatly appreciated. Thanks very much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @djpaul

    Keymaster

    Your host has a PHP setting known as “open_basedir” in effect. Ask them to turn it off, and show them that error message.

    @sharq219

    Member

    Thanks for the reply. Do you know by any chance which parent directory /avatars/1 and /group-avatars/1 is created in? This would also help me when working with my host. Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error with avatars’ is closed to new replies.
Skip to toolbar