Needs review
Project:
i18n_media
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Sep 2011 at 09:49 UTC
Updated:
25 May 2012 at 14:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
serhiyvk commentedThe same with me. The module installed well, but the error happened when I've tried to switch on media translation at admin/config/regional/i18n/media
Drupal 7.9, i18n - 7.x-1.1
So, subscribe
Comment #2
tricasse commentedIssue similar to http://drupal.org/node/930082 (file_directory_path() from the Drupal 6 API replaced by file_stream_wrapper_get_instance_by_scheme(file_default_scheme())->getDirectoryPath() in the Drupal 7 API).
Patch attached, fixing the issue (sorry if the patch format doesn't fit Drupal developer habits, I'm not a Drupal developer, but it should be still quite usable!).