Skip to:
Content
Pages
Categories
Search
Top
Bottom

Avatar Upload Problem

  • I using WP and I installed BuddyPress on my site. When I tried to upload my avatar, it wouldn’t show the image or crop tool. So I used a suggestion from a member of this site…

    Quote Below:

    ”Ok, this worked for me (I hope it fixes evrybody else):

    Go to Settings -> Miscellaneous Settings
    Set “Store uploads in this folder” to “wp-content/uploads”.
    Set “Full URL path to files” to the REAL FULL PATH of your uploads.

    Then change bp-core-avatars.php line 389:

    Replace:
    if ( !$path = get_option( ‘upload_path’ ) )
    $path = WP_CONTENT_DIR . ‘/uploads’;

    With:
    if ( !$path = get_option( ‘upload_path’ ) )
    $path = WP_CONTENT_DIR . ‘/uploads’;
    else $path = ABSPATH . $path;

    It fixes the problem.

    Source: http://buddypress.org/forums/topic/avatar-upload-issues/page/2”

    After trying that solution and I’m now getting an error message…

    ”Warning: Division by zero in /home/loomz/public_html/klub/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 390”

    Any reason you think this is error is coming up? Can anyone offer any assistance as I’m going to have a meeting with a potential investor soon and I need to show him the prototype of my website.

You must be logged in to reply to this topic.