Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | og_files-path-fix.patch | 580 bytes | reaneyk |
Comments
Comment #1
reaneyk CreditAttribution: reaneyk commentedI 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
Comment #2
DevElCuy CreditAttribution: DevElCuy commentedWorks great!
Blessings.