Current line: include_once('pageroute_pages.inc');

Results in errors stating the file cannot be opened due to directory error (can't find it basically)

Fix that I am using: include_once(drupal_get_path('module', 'pageroute') .'/pageroute_pages.inc');

Comments

fago’s picture

hm, does include_once(./'pageroute_pages.inc'); work for you?

waffle182’s picture

This worked for me. Replace this:

include_once('pageroute_pages.inc');

with:

//include_once('pageroute_pages.inc');
include_once(drupal_get_path('module', 'pageroute') .'/pageroute_pages.inc');
fago’s picture

Status: Active » Fixed

thanks, fixed in 5.x-dev.

Anonymous’s picture

Status: Fixed » Closed (fixed)