Hi,

I'm currently using Drupal 4.7. Everything works fine except I tried adding a new module: node_prviacy_byrole as I'm trying to make a wiki like page.

After I enable it I keep getting the following error:

Fatal error: Call to undefined function: form_hidden() in /var/www/modules/node_privacy_byrole.module on line 426

Does anybody have any idea why?

thanks

Comments

gorm_mrog’s picture

Probably because node_privacy_byrole isn't opgraded for 4.7.??
I have also tried to make it work, but have settled for simple_access (and am searching for a hack to make it more like node_access_byrole).
One major difference between 4.6 and 4.7 is the way forms are handled.
- Sorry it doesn't give a solution, but it seems to me that privacy/access control has always been a controversial item for drupallers ;-)
Gorm

amanuel’s picture

Go to this page http://drupal.org/project/Modules

filter the module list on CVS and use the download for NPBR link there.

Good luck.

Amanuel

amanuel’s picture

I posted a patch to resolve a key issue in the CVS version of NPBR 8+ weeks ago still no comment.

I am using it successfully but feedback would be nice.

http://drupal.org/node/50728 is the patch to NPBR I submitted.

hnova’s picture

The CVS patch appears to fix the error. Thanks for your help!