Forums | Mahara Community

Support /
Javascript error


anonymous profile picture
Account deleted
Posts: 5

12 March 2009, 12:51

Hey guys,

good news, we might be going to use Mahara for running our community. So far we have been exploing all options and mahara is doing very good compared with other open source options.

Anyways, I run into a javascript error when changing some stuff in the theme. It's in the Packed.js file, and since it's quite a large file... firebug doesn't really like it to much. So I was hoping you guys could offer some help again.

 Firebug reports the following:

"elem is null"
/js/MochiKit/Packed.js
Line 2947

it happends when I view artefact/file/profileicons.php. I think it has something to do with my custom theme because it seems to work with the default skin. Is there something I might have deleted that could cause this?

 Thanks in advanced,

Yannick

anonymous profile picture
Account deleted
Posts: 1643

12 March 2009, 16:43

Hi, if you set $cfg->developermode = true; in your config.php, Mahara will include all of the mochikit files separately rather than the packed one, which should give you a nicer error message.
anonymous profile picture
Account deleted
Posts: 5

13 March 2009, 4:30

Hey, thanks.

Yeah that did it, was able to debug it now. Problem was that I removed the loading box from the theme. Adding it solved the problem.

Cheers

3 results