This is appearing on admin/content/node/scheduler:

Fatal error: require_once() [function.require]: Failed opening required 'modules/scheduler/node.admin.inc' (include_path='.:/usr/share/pear') in /home/nrds/public_html/includes/menu.inc on line 346

And this is appearing on admin/build/menu:

warning: require_once(modules/scheduler/node.admin.inc) [function.require-once]: failed to open stream: No such file or directory in /home/public_html/includes/menu.inc on line 346.

Modules I've installed just before noticing that:

  • contact_redirect-6.x-1.0-beta1
  • moderation-6.x-1.4

Here to help.

CommentFileSizeAuthor
#6 952856.patch391 bytesbetz

Comments

eric-alexander schaefer’s picture

There must be something severly screwed up in your configuration. includes/menu.inc believes there must be a file node.admin.inc in modules/scheduler. There has never ever been such a file in scheduler, but there actually is one in modules/node. Scheduler should usually reside in sites/all/modules/scheduler anyway.

Please try to disable the other modules one by one and check if the error disapears each time.

eric-alexander schaefer’s picture

Any new insights?

eric-alexander schaefer’s picture

Status: Active » Closed (works as designed)
betz’s picture

Status: Closed (works as designed) » Active

We are experiencing the same issue.
At admin/content/node/scheduler we get the error, no error at admin/build/menu, unlike magnus.ramon.

betz’s picture

OK, found it. Problem is that menu item 'admin/content/node/scheduler' inherets the file parameter of 'admin/content/node' in node.module.

If you set file to NULL for 'admin/content/node/scheduler', it doesn't :)

betz’s picture

StatusFileSize
new391 bytes

and a patch

eric-alexander schaefer’s picture

Thanks for working this out!

Is there any documentation about this behavior (inheriting the parameter)?

betz’s picture

Looks like it's a bug http://drupal.org/node/812636

eric-alexander schaefer’s picture

Oh wow. Looks like a general problem. I will incorporate your patch as a workaround, because #812636: hook_menu processing should not assume 'file' is inherited seems stalled and will probably not be solved anytime soon.

Thanks a lot!

eric-alexander schaefer’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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