Hello,
Hello, one of the last steps on a site I am working on was to create node permissions so I installed the node access module, granted the appropriate rights etc. While I was happy to see that it worked in blocking or allowing specified nodes, I cannot edit any content on my site while this module is active. When I click on "Edit" from the node, page, book, story, blog etc it just goes to a white screen. In my admin section I receive this error:
"warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'node_page_edit' was given in /home2/joeycatz/public_html/includes/menu.inc on line 348."
If I turn off the node access module it immediately allows me to edit the nodes. Please help.
Comments
Comment #1
Sole Assassin CreditAttribution: Sole Assassin commentedComment #2
JDonofrio CreditAttribution: JDonofrio commentedSamething here. When I upgrade to 6.x-1.4, I start getting a bunch of these errros:
When I downgrade back to 6.x-1.3 and flush all caches I can once again edit existing nodes.
Comment #3
emptyvoid CreditAttribution: emptyvoid commentedQuite troubling.. the update was tested on three different configurations and it worked just fine.
I have confirmed the problem as I just installed it on a new slice host server and I too am seeing the issues.. I will work on it ASAP
Comment #4
Sole Assassin CreditAttribution: Sole Assassin commentedThank you very much I am quite confused I tried to troubleshoot it to no avail. Thanks for your efforts void.
Comment #5
emptyvoid CreditAttribution: emptyvoid commentedFor now I would recommend using the 6.x-1.3 release until I can track down the conflict.. it appears to affect newer releases of Drupal and is directly related to the "fix" I included for core file paths.. (sigh) this has caused an never ending pain in my back.. :P
List of older releases here: http://drupal.org/node/413602/release
Comment #6
emptyvoid CreditAttribution: emptyvoid commentedYep issue was confirmed, the last release 1.4 was a total bust. When testing I forgot to clear all cache and the changes weren't reflected in my test environment.. Shame on me, I will make sure this doesn't happen again.
Released 1.5, this is more of reversion instead of a new release.
Comment #7
Sole Assassin CreditAttribution: Sole Assassin commentedI have tried both the previous rev that you suggested and 1.5 and I am getting this error after now:
Fatal error: require_once() [function.require]: Failed opening required 'sites/all/modules/node_access/../../../modules/node/node.pages.inc' (include_path='.:/usr/lib/php') in /home2/mysitename/public_html/includes/menu.inc on line 346
Any ideas?
I can't seem to have any luck with this.
Comment #8
emptyvoid CreditAttribution: emptyvoid commentedIs your site in a virtual directory defined in apache or is it setup as a directory under a site.
Virtual Directory
http://example.com/
sub directory
http://example.com/subdirectory/
The method appears to be missing a ../ it should use "../../../../"
Comment #9
Sole Assassin CreditAttribution: Sole Assassin commentedIt's option A is on a virtual server.
Comment #10
emptyvoid CreditAttribution: emptyvoid commentedUpcoming release should fix your issue.