I get this error when attempting to access the admin/development/coder path.

It seems $file->filepath is now $file->uri, and as such there are no files to include when this foreach loop runs.

CommentFileSizeAuthor
#1 coder-556976.1.patch978 bytesRyan Palmer

Comments

Ryan Palmer’s picture

Status: Active » Needs review
StatusFileSize
new978 bytes

Patch attached.

rct240’s picture

Patch seems to produce a new error:
Fatal error: Call to undefined function drupal_function_exists() in /home/hudson/workspace/Drupal7_Coder/drupal/sites/all/modules/coder/coder_review/coder_review.module on line 63

Ryan Palmer’s picture

Unrelated.

All this patch does is swap this line:

require_once DRUPAL_ROOT . '/' . $file->filepath;

for this line:

require_once DRUPAL_ROOT . '/' . $file->uri;
stella’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

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