I know that there're some requests on integrating classroom.module with og.module. The issue I'm having after testing it is not about integrating it, but it conflicts whenever I enable both module together.

I can't create any Group content-type if Classroom.module is enabled though it doesn't has anything to do with it at all.

Fatal error: Call to undefined function classroom_is_course() in /var/www/html/sites/all/modules/classroom/classroom.module  on line 436

Comments

bryzo’s picture

I don't think this conflict is regarding OG and Classroom; I don't have OG installed and yet I am receiving this error.

Fatal error: Call to undefined function classroom_is_course() in /var/www/modules/classroom/classroom.module on line 436

bryzo’s picture

Well since it has been a while since anyone has responded, I think I'll take a deeper look into this.

I located this function: It is located in classroom.common.inc. Trying to figure how to correct this error now and I'll post a update shortly.

bryzo’s picture

Alrighty: I have no idea if this is the best fix, but right now its working for me.

Open up your classroom.module file and place the following code right under the <?php This code includes the files which hold those functions.

include("classroom.common.inc");
include("classroom.courses.inc");
include("classroom.assignments.inc");
include("classroom.resources.inc");
include("classroom.topics.inc");
include("classroom.responses.inc");

imobachgs’s picture

Assigned: Unassigned » imobachgs

Hi,

I must take a look because I think that those files must be loaded in the hook_init(). I'll check it and I'll tell you something.

Thank you!

bryzo’s picture

I have no clue how this module works...so I just made a quick fix.

alduno’s picture

bryzo - thanks for #3 that worked for me.

rick8900’s picture

thanks bryzo it work for me
include("classroom.common.inc");
include("classroom.courses.inc");
include("classroom.assignments.inc");
include("classroom.resources.inc");
include("classroom.topics.inc");
include("classroom.responses.inc");

sunil_gulati’s picture

Thank you so much! #3 works indeed