Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: avatars upload but cannot be cropped etc


mesgains
Participant

@mesgains

Hi all,

I had the same problem of cropping and black box. First of all deactivate all your plugin.

then put the in the .htaccess file thoses comment

#uploaded files

#RewriteRule ^(.*/)?files/$ index.php [L]

RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*

#RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

and then in the bp-core-avatars.php file within the mu-plugins/bp-core directory

replace the line

$newdir = path_join( ABSPATH, $path );

$newdir .= ‘/avatars/’ . $user_id . ‘/’;

by

$newdir = $path. ‘/avatars/’ . $user_id . ‘/’;

it ll work.

Then reactive step by step yours plugins you ll see those one who made the conflicts

Have so fun

from Martinique

Skip to toolbar