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

twistor’s picture

Version: 7.x-2.0-alpha4 » 7.x-2.x-dev
Status: Active » Postponed (maintainer needs more info)

Is this really an issue? If this was really broken, both modules would fail spectacularly. I'm guessing this is an issue with strace.

twistor’s picture

Component: Feeds Import » Code
Status: Postponed (maintainer needs more info) » Closed (works as designed)

We can't use drupal_get_path() in bare module code like that.