Thanks for such a cool module, perfect timing. But, the /killfile.rdf does not seem to be working. I have the rdf module installed, set access perms for admin to view it, Drupal 6.6 and latest modules all around. PHP5 and Mysql5.

I get this error ...

PHP Fatal error: Call to undefined function rdf_register_namespace() in /home/foo/www/sites/all/modules/killfile/killfile.pages.inc on line 19

Any help is appreciated. Thanks.

Comments

thekevinday’s picture

Status: Active » Needs review
StatusFileSize
new1.6 KB

Normally this is the result of not having the rdf module installed and enabled.

Looking at the code, it seems the rdf-specific menu entry is added even when the rdf module is not installed.
The rdf module is an optional dependency so it needs to be made as an optional dependency.

Here is a patch that will prevent that error from happening when the rdf module is not installed.
If the error goes away with the attached patch, then there is a problem with how your rdf module is installed.

thekevinday’s picture

Status: Needs review » Fixed

Given how old this is and how unlikely the original reporter is going to respond, I am going to close this as fixed (based on the assumption that the patch fixes what it could).

Status: Fixed » Closed (fixed)

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