you should not hard code /files in the function og_files_base_path.

Some of us move this to /sites/sitename/files for multisites.

Not sure what to patch since the latest working version at http://drupal.org/node/212572#comment-699916
is full of whitespaces..

so here is the fix:

function og_files_base_path($gid) {
  $drupal_files = file_directory_path();
  return  $drupal_files .'/og_files/'.$gid.'/';
}

thanks for a handy little module.

CommentFileSizeAuthor
#1 og_files-path-fix.patch580 bytesreaneyk
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

reaneyk’s picture

FileSize
580 bytes

I ran into the same problem. Once I applied the code mentioned above and it fixed the issue for me. I've included a patch against 5.x-1.x-dev

DevElCuy’s picture

Status: Active » Reviewed & tested by the community

Works great!

Blessings.