Closed (fixed)
Project:
Scheduler
Version:
6.x-1.7
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
26 Oct 2010 at 06:32 UTC
Updated:
9 Dec 2010 at 21:30 UTC
Jump to comment: Most recent file
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:
Here to help.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 952856.patch | 391 bytes | betz |
Comments
Comment #1
eric-alexander schaefer commentedThere 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.
Comment #2
eric-alexander schaefer commentedAny new insights?
Comment #3
eric-alexander schaefer commentedComment #4
betz commentedWe are experiencing the same issue.
At admin/content/node/scheduler we get the error, no error at admin/build/menu, unlike magnus.ramon.
Comment #5
betz commentedOK, 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 :)
Comment #6
betz commentedand a patch
Comment #7
eric-alexander schaefer commentedThanks for working this out!
Is there any documentation about this behavior (inheriting the parameter)?
Comment #8
betz commentedLooks like it's a bug http://drupal.org/node/812636
Comment #9
eric-alexander schaefer commentedOh 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!
Comment #10
eric-alexander schaefer commentedhttp://drupal.org/cvs?commit=455782