Hello,
I have a problem with your module. If I installed module error shows: Fatal error: Call to undefined function file_directory_path() in /home/bastaj/public_html/kpbintra.cz/sites/all/modules/i18n_media/i18n_media_phptemplate_render_template.inc on line 51
How can I have to resolve this problem?
Thank`s
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1274984.v1.patch | 645 bytes | tricasse |
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!).