In webform.install there are 3 cases of include_once with a relative path and filename. This doesn't always work and should be changed to the more specific notation which includes the preceding current directory, e.g.:

# instaed of
include_once 'includes/webform.install.inc';

# please use 
include_once __DIR__ . '/includes/webform.install.inc';

This is already being done in the scheduled mail sub-module and generally in Drupal core. I'll be submitting a patch in a minute to fix this.

FYI, a sample stack trace where this is going wrong can be found at #3028258: stat failed for phar:///tmp/drd-1.7.0.phar/includes/webform.install.inc which is how I determined this issue.

Comments

jurgenhaas created an issue. See original summary.

jurgenhaas’s picture

Status: Active » Needs review
StatusFileSize
new631 bytes

jrockowitz’s picture

Status: Needs review » Fixed

Make sense. Thanks for the patch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.