Closed (fixed)
Project:
Mapping kit
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Sep 2008 at 16:06 UTC
Updated:
4 Dec 2009 at 19:22 UTC
hi,
I get the following error when i try to activate the mapping kit module: Fatal error: Call to a member function debug() on a non-object in /drupal/modules/mappingkit/mappingkit.module on line 154
I'm using drupal 6.4.
Comments
Comment #1
jpulles commentedThe error is because a global variable $logger is not valid at that time, why I don't know. Which PHP version are you using?
Comment #2
Clown69 commentedphp 5.2.0
if i remove the comment in front of require_once("logger.inc.php"); in mappingkit.module it seems to work. but all the modules beside of mapping kit general are missing.
Comment #3
jpulles commentedThe comment was there because the require_once was replaced by module_load_include on the following line. Apparently module_load_include (http://api.drupal.org/api/function/module_load_include/6) can't find the file to be included. I don't have much of clue what the problem can be: are the other modules working ok, are the default install folders used (sites/all/modules), are you using php hosting with limited access?
Comment #4
jpulles commented