PDA

View Full Version : Moderator Data Manager (Issue)


abrecher
10-08-2009, 12:53 PM
Hello,

I'm having some trouble getting the Moderator Data Manager to work. I'm calling it from an outside app, and attempting to add a Moderator to a Forum.

I'm using other Data Managers, such as Forum and User in the same application, without issues.

How is one supposed to use the Moderator Data Manager (ie: datamanager_init('Moderator', $this->vb, ERRTYPE_ARRAY)) when the following function is not defined:

Call to undefined function can_administer() in /home/webapps/releases/20090319200630/includes/class_dm_moderator.php on line 240

Lynne
10-08-2009, 02:29 PM
This is a script you are writing yourself? If the function isn't defined, it's because you haven't included the file with the function in your script. So, include it.