Full error on various pages, including /node/##/revisions/###/view
require_once(/diff.pages.inc) [function.require-once]: failed to open stream: No such file or directory in /includes/menu.inc on line 346.
Also saw a a blank screen on /node/#/revisions/list and some PHP error messages before the Drupal site could be displayed.
Other errors:
Missing argument 1 for diff_node_revision_access() in /sites/www.site.com.au/modules/diff/diff.module on line 109.
call_user_func_array() expects parameter 1 to be a valid callback, function 'diff_diffs_overview' not found or invalid function name in /includes/menu.inc on line 348.
I believe the errors are all related to the first one, not finding diff.pages.inc. Loading the module earlier by setting the weight of the diff module to -50 in the system table fixed the problem.
-50 may be overkill, it was just to test the idea. Is this something which could be done in a diff.install file?
Comments
Comment #1
imclean commentedRelated: #1135394: Fatal error: require_once() [function.require]: Failed opening required '/diff.pages.inc'
Comment #2
a.siebel commentedI trief both, updating to latest dev and setting weight to -50 - But the erros still occurs. :-/
Comment #3
sherakama commentedSubscribe.
Comment #4
realityloop commentedcan you please post steps to reproduce?
Comment #5
marcoBauli commentedumm... same three errors appear here too. Curiously happening after cloning a website where everything was working fine. Changing Diff weight doesn't seem to solve. It's a complex website, so cannot tell how to reproduce, trying to investigate further..
Comment #6
brad.bulger commentedone cause of this that i've run into is the Revisioning module. that was because i had applied the patch from #676010-77: diff_menu() issue - undefined offset in includes/menu.inc on line 576 function _menu_translate(), which alters a menu item that Revisioning also alters:
altering those lines to match the new Diff menu path fixed the require_once() failure.
it all seems a bit dubious to me.
Comment #7
alan d. commentedAnyone still getting this error?
If so, please tell me the exact versions of Diff and Revisioning that you are using.
Comment #8
alan d. commentedClosed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.