Closed (works as designed)
Project:
Feeds
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2012 at 18:28 UTC
Updated:
19 Apr 2013 at 06:35 UTC
Hi,
Debbuging httpd process with strace I found the following open error:
16:55:12.541301 open("<my drupal root path>/feeds_import.features.inc", O_RDONLY) = -1 ENOENT (No such file or directory)
16:55:12.542081 open("/usr/share/pear/feeds_import.features.inc", O_RDONLY) = -1 ENOENT (No such file or directory)
16:55:12.542673 open("/usr/share/php/feeds_import.features.inc", O_RDONLY) = -1 ENOENT (No such file or directory)
I have fixed the errror replacing the only line in feeds_import.module by:
include_once drupal_get_path('module','feeds') . '/feeds_import/feeds_import.features.inc';
A similar issue occurs with feeds_tamper. The fix this time is replacing in feeds_tamper.module line 11 by
include_once drupal_get_path('module','feeds_tamper') . '/feeds_tamper.inc';
Cheers
Andres
Comments
Comment #1
twistor commentedIs this really an issue? If this was really broken, both modules would fail spectacularly. I'm guessing this is an issue with strace.
Comment #2
twistor commentedWe can't use drupal_get_path() in bare module code like that.