/node/1221/revisions/4292/view
generates
Fatal error: require_once() [function.require]: Failed opening required '/diff.pages.inc'

Comments

nardberjean’s picture

  • pressflow-6.20.97
  • Diff 6.x-2.1
    The URL is used at various places into revisioning, like in the block with waiting revisions.
    The fatal error is an error page by itself, no page is generated and users are totally blocked, even administrator have no way to process revisions.
    Revisioning is a simple install, by the book.
    Permissions /admin/user/permissions have been rebuild /admin/content/node-settings/rebuild without effect.
    Browsing other pages of the site, some warning have been observed:
    /node/1221/revisions/view/2792/4292
    Warning: Missing argument 1 for diff_node_revision_access() in diff_node_revision_access() (line 110 of /srv/aegir/platforms/pressflow-6.20.97-6.4-production/sites/all/modules/contrib/diff/diff.module).

    Solutions

  • I have no knowledge of internal working of revisioning and diff, a friend suggested me to report the bug, even if its origin was looking a bit unclear for me.
  • nardberjean’s picture

    Fatal error: require_once() [function.require]: Failed opening required '/diff.pages.inc' (include_path=...) in .../includes/menu.inc on line 346

    Here is the complete error message.

    rdeboer’s picture

    Maybe try the dev version of the Diff module...

    nardberjean’s picture

    Always same thing (I mean with dev version of diff):


    ( ! ) Fatal error: require_once() [function.require]: Failed opening required '/diff.pages.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /srv/aegir/platforms/pressflow-6.20.97-6.4-production/includes/menu.inc on line 346
    Call Stack
    # Time Memory Function Location
    1 0.0000 108080 {main}( ) ../index.php:0
    2 0.2172 17784080 menu_execute_active_handler( ) ../index.php:18

    Page execution time was 225.19 ms. Executed 91 queries in 111.08 milliseconds.

    Memory usage:

    Memory used at: devel_init()=1.94 MB, devel_shutdown()=17.02 MB.

    nardberjean’s picture

    /admin/by-module (disapeared after flush all caches):

    • Warning: Missing argument 1 for diff_node_revision_access() in diff_node_revision_access() (line 109 of /srv/chroot/alimentsdici/alimentsdici.info/modules/diff/diff.module).
    • Warning: require_once(/diff.pages.inc) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in menu_execute_active_handler() (line 346 of /srv/aegir/platforms/pressflow-6.20.97-6.4-production/includes/menu.inc).
    nardberjean’s picture

    OK with dev version of diff, it finally worked, after visiting and submitting the /admin/build/modules page (very probablely). Thanks for your help!

    rdeboer’s picture

    Status: Active » Fixed

    Great! Closing this as it is not a Revisioning issue..

    13rac1’s picture

    Dev of diff fixed it for me also.

    git clone --branch 7.x-2.x http://git.drupal.org/project/diff.git
    
    imclean’s picture

    diff dev alone didn't fix it for me, I needed to manually set the weight of the diff module. #1145130: require_once(/diff.pages.inc) ... No such file or directory in /includes/menu.inc

    rdeboer’s picture

    @imclean, #9
    Thanks for sharing! BTW, the issue you refer to (#1145130: require_once(/diff.pages.inc) ... No such file or directory in /includes/menu.inc) was reported against diff 6.x, whereas this issue has entries w.r.t 6.x as well as 7.x ...

    Just so that we're all clear can you please confirm that your above issue is with 6.x or 7.x?

    imclean’s picture

    Sure thing. I see the version of both this and the other issue as being 6.x because that's what the issues are set to.

    I guess I tend to stick to the version being discussed, then once a solution arises see if it works for other versions. In this case I can't comment on version 7.x as I'm not using it yet.

    a.siebel’s picture

    I trief both, updating to latest dev and setting weight to -50 - But the erros still occurs. :-/

    Status: Fixed » Closed (fixed)

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