2

I am unable to edit a page content on my site even with the admin account.I have a page with the profile informations of the committee, I can see that page on the site but when i click the edit button it shows nothing.

I have seen the log and it is showing a error message as:

call_user_func_array() expects parameter 1 to be a valid callback, function 'access_denied_node_form' not found or invalid function name in /var/www/includes/form.inc on line 377.

1 Answer 1

2

We have had this problem before in Drupal 6. It can happen if a content type is deleted, but, for whatever reason, nodes of that type still exist.

In this case, it would suggest that you have (or had) a content type called "access_denied" and this is no longer there.

First, note down the node ID of the node you're trying to edit. Then, find the node ID in the {node} table in the database, and find what node type it is.

Then, look in {node_type} in the database to see if your node type is listed there.

If you're missing a node type, you will need to restore the node type before you can edit that node. For example, if you uninstalled a contrib module that provided a particular content type, and that module didn't uninstall cleanly, you might have this issue, so you'd need to reinstall that module to fix things up.

There isn't any way that I know of to find the base module associated with a particular node type, unless it's obvious (the book module provides a node type of book, or similar), but if you are really stuck, you can always delete the node by visiting /node/123/delete - after all, if the base module is no longer present, the node itself probably isn't very useful to you.

2
  • Node id: 43 and type: access_denied and it is missing in node_type table. but how to identify the module which caused this problem because this was maintained by other guy, i dont know which module he uninstalled. Is there any way to know the module which he had unistalled ??
    – Henry
    May 22, 2012 at 18:18
  • I've expanded the original answer a bit to try to cover this. May 23, 2012 at 8:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.