I get this error after installing mlm module and go to /admin/build/mlm:
"Fatal error: Class 'mlm_drupal' not found in /var/www/sites/all/modules/mlm/modules/mlm_views/includes/mlm_views.inc on line 3"

please help..
thanks

Comments

danhimes’s picture

I am getting the exact same error after installing the mlm module.

martinvandiest’s picture

Same here. Subscribing.

alwin4711’s picture

same here, how we can fix it ??????

abramer’s picture

i get the same error message.
Can the maintainer of the module please help us!!

ptam’s picture

Same error

abhishekgupta92’s picture

Version: 6.x-1.0-alpha3 » 6.x-1.0-alpha4

I am getting the same error in version 6.x-10-alpha4.

tcconway’s picture

Subscribing.

shunting’s picture

Maybe all the include files aren't being included?

mlm.module: module_load_include('subscription.inc', 'mlm', 'include/mlm');

doesn't look like the API example:

// Load node.admin.inc from the node module.
module_load_include('inc', 'node', 'node.admin');

http://api.drupal.org/api/function/module_load_include

I'll try this and see what result I get...

UPDATE I'm not done, so I won't make a patch yet, but for now, the changes I had to make are roughly like this:

grep -rHn SH *

1 mlm.module:13: //SH 2010-05-26 Need mlm class2
2 mlm.module:16: //SH 2010-05-26 Need mlm_drupal class
3 mlm.module:130: // SH 2010-05-26 module_load_include('subscription.inc', 'mlm', 'include/mlm');
4 mlm.module:162: // SH 2010-05-26 module_load_include('subscription.inc', 'mlm', 'include/mlm');
5 mlm.module:290: // SH 2010-05-26 module_load_include('theme.inc', 'mlm', 'theme/mlm');
6 mlm.module:325: // SH 2010-05-26 module_load_include('backends.inc', 'mlm', 'backend/mlm');
7 mlm.module:350: // SH 2010-05-25 module_load_include('backends.inc', 'mlm', 'backend/mlm');

The changes at 1 and 2 look like this (and make the line numbers from 3-7 inexact):

 //SH 2010-05-26 Need mlm class
  module_load_include('inc', 'mlm', 'include/mlm');

 //SH 2010-05-26 Need mlm_drupal class
  module_load_include('inc', 'mlm', 'backend/mlm_drupal');

Then 3-7 are changes to conform module_load_include to the API. There may be more, but at least the module is loading now.

allie micka’s picture

Status: Active » Closed (fixed)

This should be fixed.

Thanks!