I had to turn off errors but in my apache and in drupal I have a ton of errors when I go to each page that spit out something like this..
[Sun Sep 18 18:39:53 2011] [error] [client 127.0.0.1] PHP Warning: include_once(sites/all/modules/content_profile/content_profile.pageroute.inc): failed to open stream: No such file or directory in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 669
[Sun Sep 18 18:39:53 2011] [error] [client 127.0.0.1] PHP Warning: include_once(): Failed opening 'sites/all/modules/content_profile/content_profile.pageroute.inc' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 669
[Sun Sep 18 18:39:53 2011] [error] [client 127.0.0.1] PHP Warning: include_once(sites/all/modules/content_profile/content_profile.pageroute.inc): failed to open stream: No such file or directory in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 669
[Sun Sep 18 18:39:53 2011] [error] [client 127.0.0.1] PHP Warning: include_once(): Failed opening 'sites/all/modules/content_profile/content_profile.pageroute.inc' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 669
[Sun Sep 18 18:39:53 2011] [error] [client 127.0.0.1] PHP Warning: include_once(sites/all/modules/pageroute/pageroute.page_view.inc): failed to open stream: No such file or directory in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 669
[Sun Sep 18 18:39:53 2011] [error] [client 127.0.0.1] PHP Warning: include_once(): Failed opening 'sites/all/modules/pageroute/pageroute.page_view.inc' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 669
[Sun Sep 18 18:39:53 2011] [error] [client 127.0.0.1] PHP Warning: include_once(sites/all/modules/pageroute/pageroute.page_add.inc): failed to open stream: No such file or directory in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 669
[Sun Sep 18 18:39:53 2011] [error] [client 127.0.0.1] PHP Warning: include_once(): Failed opening 'sites/all/modules/pageroute/pageroute.page_add.inc' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 669
[Sun Sep 18 18:39:53 2011] [error] [client 127.0.0.1] PHP Warning: include_once(sites/all/modules/pageroute/pageroute.page_edit.inc): failed to open stream: No such file or directory in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 669
[Sun Sep 18 18:39:53 2011] [error] [client 127.0.0.1] PHP Warning: include_once(): Failed opening 'sites/all/modules/pageroute/pageroute.page_edit.inc' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 669
[Sun Sep 18 18:39:53 2011] [error] [client 127.0.0.1] PHP Warning: include_once(sites/all/modules/pageroute/pageroute.page_useredit.inc): failed to open stream: No such file or directory in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 669
[Sun Sep 18 18:39:53 2011] [error] [client 127.0.0.1] PHP Warning: include_once(): Failed opening 'sites/all/modules/pageroute/pageroute.page_useredit.inc' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 669
[Sun Sep 18 18:39:53 2011] [error] [client 127.0.0.1] PHP Notice: Undefined index: in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 678
<code>
line of code
<code>
include_once($module_path .'/'. $file .'.inc');
part of function include
function pageroute_include_page_file($module, $module_path = NULL, $file) {
if ($module_path) {
include_once($module_path .'/'. $file .'.inc');
}
else {
module_load_include('inc', $module, $file);
}
}
and
this is from when I hit my home page (front page in drupal)
Sun Sep 18 18:42:08 2011] [error] [client 192.168.1.4] PHP Notice: Undefined index: in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 678
[Sun Sep 18 18:42:08 2011] [error] [client 192.168.1.4] PHP Notice: Undefined index: in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 678
[Sun Sep 18 18:42:08 2011] [error] [client 192.168.1.4] PHP Notice: Undefined index: in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 678
[Sun Sep 18 18:42:08 2011] [error] [client 192.168.1.4] PHP Notice: Undefined index: in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 678
[Sun Sep 18 18:42:08 2011] [error] [client 192.168.1.4] PHP Notice: Undefined index: in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 678
[Sun Sep 18 18:42:08 2011] [error] [client 192.168.1.4] PHP Notice: Undefined index: in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 678
[Sun Sep 18 18:42:08 2011] [error] [client 192.168.1.4] PHP Notice: Undefined index: in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 678
[Sun Sep 18 18:42:08 2011] [error] [client 192.168.1.4] PHP Notice: Undefined index: in /var/www/phdev/sites/all/modules/pageroute/pageroute.module on line 678
the line of code is
$file = $types[$module][$type]['file'];
which is a part of this function
function pageroute_include_page_type($module, $type) {
$types = pageroute_get_types();
$file = $types[$module][$type]['file'];
module_load_include('inc', $module, $file);
}im no php expert but it seems that over and over its trying to include something thats failing..
any thoughts or something I can try to help debug?